From 0e674db7a24614b0825c1ecb6133c9e9cc74d621 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 6 Oct 2017 13:25:03 +0100 Subject: jjb: xci: xci-verify-jobs: Skip complete XCI deployments for 'skip-deloyment' When we want to test patches affecting the start-new-vm.sh script, sometimes we only want to test whether VM is operational without having to run the entire XCI deployment on it. As such, skip XCI deployments when the topic matches the 'skip-deployment' regexp. Change-Id: I4242ac09a9e65c939a06ad47eb26a62af39128c8 Signed-off-by: Markos Chandras --- jjb/xci/xci-verify-jobs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb/xci') diff --git a/jjb/xci/xci-verify-jobs.yml b/jjb/xci/xci-verify-jobs.yml index 0a7b960a0..945760f17 100644 --- a/jjb/xci/xci-verify-jobs.yml +++ b/jjb/xci/xci-verify-jobs.yml @@ -295,7 +295,7 @@ #!/bin/bash # skip the deployment if the patch doesn't impact the deployment - if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then + if [[ "$GERRIT_TOPIC" =~ 'skip-verify|skip-deployment' ]]; then echo "Skipping the deployment!" exit 0 fi @@ -310,7 +310,7 @@ #!/bin/bash # skip the healthcheck if the patch doesn't impact the deployment - if [[ "$GERRIT_TOPIC" =~ 'skip-verify' ]]; then + if [[ "$GERRIT_TOPIC" =~ 'skip-verify|skip-deployment' ]]; then echo "Skipping the healthcheck!" exit 0 fi -- cgit 1.2.3-korg