From: Markos Chandras Date: Fri, 6 Oct 2017 12:25:03 +0000 (+0100) Subject: jjb: xci: xci-verify-jobs: Skip complete XCI deployments for 'skip-deloyment' X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0e674db7a24614b0825c1ecb6133c9e9cc74d621;p=releng.git 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 --- 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