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-03-31 14:25:35 +00:00
|
|
|
# Template to only run if pushes to master or a tag happened and it being triggered by a schedule
|
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-03-31 14:25:35 +00:00
|
|
|
- if: $CI_PIPELINE_SOURCE == "schedule" && ( $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
|
|
|
|
- when: never
|