gitlab-hpc-ci-cb icon indicating copy to clipboard operation
gitlab-hpc-ci-cb copied to clipboard

Better script (system) failure tracking

Open tcojean opened this issue 3 years ago • 0 comments

Gitlab runner has a number of error tracking features,

  • Failures in the user's job script should raise a BUILD_FAILURE_EXIT_CODE, this should already always be the case
  • Failures in the script itself, such as invalid output, connection issues, ... should raise a SYSTEM_FAILURE_EXIT_CODE, see https://docs.gitlab.com/runner/executors/custom.html#system-failure

The second one is currently missing and should be done more properly in the case where something goes wrong in the script itself.

tcojean avatar Nov 02 '21 10:11 tcojean