]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume: adds pr tests for the simple subcommand 910/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 9 Nov 2017 20:13:39 +0000 (14:13 -0600)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 10 Nov 2017 17:46:00 +0000 (11:46 -0600)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-volume-ansible-prs/build/build
ceph-volume-ansible-prs/config/definitions/ceph-volume-pr.yml

index 7ad2168397d6b0086b25630f9fd8e2c97b41c30c..4f62a687422c05fb63ef1d4091d65d734e633642 100644 (file)
@@ -44,6 +44,6 @@ fi
 pkgs=( "tox" )
 install_python_packages "pkgs[@]"
 
-cd src/ceph-volume/ceph_volume/tests/functional
+cd $TEST_PATH
 
 CEPH_DEV_BRANCH=$BRANCH CEPH_DEV_SHA1=$SHA $VENV/tox --workdir=$WORKDIR -vre $DISTRO-$OBJECTSTORE-$SCENARIO -- --provider=libvirt
index c0783d968cf2ae261245437b7d1bd5d2e7db235a..a84b86f679830a9c36c26959caf2953c7c1efdaf 100644 (file)
@@ -1,5 +1,5 @@
 - project:
-    name: ceph-volume-ansible-prs
+    name: ceph-volume-ansible-prs-lvm
     distro:
       - xenial
       - centos7
@@ -9,14 +9,36 @@
     scenario:
       - create
       - prepare_activate
+    test_path:
+      - src/ceph-volume/ceph_volume/tests/functional/lvm
+    subcommand:
+      - lvm
 
     jobs:
-      - 'ceph-volume-prs-{distro}-{objectstore}-{scenario}'
+      - 'ceph-volume-prs-{subcommand}-{distro}-{objectstore}-{scenario}'
+
+- project:
+    name: ceph-volume-ansible-prs-simple
+    distro:
+      - xenial
+      - centos7
+    objectstore:
+      - bluestore
+      - filestore
+    scenario:
+      - activate
+    test_path:
+      - src/ceph-volume/ceph_volume/tests/functional/simple
+    subcommand:
+      - simple
+
+    jobs:
+      - 'ceph-volume-prs-{subcommand}-{distro}-{objectstore}-{scenario}'
 
 
 - job-template:
-    name: 'ceph-volume-prs-{distro}-{objectstore}-{scenario}'
-    display-name: 'ceph-volume: Pull Request [{distro}-{objectstore}-{scenario}]'
+    name: 'ceph-volume-prs-{subcommand}-{distro}-{objectstore}-{scenario}'
+    display-name: 'ceph-volume {subcommand}: Pull Request [{distro}-{objectstore}-{scenario}]'
     node: vagrant&&libvirt
     concurrent: true
     project-type: freestyle
           org-list:
             - ceph
           only-trigger-phrase: true
-          trigger-phrase: 'jenkins test ceph-volume {distro}-{objectstore}-{scenario}'
+          trigger-phrase: 'jenkins test ceph-volume {subcommand} {distro}-{objectstore}-{scenario}'
           github-hooks: true
           permit-all: true
           auto-close-on-fail: false
-          status-context: "ceph-volume testing {distro}-{objectstore}-{scenario}"
-          started-status: "ceph-volume running {distro}-{objectstore}-{scenario}"
-          success-status: "ceph-volume {distro}-{objectstore}-{scenario} OK"
-          failure-status: "ceph-volume {distro}-{objectstore}-{scenario} failed"
+          status-context: "ceph-volume {subcommand} testing {distro}-{objectstore}-{scenario}"
+          started-status: "ceph-volume {subcommand} running {distro}-{objectstore}-{scenario}"
+          success-status: "ceph-volume {subcommand} {distro}-{objectstore}-{scenario} OK"
+          failure-status: "ceph-volume {subcommand} {distro}-{objectstore}-{scenario} failed"
 
     scm:
       - git:
@@ -69,6 +91,7 @@
             SCENARIO={scenario}
             DISTRO={distro}
             OBJECTSTORE={objectstore}
+            TEST_PATH={test_path}
       - shell:
           !include-raw-escape:
             - ../../../scripts/build_utils.sh