Verbose after script on failure
What:
- adds an
if statement
to run an extra set of commands if the package job fails. - Currently only runs
kubectl get all -A
Why:
- To give package developers some more information about the cluster state when a job fails.
Other Info:
- Had to implement this in a somewhat hacky way since gitlab-ci doesn't support running certains parts of a job
on_failure
oron_success
, an open issue can be found here
Package Pipeline using this specific branch/pipeline: example-failure example-pass
Edited by Ismail Ahmad