osmith submitted this change.
jobs/registry-rebuild-upload-titan: add branch arg
Add branch arguments, so it is easier to try out fixes.
Change-Id: Idc03e8977c8c9e300e394865dbec3b70a14935bc
---
M jobs/registry-rebuild-upload-titan.yml
1 file changed, 18 insertions(+), 12 deletions(-)
diff --git a/jobs/registry-rebuild-upload-titan.yml b/jobs/registry-rebuild-upload-titan.yml
index 8fed502..3b0b778 100644
--- a/jobs/registry-rebuild-upload-titan.yml
+++ b/jobs/registry-rebuild-upload-titan.yml
@@ -5,16 +5,6 @@
- registry-rebuild-upload-ttcn3-bts-tests
- registry-rebuild-upload-testenv
-- scm:
- name: osmocom-docker-playground
- scm:
- - git:
- url: https://gerrit.osmocom.org/docker-playground
- skip-tag: true
- branches:
- - 'origin/master'
-
-
- job:
name: registry-rebuild-upload-titan
description: |
@@ -30,8 +20,16 @@
days-to-keep: 30
num-to-keep: 30
node: osmocom-master
+ parameters:
+ - string:
+ name: BRANCH
+ description: docker-playground.git branch
+ default: 'master'
scm:
- - 'osmocom-docker-playground'
+ - git:
+ url: https://gerrit.osmocom.org/docker-playground
+ branches:
+ - '$BRANCH'
builders:
- shell: |
REGISTRY="registry.osmocom.org"
@@ -58,8 +56,16 @@
- reverse:
jobs:
- registry-rebuild-upload-titan
+ parameters:
+ - string:
+ name: BRANCH
+ description: docker-playground.git branch
+ default: 'master'
scm:
- - 'osmocom-docker-playground'
+ - git:
+ url: https://gerrit.osmocom.org/docker-playground
+ branches:
+ - '$BRANCH'
builders:
- shell: |
REGISTRY="registry.osmocom.org"
To view, visit change 40258. To unsubscribe, or for help writing mail filters, visit settings.