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
|
|
|
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
|
2020-05-18 17:32:21 +00:00
|
|
|
rules:
|
2021-06-03 08:10:22 +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
|
2021-04-23 15:47:55 +00:00
|
|
|
- when: never
|
|
|
|
|
2021-06-03 08:10:22 +00:00
|
|
|
# Template to only run if pushes to master or a tag happened for scheduled builds
|
2021-04-23 15:47:55 +00:00
|
|
|
.release-nightly-tmp-fix-airshipper:
|
|
|
|
stage: build-nightly
|
|
|
|
rules:
|
|
|
|
- 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]+/)
|
|
|
|
when: always
|
2021-05-20 04:21:53 +00:00
|
|
|
- when: never
|