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:
|
variables:
|
||||||
GIT_STRATEGY: fetch
|
GIT_STRATEGY: fetch
|
||||||
GIT_DEPTH: 3
|
GIT_DEPTH: 3
|
||||||
GIT_CLEAN_FLAGS: -f
|
GIT_CLEAN_FLAGS: -f
|
||||||
|
|
||||||
stages:
|
default:
|
||||||
- optional-builds
|
image: registry.gitlab.com/veloren/veloren-docker-ci:latest
|
||||||
- check-compile
|
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines
|
||||||
- build-post
|
interruptible: true
|
||||||
- publish
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- source $HOME/.cargo/env
|
- source $HOME/.cargo/env
|
||||||
|
Loading…
Reference in New Issue
Block a user