Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub CI: Make retrying on runner failure the default (copy #2621) #2629

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .ci/gitlab/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
RUN_CLASHDEV: "no"
RUN_TESTSUITE: "no"
RUN_BUILD_ALL: "no"
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
cache:
key: cabal-store-$CI_JOB_NAME-$CI_JOB_IMAGE
when: always
Expand Down
5 changes: 0 additions & 5 deletions .ci/gitlab/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
CACHE_FALLBACK_KEY: $CI_JOB_NAME-1-6-ghcr.io/clash-lang/clash-ci-$GHC_VERSION:2022-08-22-1-3-non_protected
GIT_SUBMODULE_STRATEGY: recursive
TERM: xterm-color
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
cache:
key: $CI_JOB_NAME-$CI_COMMIT_REF_SLUG-$CI_JOB_IMAGE-1
when: always
Expand Down
2 changes: 0 additions & 2 deletions .ci/gitlab/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ hackage-sdist:
- .ci/publish_sdist.sh clash-lib
- .ci/publish_sdist.sh clash-lib-hedgehog
- .ci/publish_sdist.sh clash-ghc
retry:
max: 2
7 changes: 6 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Make all tasks interruptible by default
default:
# Make all tasks interruptible by default
interruptible: true
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure

include:
- '/.ci/gitlab/common.yml'
Expand Down
Loading