mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
ci: Add "is scheduled pipeline" YAML anchor
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6566>
This commit is contained in:
parent
2b99e15d0a
commit
c3ae82be24
1 changed files with 3 additions and 3 deletions
|
|
@ -37,7 +37,7 @@ stages:
|
|||
# ----------------------------------------------------------
|
||||
.scheduled_pipelines-rules:
|
||||
rules: &ignore_scheduled_pipelines
|
||||
if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
when: never
|
||||
|
||||
.docs-base:
|
||||
|
|
@ -411,7 +411,7 @@ git_archive:
|
|||
extends: .fdo.container-build@alpine
|
||||
stage: container+docs
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
- if: *is-scheduled-pipeline
|
||||
when: always
|
||||
variables:
|
||||
FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
|
||||
|
|
@ -428,7 +428,7 @@ make git archive:
|
|||
stage: git-archive
|
||||
extends: .fdo.suffixed-image@alpine
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
- if: *is-scheduled-pipeline
|
||||
when: on_success
|
||||
# ensure we are running on packet
|
||||
tags:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue