]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-container-prs: refact job template 1504/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 21 Feb 2020 16:16:59 +0000 (17:16 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Fri, 21 Feb 2020 16:22:02 +0000 (17:22 +0100)
This commit refact the job template for ceph-container.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-container-prs/config/definitions/ceph-container-prs.yml

index 92d15e69ff033eca5420c2b8bc7867ce093ef52e..99b09f7a3a4172786ae5d288512ad587239fe989 100644 (file)
@@ -1,33 +1,19 @@
 - project:
     name: ceph-container-prs-auto
-    os:
-      - centos7
-      - centos8
-    ceph-version:
-      - luminous
-      - nautilus
-      - octopus
     test:
       - all_daemons
       - lvm_osds
       - collocation
-    exclude:
-      - os: centos7
-        ceph-version: octopus
-      - os: centos8
-        ceph-version: luminous
-      - os: centos8
-        ceph-version: nautilus
     jobs:
         - 'ceph-container-prs-auto'
 
 - job-template:
-    name: 'ceph-container-prs-ceph_ansible-{ceph-version}-{os}-{test}'
+    name: 'ceph-container-prs-ceph_ansible-{test}'
     id: 'ceph-container-prs-auto'
     node: vagrant&&libvirt&&centos7
     concurrent: true
     defaults: global
-    display-name: 'ceph-container: Pull Requests [ceph_ansible-{ceph-version}-{os}-{test}]'
+    display-name: 'ceph-container: Pull Requests [ceph_ansible-{test}]'
     quiet-period: 5
     block-downstream: false
     block-upstream: false
           org-list:
             - ceph
           skip-build-phrase: '^jenkins do not test.*|.*\[skip ci\].*'
-          trigger-phrase: 'jenkins test ceph_ansible-{ceph-version}-{os}-{test}'
+          trigger-phrase: 'jenkins test ceph_ansible-{test}'
           only-trigger-phrase: false
           github-hooks: true
           permit-all: true
           auto-close-on-fail: false
-          status-context: "Testing: ceph_ansible-{ceph-version}-{os}-{test}"
-          started-status: "Running: ceph_ansible-{ceph-version}-{os}-{test}"
-          success-status: "OK - ceph_ansible-{ceph-version}-{os}-{test}"
-          failure-status: "FAIL - ceph_ansible-{ceph-version}-{os}-{test}"
+          status-context: "Testing: ceph_ansible-{test}"
+          started-status: "Running: ceph_ansible-{test}"
+          success-status: "OK - ceph_ansible-{test}"
+          failure-status: "FAIL - ceph_ansible-{test}"
 
     scm:
       - git:
@@ -77,7 +63,7 @@
     builders:
       - inject:
           properties-content: |
-            SCENARIO=ceph_ansible-{ceph-version}-{os}-{test}
+            SCENARIO=ceph_ansible-{test}
       - shell:
           !include-raw-escape:
             - ../../../scripts/build_utils.sh
                 - shell: !include-raw: ../../build/teardown
 
 - job-template:
-    name: 'ceph-container-prs-ceph_ansible-{ceph-version}-{os}-{test}'
+    name: 'ceph-container-prs-ceph_ansible-{test}'
     id: 'ceph-container-prs-trigger'
     node: vagrant&&libvirt&&centos7
     concurrent: true
     defaults: global
-    display-name: 'ceph-container: Pull Requests [ceph_ansible-{ceph-version}-{os}-{test}]'
+    display-name: 'ceph-container: Pull Requests [ceph_ansible-{test}]'
     quiet-period: 5
     block-downstream: false
     block-upstream: false
           org-list:
             - ceph
           skip-build-phrase: '^jenkins do not test.*|.*\[skip ci\].*'
-          trigger-phrase: 'jenkins test ceph_ansible-{ceph-version}-{os}-{test}'
+          trigger-phrase: 'jenkins test ceph_ansible-{test}'
           only-trigger-phrase: true
           github-hooks: true
           permit-all: true
           auto-close-on-fail: false
-          status-context: "Testing: ceph_ansible-{ceph-version}-{os}-{test}"
-          started-status: "Running: ceph_ansible-{ceph-version}-{os}-{test}"
-          success-status: "OK - ceph_ansible-{ceph-version}-{os}-{test}"
-          failure-status: "FAIL - ceph_ansible-{ceph-version}-{os}-{test}"
+          status-context: "Testing: ceph_ansible-{test}"
+          started-status: "Running: ceph_ansible-{test}"
+          success-status: "OK - ceph_ansible-{test}"
+          failure-status: "FAIL - ceph_ansible-{test}"
 
     scm:
       - git:
     builders:
       - inject:
           properties-content: |
-            SCENARIO=ceph_ansible-{ceph-version}-{os}-{test}
+            SCENARIO=ceph_ansible-{test}
       - shell:
           !include-raw-escape:
             - ../../../scripts/build_utils.sh