current-parameters: true
- name: 'ceph-ansible-prs-luminous-centos-container-shrink_osd'
current-parameters: true
+ - conditional-step:
+ condition-kind: shell
+ condition-command: |
+ #!/bin/bash
+ set -x
+ # if the target branch is not master then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" != "master" ]]; then
+ exit 1
+ fi
+ git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/shrink-mds'
+ on-evaluation-failure: dont-run
+ steps:
+ - multijob:
+ name: 'ceph-ansible shrink_mds playbook testing'
+ condition: SUCCESSFUL
+ execution-type: PARALLEL
+ projects:
+ - name: 'ceph-ansible-prs-dev-centos-non_container-shrink_mds'
+ current-parameters: true
+ - name: 'ceph-ansible-prs-dev-centos-container-shrink_mds'
+ current-parameters: true
+ - conditional-step:
+ condition-kind: shell
+ condition-command: |
+ #!/bin/bash
+ set -x
+ # if the target branch is not stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" != "stable-4.0" ]]; then
+ exit 1
+ fi
+ git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/shrink-mds'
+ on-evaluation-failure: dont-run
+ steps:
+ - multijob:
+ name: 'ceph-ansible shrink_mds playbook testing'
+ condition: SUCCESSFUL
+ execution-type: PARALLEL
+ projects:
+ - name: 'ceph-ansible-prs-nautilus-centos-non_container-shrink_mds'
+ current-parameters: true
+ - name: 'ceph-ansible-prs-nautilus-centos-container-shrink_mds'
+ current-parameters: true
- conditional-step:
condition-kind: shell
condition-command: |