From e4cb7f422f48a168cca91eb530031a2f1af5a133 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Han?= Date: Fri, 12 Oct 2018 20:18:16 +0200 Subject: [PATCH] ceph-ansible-pipeline osd followup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Not sure what's going on, this is mostly a commit to debug Signed-off-by: Sébastien Han --- .../config/definitions/ceph-ansible-pipeline.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml index 5f4aa3ee..c3e7a4c2 100644 --- a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml +++ b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml @@ -238,7 +238,12 @@ exit 1 fi # do not run if roles/ceph-osd has been touched since the task above play osds already - git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'roles/ceph-osd' && exit 1 + git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep -E 'roles/ceph-osd' + if [ $? -eq 1 ]; then + echo "ceph-osd role modified, nothing to test, the ceph-osd role test is handled by another pipeline job." + exit 1 + fi + exit 0 on-evaluation-failure: dont-run steps: - multijob: -- 2.47.3