]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-ansible-pipeline: rgw_multisite fixes for stable-4.0 1280/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Sat, 6 Apr 2019 14:51:23 +0000 (16:51 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Sat, 6 Apr 2019 14:51:23 +0000 (16:51 +0200)
These conditions were incorrect for stable-4.0

luminous jobs triggered for stable-4.0

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml

index 15510ca405cc0e7a56ca3fddeaa9ea25871487d0..004ea842544df0b02d23477650f74c4625289df9 100644 (file)
             #!/bin/bash
             set -x
             # if the target branch is not stable-3.2 then we DON'T 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 'roles/ceph-defaults/tasks/facts.yml|roles/ceph-osd|ceph-validate'
             #!/bin/bash
             set -x
             # if the target branch is stable-3.2 then 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 'roles/ceph-rgw/tasks/multisite|tests/functional/centos/7/rgw-multisite'