mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change(ci): take advantage of auto cancel pending pipelines
This commit is contained in:
parent
7e58f80f11
commit
07d7d17182
@ -1,15 +1,19 @@
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
|
||||
stages:
|
||||
- optional-builds
|
||||
- check-compile
|
||||
- build-post
|
||||
- publish
|
||||
|
||||
variables:
|
||||
GIT_STRATEGY: fetch
|
||||
GIT_DEPTH: 3
|
||||
GIT_CLEAN_FLAGS: -f
|
||||
|
||||
stages:
|
||||
- optional-builds
|
||||
- check-compile
|
||||
- build-post
|
||||
- publish
|
||||
default:
|
||||
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
|
||||
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines
|
||||
interruptible: true
|
||||
|
||||
|
||||
before_script:
|
||||
- source $HOME/.cargo/env
|
||||
|
Loading…
Reference in New Issue
Block a user