File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 23
23
curl -X POST -H 'Content-type: application/json' --data '{"text":"<'$user'> Archive operation failure see below "}' $(get_env slack_web_hook_url)
24
24
echo " "
25
25
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 "
27
27
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
28
28
curl -X POST -H 'Content-type: application/json' --data '{"text":"Failing pipeline: '$pipeline_url'"}' $(get_env slack_web_hook_url) </dev/null
29
29
curl -X POST -H 'Content-type: application/json' --data '{"text":"Destination repository: '$ARCHIVE_DESTINATION_REPO'"}' $(get_env slack_web_hook_url) </dev/null
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ deploy:
81
81
done
82
82
83
83
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
85
85
script : |
86
86
#!/usr/bin/env bash
87
87
echo "sign-artifact stage"
@@ -96,7 +96,7 @@ sign-artifact:
96
96
cat rco.pub
97
97
98
98
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
100
100
script : |
101
101
#!/usr/bin/env bash
102
102
echo "acceptance-test stage"
Original file line number Diff line number Diff line change 79
79
curl -X POST -H ' Content-type: application/json' --data ' {"text":"<' $user ' > accceptance test failure see below "}' $( get_env slack_web_hook_url)
80
80
echo " "
81
81
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 "
83
83
curl -X POST -H ' Content-type: application/json' --data ' {"text":"Your acceptance test failed."}' $( get_env slack_web_hook_url) < /dev/null
84
84
curl -X POST -H ' Content-type: application/json' --data ' {"text":"Failing pipeline: ' $pipeline_url ' "}' $( get_env slack_web_hook_url) < /dev/null
85
85
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
You can’t perform that action at this time.
0 commit comments