projects:
- name: 'ceph-ansible-prs-dev-centos-container-collocation'
current-parameters: true
- - name: 'ceph-ansible-prs-dev-centos-non_container-bluestore_lvm_osds'
- current-parameters: true
- - name: 'ceph-ansible-prs-dev-centos-container-bluestore_lvm_osds'
- current-parameters: true
- name: 'ceph-ansible-prs-dev-centos-non_container-lvm_batch'
current-parameters: true
- name: 'ceph-ansible-prs-dev-centos-container-lvm_batch'
projects:
- name: 'ceph-ansible-prs-nautilus-centos-container-collocation'
current-parameters: true
- - name: 'ceph-ansible-prs-nautilus-centos-non_container-bluestore_lvm_osds'
- current-parameters: true
- - name: 'ceph-ansible-prs-nautilus-centos-container-bluestore_lvm_osds'
- current-parameters: true
- name: 'ceph-ansible-prs-nautilus-centos-non_container-lvm_batch'
current-parameters: true
- name: 'ceph-ansible-prs-nautilus-centos-container-lvm_batch'
#!/bin/bash
set -x
# if the target branch is stable-3.2 we RUN these tests.
- if [[ "$ghprbTargetBranch" =~ stable-3.[0-1]|master ]]; then
+ if [[ "$ghprbTargetBranch" =~ stable-3.[0-1]|stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'infrastructure-playbooks/add-osd|tests/functional/centos/7/add-osds'
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 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 'infrastructure-playbooks/add-osd|tests/functional/centos/7/add-osds'
+ on-evaluation-failure: dont-run
+ steps:
+ - multijob:
+ name: 'ceph-ansible add_osds playbook testing'
+ condition: SUCCESSFUL
+ execution-type: PARALLEL
+ projects:
+ - name: 'ceph-ansible-prs-nautilus-centos-non_container-add_osds'
+ current-parameters: true
+ - name: 'ceph-ansible-prs-nautilus-centos-container-add_osds'
+ current-parameters: true
- conditional-step:
condition-kind: shell
condition-command: |
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 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 '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-nautilus-centos-non_container-add_mons'
+ current-parameters: true
+ - name: 'ceph-ansible-prs-nautilus-centos-container-add_mons'
+ current-parameters: true
- conditional-step:
condition-kind: shell
condition-command: |
condition-command: |
#!/bin/bash
set -x
- # if the target branch is stable-3.2 or master we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" =~ stable-3.2|master ]]; then
+ # if the target branch is stable-3.2 or stable-4.0 or master we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-3.2|stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/purge'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/purge-docker-cluster.yml'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/purge-cluster.yml'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/rolling_update'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/shrink-mon'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'infrastructure-playbooks/shrink-osd|tests/functional/centos/7/shrink_osd'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons'
condition-command: |
#!/bin/bash
set -x
- # if the target branch is master or stable-3.2 then we DON'T RUN these tests
- if [[ "$ghprbTargetBranch" =~ stable-3.2|master ]]; then
+ # if the target branch is master or stable-3.2 or stable-4.0 then we DON'T RUN these tests
+ if [[ "$ghprbTargetBranch" =~ stable-3.2|stable-4.0|master ]]; then
exit 1
fi
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'roles/ceph-defaults/tasks/facts.yml|roles/ceph-osd|ceph-validate'
current-parameters: true
- name: 'ceph-ansible-prs-luminous-centos-container-rgw_multisite'
current-parameters: true
+ - conditional-step:
+ condition-kind: shell
+ condition-command: |
+ #!/bin/bash
+ set -x
+ # if the target branch is stable-4.0 then 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 'roles/ceph-rgw/tasks/multisite|tests/functional/centos/7/rgw-multisite'
+ on-evaluation-failure: dont-run
+ steps:
+ - multijob:
+ name: 'ceph-ansible rgw multisite scenarios playbook testing'
+ condition: SUCCESSFUL
+ execution-type: PARALLEL
+ projects:
+ - name: 'ceph-ansible-prs-nautilus-centos-non_container-rgw_multisite'
+ current-parameters: true
+ - name: 'ceph-ansible-prs-nautilus-centos-container-rgw_multisite'
+ current-parameters: true
- conditional-step:
condition-kind: shell
condition-command: |
echo "ceph-osd role modified, nothing to test, the ceph-osd role test is handled by another pipeline job."
exit 1
fi
- # if the target branch is master then we DON'T RUN these tests.
- if [[ "$ghprbTargetBranch" == "master" ]]; then
+ # if the target branch is master or stable-4.0 then we DON'T RUN these tests.
+ if [[ "$ghprbTargetBranch" =~ stable-4.0|master ]]; then
exit 1
fi
on-evaluation-failure: dont-run