ci: jobs are interruptible by default
All jobs are interruptible, except publish/deployments jobs. Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2286>
This commit is contained in:
parent
ad3a74fd97
commit
2020952cd6
|
@ -51,6 +51,7 @@ variables:
|
||||||
paths: [docs/.venv]
|
paths: [docs/.venv]
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
interruptible: true
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
|
@ -74,7 +75,6 @@ stages:
|
||||||
- publish
|
- publish
|
||||||
|
|
||||||
review_front:
|
review_front:
|
||||||
interruptible: true
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
stage: review
|
stage: review
|
||||||
rules:
|
rules:
|
||||||
|
@ -104,7 +104,6 @@ review_front:
|
||||||
- front-review
|
- front-review
|
||||||
|
|
||||||
review_docs:
|
review_docs:
|
||||||
interruptible: true
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
stage: review
|
stage: review
|
||||||
rules:
|
rules:
|
||||||
|
@ -152,7 +151,6 @@ find_broken_links:
|
||||||
-- . || exit $?
|
-- . || exit $?
|
||||||
|
|
||||||
require_changelog:
|
require_changelog:
|
||||||
interruptible: true
|
|
||||||
stage: lint
|
stage: lint
|
||||||
rules:
|
rules:
|
||||||
# Don't run on merge request that mention NOCHANGELOG or renovate bot commits
|
# Don't run on merge request that mention NOCHANGELOG or renovate bot commits
|
||||||
|
@ -171,7 +169,6 @@ pre-commit:
|
||||||
extends: [.pre-commit]
|
extends: [.pre-commit]
|
||||||
|
|
||||||
lint_api:
|
lint_api:
|
||||||
interruptible: true
|
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
stage: lint
|
stage: lint
|
||||||
|
|
||||||
|
@ -183,7 +180,6 @@ lint_api:
|
||||||
- make lint
|
- make lint
|
||||||
|
|
||||||
lint_front:
|
lint_front:
|
||||||
interruptible: true
|
|
||||||
stage: lint
|
stage: lint
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
- if: $CI_COMMIT_BRANCH =~ /(stable|develop)/
|
||||||
|
@ -199,7 +195,6 @@ lint_front:
|
||||||
- yarn lint:tsc
|
- yarn lint:tsc
|
||||||
|
|
||||||
test_api:
|
test_api:
|
||||||
interruptible: true
|
|
||||||
retry: 1
|
retry: 1
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
|
@ -242,7 +237,6 @@ test_api:
|
||||||
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
coverage: '/TOTAL\s*\d*\s*\d*\s*(\d*%)/'
|
||||||
|
|
||||||
test_front:
|
test_front:
|
||||||
interruptible: true
|
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
rules:
|
||||||
# Disabled for now since no vitest dom emulation is providing
|
# Disabled for now since no vitest dom emulation is providing
|
||||||
|
@ -355,6 +349,7 @@ build_api:
|
||||||
- api
|
- api
|
||||||
|
|
||||||
deploy_docs:
|
deploy_docs:
|
||||||
|
interruptible: false
|
||||||
extends: .ssh-agent
|
extends: .ssh-agent
|
||||||
stage: publish
|
stage: publish
|
||||||
needs:
|
needs:
|
||||||
|
@ -368,6 +363,7 @@ deploy_docs:
|
||||||
- rsync -r -e "ssh -p 2282" $CI_PROJECT_DIR/public/ docs@docs.funkwhale.audio:/htdocs/
|
- rsync -r -e "ssh -p 2282" $CI_PROJECT_DIR/public/ docs@docs.funkwhale.audio:/htdocs/
|
||||||
|
|
||||||
.docker_publish:
|
.docker_publish:
|
||||||
|
interruptible: false
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|
||||||
image: $CI_REGISTRY/funkwhale/ci/docker
|
image: $CI_REGISTRY/funkwhale/ci/docker
|
||||||
|
|
Loading…
Reference in New Issue