From: Dan Mick Date: Sat, 24 Aug 2019 04:19:40 +0000 (-0700) Subject: ceph-dev-new-*: add CONTAINER_BRANCH and check it out X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e2c78104942693b2324dcdf227e59bf403ac5c44;p=ceph-build.git ceph-dev-new-*: add CONTAINER_BRANCH and check it out In case a container build is needed, check out $CONTAINER_BRANCH of ceph-container.git to use to build it Signed-off-by: Dan Mick --- diff --git a/ceph-dev-new-build/config/definitions/ceph-dev-new-build.yml b/ceph-dev-new-build/config/definitions/ceph-dev-new-build.yml index c574929b..cf9b28e2 100644 --- a/ceph-dev-new-build/config/definitions/ceph-dev-new-build.yml +++ b/ceph-dev-new-build/config/definitions/ceph-dev-new-build.yml @@ -14,6 +14,16 @@ days-to-keep: 30 artifact-days-to-keep: 30 + scm: + - git: + url: git@github.com:ceph/ceph-container.git + basedir: ceph-container + credentials-id: 'jenkins-build' + branches: + - $CONTAINER_BRANCH + skip-tag: true + wipe-workspace: true + execution-strategy: combination-filter: | DIST == AVAILABLE_DIST && ARCH == AVAILABLE_ARCH && diff --git a/ceph-dev-new/config/definitions/ceph-dev-new.yml b/ceph-dev-new/config/definitions/ceph-dev-new.yml index 2eee9c73..93ae2c95 100644 --- a/ceph-dev-new/config/definitions/ceph-dev-new.yml +++ b/ceph-dev-new/config/definitions/ceph-dev-new.yml @@ -60,6 +60,11 @@ If this is checked, then the binaries will be built and pushed to chacra even if default: "default" description: "Type of Ceph build, choices are: crimson, notcmalloc, default (i.e. with tcmalloc). Defaults to: 'default'" + - string: + name: CONTAINER_BRANCH + description: "For CI_CONTAINER: Branch of ceph-container to use" + default: master + builders: - multijob: name: 'ceph dev setup phase'