mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
ea16fa10ab
This allow us to decouple our test-ci from the release-ci and is necessary for multiple release channels in the future. E.g. we can run a master build without it directly beeing pushed to watchtower and airshipper (config setting requiered on airshipper) Adjust Tags for server-cli
20 lines
718 B
YAML
20 lines
718 B
YAML
# allow_failure: true makes these pipelines manual and "non-blocking" which changed with except -> rule syntax
|
|
.optional-release:
|
|
stage: check
|
|
tags:
|
|
- veloren-docker
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ || $CI_PIPELINE_SOURCE == "schedule"
|
|
when: never
|
|
- when: manual
|
|
allow_failure: true
|
|
|
|
# Template to only run if pushes to master or a tag happened
|
|
.release:
|
|
stage: build
|
|
tags:
|
|
- veloren-docker
|
|
rules:
|
|
- if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/
|
|
when: always
|
|
- when: never |