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>
#!/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