From b1c2ac3d28232dd2bc73a4f663ab1d7aaef0ce5d Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Wed, 17 Oct 2018 14:19:26 +0200 Subject: [PATCH] ceph-ansible: add "add_osds" scenarios to pipeline adding `add_osds` and `add_osds_container` to the ceph-ansible pipeline Signed-off-by: Guillaume Abrioux --- .../definitions/ceph-ansible-pipeline.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml index 3f416eb5..d33a378d 100644 --- a/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml +++ b/ceph-ansible-pipeline/config/definitions/ceph-ansible-pipeline.yml @@ -52,6 +52,23 @@ current-parameters: true - name: ceph-ansible-pr-syntax-check current-parameters: true + - conditional-step: + condition-kind: shell + condition-command: | + #!/bin/bash + set -x + git diff --name-only $(git show HEAD | grep Merge | head -n 1 | cut -d ':' -f2) | grep 'infrastructure-playbooks/add-osd' + on-evaluation-failure: dont-run + steps: + - multijob: + name: 'ceph-ansible purge playbook testing' + condition: SUCCESSFUL + execution-type: PARALLEL + projects: + - name: 'ceph-ansible-prs-luminous-add_osds' + current-parameters: true + - name: 'ceph-ansible-prs-luminous-add_osds_container' + current-parameters: true - conditional-step: condition-kind: shell condition-command: | -- 2.39.5