From: Alfredo Deza Date: Thu, 27 Jul 2017 18:24:07 +0000 (-0400) Subject: ceph-volume-pr: create a job for manual triggering of ceph-volume tox runs X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F805%2Fhead;p=ceph-build.git ceph-volume-pr: create a job for manual triggering of ceph-volume tox runs Signed-off-by: Alfredo Deza --- diff --git a/ceph-volume-pr/build/build b/ceph-volume-pr/build/build new file mode 100644 index 00000000..d3478906 --- /dev/null +++ b/ceph-volume-pr/build/build @@ -0,0 +1,8 @@ +#!/bin/bash +set -ex + +# the following two methods exist in scripts/build_utils.sh +pkgs=( "tox" ) +install_python_packages "pkgs[@]" + +cd src/ceph-volume && $VENV/tox -rv diff --git a/ceph-volume-pr/config/definitions/ceph-volume-pr.yml b/ceph-volume-pr/config/definitions/ceph-volume-pr.yml new file mode 100644 index 00000000..335bc6b5 --- /dev/null +++ b/ceph-volume-pr/config/definitions/ceph-volume-pr.yml @@ -0,0 +1,44 @@ +- job: + name: ceph-volume-pr + display-name: 'ceph-volume: Pull Request tox tests' + node: x86_64 + project-type: freestyle + defaults: global + quiet-period: 5 + block-downstream: false + block-upstream: false + properties: + - github: + url: https://github.com/ceph/ceph + discard-old-builds: true + logrotate: + daysToKeep: 14 + + triggers: + - github-pull-request: + allow-whitelist-orgs-as-admins: true + org-list: + - ceph + trigger-phrase: 'jenkins test ceph-volume tox' + white-list-labels: 'ceph-volume' + github-hooks: true + permit-all: true + auto-close-on-fail: false + status-context: "ceph-volume tox testing" + started-status: "ceph-volume tox running" + success-status: "ceph-volume tox OK" + failure-status: "ceph-volume tox failed" + + scm: + - git: + url: https://github.com/ceph/ceph + browser: auto + skip-tag: true + timeout: 20 + wipe-workspace: true + + builders: + - shell: + !include-raw: + - ../../../scripts/build_utils.sh + - ../../build/build