From 890f79c7f88c9e0ab107c646e1b9439312161cbc Mon Sep 17 00:00:00 2001
From: Timo Koch <timokoch@math.uio.no>
Date: Sun, 5 Sep 2021 07:59:40 +0000
Subject: [PATCH] [ci] Make triggered dumux-lecture branch a variable

This branch can be overwritten, for example, in a scheduled pipeline
---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 02855a45fa..539c4238fc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,6 +5,7 @@ stages:
 
 variables:
   IMAGE_REGISTRY_URL: $CI_REGISTRY/dumux-repositories/dumux-docker-ci
+  DUMUX_CI_TRIGGER_LECTURE_BRANCH: master
 
 # Cases in which to create pipelines at all. The trigger jobs may further
 # specify how exactly they should be created in different situations.
@@ -133,7 +134,7 @@ trigger lecture:
   stage: downstream modules
   trigger:
     project: dumux-repositories/dumux-lecture
-    branch: master
+    branch: $DUMUX_CI_TRIGGER_LECTURE_BRANCH
     strategy: depend
   variables:
     DUMUX_MERGE_REQUEST_SOURCE_BRANCH: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
-- 
GitLab