osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/33745 )


Change subject: jobs/update-osmo-ci: add branch parameters
......................................................................

jobs/update-osmo-ci: add branch parameters

Add parameters to set the osmo-ci and docker-playground branch. I'm
using this to test the debian 12 based containers before merging the
changes to master.

Related: OS#6057
Change-Id: I62265300048031cbb65e997b921373894500233f
---
M jobs/update-osmo-ci-on-slaves.yml
1 file changed, 27 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/45/33745/1

diff --git a/jobs/update-osmo-ci-on-slaves.yml 
b/jobs/update-osmo-ci-on-slaves.yml
index 8ab1e12..2d3cf07 100644
--- a/jobs/update-osmo-ci-on-slaves.yml
+++ b/jobs/update-osmo-ci-on-slaves.yml
@@ -19,6 +19,18 @@
       - build-discarder:
           days-to-keep: 30
           num-to-keep: 120
+    parameters:
+      - string:
+          name: OSMO_BRANCH_CI
+          description: |
+                osmo-ci.git branch
+          default: 'master'
+      - string:
+          # Used in scripts/common.sh:docker_images_require()
+          name: OSMO_BRANCH_DOCKER_PLAYGROUND
+          description: |
+                docker-playground.git branch
+          default: 'master'
     scm:
       - git:
           url: https://gerrit.osmocom.org/osmo-ci
@@ -26,7 +38,7 @@
           git-config-email: '[email protected]'
           skip-tag: true
           branches:
-            - 'origin/master'
+            - '$OSMO_BRANCH_CI'
           wipe-workspace: true

     triggers:

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/33745
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I62265300048031cbb65e997b921373894500233f
Gerrit-Change-Number: 33745
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to