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:
|
2021-07-09 09:19:03 +00:00
|
|
|
- if: $CI_PIPELINE_SOURCE != "merge_request_event" || $CI_PIPELINE_SOURCE == "schedule" || $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: never
|
2020-06-17 08:41:05 +00:00
|
|
|
- when: manual
|
|
|
|
allow_failure: true
|
2020-06-12 11:09:56 +00:00
|
|
|
|
2021-07-09 09:19:03 +00:00
|
|
|
# Template to only run if pushes to master, a version tag, or release branch 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-07-08 09:27:44 +00:00
|
|
|
- if: $CI_PIPELINE_SOURCE != "merge_request_event" && $CI_PIPELINE_SOURCE != "schedule" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/)
|
2021-07-22 10:05:30 +00:00
|
|
|
when: on_success
|
2021-04-23 15:47:55 +00:00
|
|
|
- when: never
|
2021-07-30 22:09:54 +00:00
|
|
|
retry:
|
|
|
|
max: 1
|
2021-04-23 15:47:55 +00:00
|
|
|
|
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:
|
2021-07-09 09:19:03 +00:00
|
|
|
- if: $CI_PIPELINE_SOURCE == "schedule" && ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/)
|
2021-07-22 10:05:30 +00:00
|
|
|
when: on_success
|
2021-05-20 04:21:53 +00:00
|
|
|
- when: never
|
2021-07-30 22:09:54 +00:00
|
|
|
retry:
|
|
|
|
max: 1
|