Puts the Remove the image stage in finally block and prevents pipeline's execution status based on mentioned stage's status (i.e. even if it fails, the pipeline's over all status should be Complete).
For seed-job/template.yaml :
Ensures locally built image is removed from system in seed-job/template.yaml
Adds Remove the image stage in the finally block after Notify user stage.
Defines a flag image_is_built, and uses it to define the Remove the image stage.
Don't fail the pipeline if image removal has failed due to some error.
For weekly-scan/template.yaml :
Ensures locally pulled image is removed from system in weekly-scan/template.yaml
Adds Remove the image stage in the finally block after Notify user stage.
Defines a flag image_is_pulled, and uses it to define the Remove the image stage.
Don't fail the pipeline if image removal has failed due to some error.
Puts the
Remove the image
stage in finally block and prevents pipeline's execution status based on mentioned stage's status (i.e. even if it fails, the pipeline's over all status should beComplete
).For seed-job/template.yaml : Ensures locally built image is removed from system in seed-job/template.yaml
Adds
Remove the image
stage in the finally block afterNotify user
stage.Defines a flag image_is_built, and uses it to define the
Remove the image
stage.Don't fail the pipeline if image removal has failed due to some error.
For weekly-scan/template.yaml : Ensures locally pulled image is removed from system in weekly-scan/template.yaml
Adds
Remove the image
stage in the finally block afterNotify user
stage.Defines a flag image_is_pulled, and uses it to define the
Remove the image
stage.Don't fail the pipeline if image removal has failed due to some error.
Fixes #627