From 60c004bdc82dc1ae910145c4ea85a89d118c2c9b Mon Sep 17 00:00:00 2001 From: Denis P Date: Wed, 30 Oct 2019 18:28:55 +0100 Subject: [PATCH] retry on gitlab system failures --- cumulus/.gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cumulus/.gitlab-ci.yml b/cumulus/.gitlab-ci.yml index 68b4336192..f3af1929e7 100644 --- a/cumulus/.gitlab-ci.yml +++ b/cumulus/.gitlab-ci.yml @@ -36,6 +36,12 @@ variables: - schedules - web - /^[0-9]+$/ # PRs + retry: + max: 2 + when: + - runner_system_failure + - unknown_failure + - api_failure tags: - linux-docker @@ -58,7 +64,7 @@ test-linux-stable: # but still want to have debug assertions. RUSTFLAGS: -Cdebug-assertions=y script: - - time cargo test --all --release --locked | + - time cargo test --all --release --frozen | tee output.log - sccache -s after_script: