]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
add add_mons scenario to CI 1256/head
authorRishabh Dave <ridave@redhat.com>
Mon, 11 Feb 2019 07:39:28 +0000 (13:09 +0530)
committerRishabh Dave <ridave@redhat.com>
Mon, 11 Feb 2019 09:07:27 +0000 (14:37 +0530)
Add add_mons 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 212aea8fb761f207b704b95ff9e6b28f06006552..f4252ce13f238595ae2cb5a98e77cf112feda3e3 100644 (file)
                     current-parameters: true
                   - name: 'ceph-ansible-prs-luminous-centos-container-add_osds'
                     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-mons'
+          on-evaluation-failure: dont-run
+          steps:
+            - multijob:
+                name: 'ceph-ansible add_mons playbook testing'
+                condition: SUCCESSFUL
+                execution-type: PARALLEL
+                projects:
+                  - name: 'ceph-ansible-prs-dev-centos-non_container-add_mons'
+                    current-parameters: true
+                  - name: 'ceph-ansible-prs-dev-centos-container-add_mons'
+                    current-parameters: true
       - conditional-step:
           condition-kind: shell
           condition-command: |
index a2b345759f0b333e5d2d7cabddd831ebc3b9576f..eed0c2788080f20b98e3b20638bcbdad8cb41b79 100644 (file)
@@ -23,6 +23,7 @@
       - shrink_osd
       - lvm_batch
       - add_osds
+      - add_mons
       - rgw_multisite
       - purge
       - lvm_auto_discovery