From 10431c89647418fa3ff755b569a203908821da7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 7 Jan 2021 10:38:26 +0100 Subject: [PATCH] ci: Add *ignore_scheduled_pipelines to mesa/gallium rules templates These are currently not used directly, but maybe this can prevent copy and paste accidents. Part-of: --- .gitlab-ci/test-source-dep.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index 01b571d181e..46d231e8e43 100644 --- a/.gitlab-ci/test-source-dep.yml +++ b/.gitlab-ci/test-source-dep.yml @@ -1,10 +1,18 @@ # This file list source dependencies to avoid creating/running jobs # those outcome cannot be changed by the modifications from a branch. +# Generic rule to not run the job during scheduled pipelines +# ---------------------------------------------------------- +.scheduled_pipelines-rules: + rules: &ignore_scheduled_pipelines + if: '$CI_PIPELINE_SOURCE == "schedule"' + when: never + # Mesa core source file dependencies # ---------------------------------- .mesa-rules: rules: + - *ignore_scheduled_pipelines - changes: &mesa_core_file_list - .gitlab-ci.yml - .gitlab-ci/**/* @@ -29,6 +37,7 @@ # ------------------------------------- .gallium-rules: rules: + - *ignore_scheduled_pipelines - changes: &gallium_core_file_list - src/gallium/* - src/gallium/auxiliary/**/* @@ -39,13 +48,6 @@ - src/gallium/tests/**/* - src/gallium/winsys/* -# Generic rule to not run the job during scheduled pipelines -# ---------------------------------------------------------- -.scheduled_pipelines-rules: - rules: &ignore_scheduled_pipelines - if: '$CI_PIPELINE_SOURCE == "schedule"' - when: never - .softpipe-rules: stage: software-renderer rules: