UNCLASSIFIED - NO CUI

Skip to content

Verbose after script on failure

Ismail Ahmad requested to merge verbose-after-script-on-failure into master

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 or on_success, an open issue can be found here

Package Pipeline using this specific branch/pipeline: example-failure example-pass

Edited by Ismail Ahmad

Merge request reports