--- /dev/null
+#!/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
--- /dev/null
+- 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