From: Dimitri Savineau Date: Tue, 2 Jul 2019 15:42:39 +0000 (-0400) Subject: Add ceph container nightly devel build job X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8e680b3598c933cd27e396c5ec571363e51bf205;p=ceph-build.git Add ceph container nightly devel build job The ceph container images are only built on github event and also based on stable ceph content. We can also have nightly builds with ceph developement content from shaman/chacra. See https://github.com/ceph/ceph-container/pull/1411 Signed-off-by: Dimitri Savineau --- diff --git a/ceph-container-build-push-imgs-devel-nightly/build/build b/ceph-container-build-push-imgs-devel-nightly/build/build new file mode 100644 index 00000000..718ed42d --- /dev/null +++ b/ceph-container-build-push-imgs-devel-nightly/build/build @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + + +cd "$WORKSPACE"/ceph-container/ || exit +bash -x contrib/build-push-ceph-container-imgs.sh diff --git a/ceph-container-build-push-imgs-devel-nightly/config/JENKINS_URL b/ceph-container-build-push-imgs-devel-nightly/config/JENKINS_URL new file mode 100644 index 00000000..e97cf671 --- /dev/null +++ b/ceph-container-build-push-imgs-devel-nightly/config/JENKINS_URL @@ -0,0 +1 @@ +2.jenkins.ceph.com diff --git a/ceph-container-build-push-imgs-devel-nightly/config/definitions/ceph-container-build-push-imgs-devel-nightly.yml b/ceph-container-build-push-imgs-devel-nightly/config/definitions/ceph-container-build-push-imgs-devel-nightly.yml new file mode 100644 index 00000000..24442a64 --- /dev/null +++ b/ceph-container-build-push-imgs-devel-nightly/config/definitions/ceph-container-build-push-imgs-devel-nightly.yml @@ -0,0 +1,49 @@ +- job: + name: ceph-container-build-push-imgs-devel-nightly + node: huge && trusty && x86_64 + project-type: freestyle + defaults: global + display-name: 'ceph-container: Nightly build and push devel container images to Docker Hub' + quiet-period: 5 + block-downstream: false + block-upstream: false + retry-count: 3 + properties: + - build-discarder: + days-to-keep: -1 + num-to-keep: -1 + artifact-days-to-keep: -1 + artifact-num-to-keep: -1 + - github: + url: https://github.com/ceph/ceph-container + + triggers: + - timed: '@daily' + + scm: + - git: + url: https://github.com/ceph/ceph-container.git + branches: + - master + browser: auto + basedir: "ceph-container" + timeout: 20 + + builders: + - inject: + properties-content: | + DEVEL=true + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build + + wrappers: + - inject-passwords: + global: true + mask-password-params: true + - credentials-binding: + - username-password-separated: + credential-id: docker-hub-leseb + username: DOCKER_HUB_USERNAME + password: DOCKER_HUB_PASSWORD