]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
add add_mdss scenarion to CI 1258/head
authorRishabh Dave <ridave@redhat.com>
Tue, 12 Feb 2019 05:51:06 +0000 (11:21 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 26 Mar 2019 08:08:25 +0000 (13:38 +0530)
Add add_mdss 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 979954eef6da3d0b12fbd5c083c8489c68591142..21c50b88a270239ac3e7b7b8b25f20b4d227bdb3 100644 (file)
                     current-parameters: true
                   - name: 'ceph-ansible-prs-dev-centos-container-add_mons'
                     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 'infrastructure-playbooks/add-mon|tests/functional/add-mdss'
+          on-evaluation-failure: dont-run
+          steps:
+            - multijob:
+                name: 'ceph-ansible add_mdss playbook testing'
+                condition: SUCCESSFUL
+                execution-type: PARALLEL
+                projects:
+                  - name: 'ceph-ansible-prs-dev-centos-non_container-add_mdss'
+                    current-parameters: true
+                  - name: 'ceph-ansible-prs-dev-centos-container-add_mdss'
+                    current-parameters: true
       - conditional-step:
           condition-kind: shell
           condition-command: |
index ed0a788571b684094dfce34fc06cf5157576b7b0..6fd3864dfd8207be664865bf7db2699e16be23bb 100644 (file)
@@ -23,6 +23,7 @@
       - lvm_batch
       - add_osds
       - add_mons
+      - add_mdss
       - rgw_multisite
       - purge
       - lvm_auto_discovery