From b1b0eaa1080a66f2d3bf3e36ad9d6e2dfcbac29f Mon Sep 17 00:00:00 2001 From: Denis P Date: Wed, 30 Oct 2019 18:28:55 +0100 Subject: [PATCH 1/2] retry on gitlab system failures --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 68b4336192..f3af1929e7 100644 --- a/.gitlab-ci.yml +++ b/.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: From debf9a2b959ce27852414de8e0c8386c303cabec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 31 Oct 2019 09:25:50 +0100 Subject: [PATCH 2/2] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f3af1929e7..9892edf4ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -64,7 +64,7 @@ test-linux-stable: # but still want to have debug assertions. RUSTFLAGS: -Cdebug-assertions=y script: - - time cargo test --all --release --frozen | + - time cargo test --all --release --locked | tee output.log - sccache -s after_script: