jjb: xci: xci-verify-jobs: Skip complete XCI deployments for 'skip-deloyment' 55/44455/2
authorMarkos Chandras <mchandras@suse.de>
Fri, 6 Oct 2017 12:25:03 +0000 (13:25 +0100)
committerMarkos Chandras <mchandras@suse.de>
Fri, 6 Oct 2017 15:13:10 +0000 (16:13 +0100)
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 <mchandras@suse.de>
jjb/xci/xci-verify-jobs.yml

index 0a7b960..945760f 100644 (file)
           #!/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
           #!/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