From 05ee5f4a33ae43674c60d64318208f9c05dc2bc6 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 2 Apr 2019 15:17:56 +0200 Subject: [PATCH] ceph-ansible-pipeline: fix nautilus jobs that condition isn't correct. Signed-off-by: Guillaume Abrioux --- .../config/definitions/ceph-ansible-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml index 80c7de6e..503875ea 100644 --- a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml +++ b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml @@ -125,8 +125,8 @@ - conditional-step: condition-kind: shell condition-command: | - # if the target branch is not master then we DON'T RUN these tests. - if [[ "$ghprbTargetBranch" != "stable-4.0" ]]; then + # if the target branch is not stable-4.0 then we DON'T RUN these tests. + if [[ "$ghprbTargetBranch" =~ stable-3.[0-2]|master ]]; then exit 1 fi on-evaluation-failure: dont-run -- 2.39.5