Skip to content

Commit d3b99c3

Browse files
authored
add env_id and update to new signing image (#569)
Signed-off-by: Leo Christy Jesuraj <[email protected]>
1 parent 99aa2b2 commit d3b99c3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.one-pipeline-archive.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ setup:
2323
curl -X POST -H 'Content-type: application/json' --data '{"text":"<'$user'> Archive operation failure see below "}' $(get_env slack_web_hook_url)
2424
echo " "
2525
done
26-
pipeline_url="https://cloud.ibm.com/devops/pipelines/tekton/${PIPELINE_ID}/runs/${PIPELINE_RUN_ID}"
26+
pipeline_url="https://cloud.ibm.com/devops/pipelines/tekton/${PIPELINE_ID}/runs/${PIPELINE_RUN_ID}?env_id=ibm:yp:us-south"
2727
curl -X POST -H 'Content-type: application/json' --data '{"text":"The archive operation for '$REPO' has failed."}' $(get_env slack_web_hook_url) </dev/null
2828
curl -X POST -H 'Content-type: application/json' --data '{"text":"Failing pipeline: '$pipeline_url'"}' $(get_env slack_web_hook_url) </dev/null
2929
curl -X POST -H 'Content-type: application/json' --data '{"text":"Destination repository: '$ARCHIVE_DESTINATION_REPO'"}' $(get_env slack_web_hook_url) </dev/null

.one-pipeline-cd.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ deploy:
8181
done
8282
8383
sign-artifact:
84-
image: docker-eu-public.artifactory.swg-devops.com/wcp-compliance-automation-team-docker-local/csso-image-sign:6.0.0@sha256:3499f75eb669416536f0d680104e7e9e37147c168459152d716a1fbf9b1af5a2
84+
image: icr.io/continuous-delivery/toolchains/devsecops/csso-image-sign:7.0.0@sha256:e818a62c54f328752a94fd37f73b133e6586d9eb0271afb97ffc6a3faf77fede
8585
script: |
8686
#!/usr/bin/env bash
8787
echo "sign-artifact stage"
@@ -96,7 +96,7 @@ sign-artifact:
9696
cat rco.pub
9797
9898
acceptance-test:
99-
image: docker-eu-public.artifactory.swg-devops.com/wcp-compliance-automation-team-docker-local/csso-image-sign:6.0.0@sha256:3499f75eb669416536f0d680104e7e9e37147c168459152d716a1fbf9b1af5a2
99+
image: icr.io/continuous-delivery/toolchains/devsecops/csso-image-sign:7.0.0@sha256:e818a62c54f328752a94fd37f73b133e6586d9eb0271afb97ffc6a3faf77fede
100100
script: |
101101
#!/usr/bin/env bash
102102
echo "acceptance-test stage"

scripts/pipeline/runTest.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ else
7979
curl -X POST -H 'Content-type: application/json' --data '{"text":"<'$user'> accceptance test failure see below "}' $(get_env slack_web_hook_url)
8080
echo " "
8181
done
82-
pipeline_url="https://cloud.ibm.com/devops/pipelines/tekton/${PIPELINE_ID}/runs/${PIPELINE_RUN_ID}"
82+
pipeline_url="https://cloud.ibm.com/devops/pipelines/tekton/${PIPELINE_ID}/runs/${PIPELINE_RUN_ID}?env_id=ibm:yp:us-south"
8383
curl -X POST -H 'Content-type: application/json' --data '{"text":"Your acceptance test failed."}' $(get_env slack_web_hook_url) </dev/null
8484
curl -X POST -H 'Content-type: application/json' --data '{"text":"Failing pipeline: '$pipeline_url'"}' $(get_env slack_web_hook_url) </dev/null
8585
curl -X POST -H 'Content-type: application/json' --data '{"text":"The cluster will be retained for '$hours' hours. If you need more time to debug ( 72 hours ):"}' $(get_env slack_web_hook_url) </dev/null

0 commit comments

Comments
 (0)