diff --git a/.gitlab/ci/global.gitlab-ci.yml b/.gitlab/ci/global.gitlab-ci.yml index c11d53f9a4f14b80f386ad80dd857659c94cc95e..42fdd08cd8f8ede21ee63678c05df8079600d928 100644 --- a/.gitlab/ci/global.gitlab-ci.yml +++ b/.gitlab/ci/global.gitlab-ci.yml @@ -8,6 +8,9 @@ - scheduler_failure - stuck_or_timeout_failure - unknown_failure + exit_codes: + - 111 # low free disk space https://gitlab.com/gitlab-org/gitlab/-/issues/498142 + .default-utils-before_script: before_script: diff --git a/scripts/utils.sh b/scripts/utils.sh index f1f0eb29b31dd2ba2bbb2c63e0baaf308ce09ab3..6f69573b26415ac69eb581308e0ca3e1d0f69785 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -510,6 +510,7 @@ function log_disk_usage() { echo "This job requires ${space_threshold_gb}G free disk space, but the runner only has ${available_space}." echo "Exiting now in anticipation of a 'no space left on device' error." echo "If this problem persists, please contact #g_hosted_runners team." + echo "NOTE: This job will be retried automatically." echo "********************************************************************" exit 111 fi