condition-kind: shell
condition-command: |
#!/bin/bash
+ set -x
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/purge'
on-evaluation-failure: dont-run
steps:
condition-kind: shell
condition-command: |
#!/bin/bash
- git show-branch ${sha1} | grep -q $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
+ set -x
+ git show-branch ${sha1} | grep $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
on-evaluation-failure: dont-run
steps:
- multijob:
condition-kind: shell
condition-command: |
#!/bin/bash
- git show-branch ${sha1} | grep -vq $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
- on-evaluation-failure: dont-run
+ set -x
+ git show-branch ${sha1} | grep -v $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
+ on-evaluation-failure: run
steps:
- multijob:
name: 'ceph-ansible purge playbook testing'
condition-kind: shell
condition-command: |
#!/bin/bash
+ set -x
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/rolling_update'
on-evaluation-failure: dont-run
steps:
condition-kind: shell
condition-command: |
#!/bin/bash
+ set -x
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/shrink-mon'
on-evaluation-failure: dont-run
steps:
condition-kind: shell
condition-command: |
#!/bin/bash
+ set -x
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/shrink-osd'
on-evaluation-failure: dont-run
steps:
condition-kind: shell
condition-command: |
#!/bin/bash
+ set -x
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'
on-evaluation-failure: dont-run
steps:
condition-kind: shell
condition-command: |
#!/bin/bash
+ set -x
git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -v 'infrastructure-playbooks'
if [ $? -eq 1 ]; then
echo "Infra playbooks modified. Not testing remaining scenarios."
condition-kind: shell
condition-command: |
#!/bin/bash
- git show-branch ${sha1} | grep -q $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
+ set -x
+ git show-branch ${sha1} | grep $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
on-evaluation-failure: dont-run
steps:
- multijob:
condition-kind: shell
condition-command: |
#!/bin/bash
- git show-branch ${sha1} | grep -vq $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
- on-evaluation-failure: dont-run
+ set -x
+ git show-branch ${sha1} | grep -v $(git ls-remote https://github.com/ceph/ceph-ansible.git stable-3.0 | awk '{ print $1 }')
+ on-evaluation-failure: run
steps:
- multijob:
name: 'ceph-ansible advanced cluster testing phase'