]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
add add_rgws scenario to CI 1281/head
authorRishabh Dave <ridave@redhat.com>
Mon, 8 Apr 2019 08:12:09 +0000 (13:42 +0530)
committerRishabh Dave <ridave@redhat.com>
Thu, 25 Apr 2019 09:44:22 +0000 (15:14 +0530)
Add add_rgws scenario to CI so that it can be tested against master.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml
ceph-ansible-prs/config/definitions/ceph-ansible-prs.yml

index f7c9313ea06f0dfcfd71671e0426135d3399f236..289e1855b9f8579f929cf3d525764d682c2ff7f4 100644 (file)
                     current-parameters: true
                   - name: 'ceph-ansible-prs-dev-centos-container-add_mdss'
                     current-parameters: true
+      - conditional-step:
+          condition-kind: shell
+          condition-command: |
+            #!/bin/bash
+            set -x
+            # if the target branch is master we RUN these tests.
+            if [[ "$ghprbTargetBranch" =~ "stable-" ]]; then
+              exit 1
+            fi
+            git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'tests/functional/add-rgws'
+          on-evaluation-failure: dont-run
+          steps:
+            - multijob:
+                name: 'ceph-ansible add_rgws playbook testing'
+                condition: SUCCESSFUL
+                execution-type: PARALLEL
+                projects:
+                  - name: 'ceph-ansible-prs-dev-centos-non_container-add_rgws'
+                    current-parameters: true
+                  - name: 'ceph-ansible-prs-dev-centos-container-add_rgws'
+                    current-parameters: true
+      - conditional-step:
+          condition-kind: shell
+          condition-command: |
+            #!/bin/bash
+            set -x
+            # if the target branch is stable-4.0 we RUN these tests.
+            if [[ "$ghprbTargetBranch" =~ stable-3.[0-2]|master ]]; then
+              exit 1
+            fi
+            git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'tests/functional/add-rgws'
+          on-evaluation-failure: dont-run
+          steps:
+            - multijob:
+                name: 'ceph-ansible add_rgws playbook testing'
+                condition: SUCCESSFUL
+                execution-type: PARALLEL
+                projects:
+                  - name: 'ceph-ansible-prs-nautilus-centos-non_container-add_rgws'
+                    current-parameters: true
+                  - name: 'ceph-ansible-prs-nautilus-centos-container-add_rgws'
+                    current-parameters: true
       - conditional-step:
           condition-kind: shell
           condition-command: |
index 649650069c79e25b2b81f70f91d36622c065548f..8d2ab16be6ddab222153c69dd8d8cf50c17ebf62 100644 (file)
@@ -22,6 +22,7 @@
       - add_osds
       - add_mons
       - add_mdss
+      - add_rgws
       - rgw_multisite
       - purge
       - lvm_auto_discovery
@@ -95,6 +96,7 @@
       - add_osds
       - add_mons
       - add_mdss
+      - add_rgws
       - rgw_multisite
       - purge
       - lvm_auto_discovery