]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-prs: run tests for jewel and kraken 672/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 3 Apr 2017 21:21:45 +0000 (16:21 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 3 Apr 2017 21:21:45 +0000 (16:21 -0500)
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-ansible-prs/build/build
ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml

index 1473ebbf613abfaf7dcdee0b4f50092bf18ff41e..622b4b4dbe6a129e3a7085d027bf74276bbb30cd 100644 (file)
@@ -11,4 +11,4 @@ WORKDIR=$(mktemp -td tox.XXXXXXXXXX)
 
 # the $SCENARIO var is injected by the job template. It maps
 # to an actual, defined, tox environment
-$VENV/tox -rv -e=$SCENARIO --workdir=$WORKDIR -- --provider=libvirt
+$VENV/tox -rv -e=$RELEASE-$SCENARIO --workdir=$WORKDIR -- --provider=libvirt
index 050de5531c9b87b7f739d19bb3ad1ecfccfa6cdf..fc8bf7fd04fd4a5da785f14963e533367d1bad58 100644 (file)
@@ -1,5 +1,8 @@
 - project:
     name: ceph-ansible-prs
+    release:
+      - jewel
+      - kraken
     scenario:
       - ansible2.2-centos7_cluster
       - ansible2.2-xenial_cluster
       - ansible2.2-update_dmcrypt
       - ansible2.2-update_cluster
     jobs:
-        - 'ceph-ansible-prs-{scenario}'
+        - 'ceph-ansible-prs-{release}-{scenario}'
 
 
 - job-template:
-    name: 'ceph-ansible-prs-{scenario}'
+    name: 'ceph-ansible-prs-{release}-{scenario}'
     node: vagrant&&libvirt
     concurrent: true
     defaults: global
-    display-name: 'ceph-ansible: Pull Requests [{scenario}]'
+    display-name: 'ceph-ansible: Pull Requests [{release}-{scenario}]'
     quiet-period: 5
     block-downstream: false
     block-upstream: false
           allow-whitelist-orgs-as-admins: true
           org-list:
             - ceph
-          trigger-phrase: 'jenkins test {scenario}'
+          trigger-phrase: 'jenkins test {release}-{scenario}'
           only-trigger-phrase: false
           github-hooks: true
           permit-all: true
           auto-close-on-fail: false
-          status-context: "Testing: {scenario}"
-          started-status: "Running: {scenario}"
-          success-status: "OK - {scenario}"
-          failure-status: "FAIL - {scenario}"
+          status-context: "Testing: {release}-{scenario}"
+          started-status: "Running: {release}-{scenario}"
+          success-status: "OK - {release}-{scenario}"
+          failure-status: "FAIL - {release}-{scenario}"
 
     scm:
       - git:
@@ -71,6 +74,7 @@
       - inject:
           properties-content: |
             SCENARIO={scenario}
+            RELEASE={release}
       - shell:
           !include-raw-escape:
             - ../../../scripts/build_utils.sh