From: Sébastien Han Date: Mon, 29 Oct 2018 16:47:57 +0000 (+0100) Subject: ceph-ansible-pipeline: add rgw multisite X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=1fd9a18eb7efc4bea1ac43778023a636cae222f6;p=ceph-build.git ceph-ansible-pipeline: add rgw multisite support for testing rgw multisite in the pipeline Signed-off-by: Sébastien Han --- diff --git a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml index 2cff0911..6bc0b155 100644 --- a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml +++ b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml @@ -243,6 +243,28 @@ - name: 'ceph-ansible-prs-dev-lvm_batch_container' current-parameters: true + - conditional-step: + condition-kind: shell + condition-command: | + #!/bin/bash + set -x + # if the current branch is stable-3.0 or stable-3.1 then we don't run these tests + 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-rgw/tasks/multisite' + on-evaluation-failure: dont-run + steps: + - multijob: + name: 'ceph-ansible rgw multisite scenarios playbook testing' + condition: SUCCESSFUL + execution-type: PARALLEL + projects: + - name: 'ceph-ansible-prs-dev-rgw_multisite' + current-parameters: true + - name: 'ceph-ansible-prs-dev-rgw_multisite_container' + current-parameters: true + - conditional-step: condition-kind: shell condition-command: |