retry on gitlab system failures

This commit is contained in:
Denis P
2019-10-30 18:28:55 +01:00
parent 87093feee2
commit 60c004bdc8
+7 -1
View File
@@ -36,6 +36,12 @@ variables:
- schedules - schedules
- web - web
- /^[0-9]+$/ # PRs - /^[0-9]+$/ # PRs
retry:
max: 2
when:
- runner_system_failure
- unknown_failure
- api_failure
tags: tags:
- linux-docker - linux-docker
@@ -58,7 +64,7 @@ test-linux-stable:
# but still want to have debug assertions. # but still want to have debug assertions.
RUSTFLAGS: -Cdebug-assertions=y RUSTFLAGS: -Cdebug-assertions=y
script: script:
- time cargo test --all --release --locked | - time cargo test --all --release --frozen |
tee output.log tee output.log
- sccache -s - sccache -s
after_script: after_script: