]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-pipeline: run osd scenarios when module is modified
authorSébastien Han <seb@redhat.com>
Mon, 29 Oct 2018 15:41:15 +0000 (16:41 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 29 Oct 2018 15:41:15 +0000 (16:41 +0100)
When we edit the ceph_volume.py module we should run all the OSD
scenarios.

Signed-off-by: Sébastien Han <seb@redhat.com>
ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml

index effacf1a3be08ad1f0d223c2d9d1207fae0d6ef3..67e35024b63a0b5879ff7945db131a10201aa723 100644 (file)
             if [[ "$ghprbTargetBranch" == "stable-3.1" ]] || [[ "$ghprbTargetBranch" == "stable-3.0" ]]; 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'
+            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|library/ceph_volume.py'
           on-evaluation-failure: dont-run
           steps:
             - multijob: