2020-06-12 11:09:56 +00:00
|
|
|
# allow_failure: true makes these pipelines manual and "non-blocking" which changed with except -> rule syntax
|
|
|
|
.optional-release:
|
2020-07-17 10:17:34 +00:00
|
|
|
stage: check
|
2020-06-12 11:09:56 +00:00
|
|
|
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
|
2020-06-17 08:41:05 +00:00
|
|
|
- when: manual
|
|
|
|
allow_failure: true
|
2020-06-12 11:09:56 +00:00
|
|
|
|
2021-04-01 07:33:05 +00:00
|
|
|
# Template to only run if pushes to master or a tag happened
|
2020-05-18 17:32:21 +00:00
|
|
|
.release:
|
2020-06-12 11:09:56 +00:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- veloren-docker
|
2020-05-18 17:32:21 +00:00
|
|
|
rules:
|
2021-04-01 07:33:05 +00:00
|
|
|
- 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]+/
|
2020-06-12 11:09:56 +00:00
|
|
|
when: always
|
2021-04-01 07:33:05 +00:00
|
|
|
- when: never
|