summaryrefslogtreecommitdiff
path: root/contrib/cirrus/optional_system_test.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2018-11-08 09:28:48 -0500
committerChris Evich <cevich@redhat.com>2018-11-13 13:30:48 -0500
commitaa742e9e681d91cf23a7e4e496358cab4d0ececa (patch)
tree2489d56b8f01617b88f17bf936b9da3edcd49b8c /contrib/cirrus/optional_system_test.sh
parentdd42c1dcffde9628285b4a4ee6d92bca01f3436c (diff)
downloadpodman-aa742e9e681d91cf23a7e4e496358cab4d0ececa.tar.gz
podman-aa742e9e681d91cf23a7e4e496358cab4d0ececa.tar.bz2
podman-aa742e9e681d91cf23a7e4e496358cab4d0ececa.zip
Cirrus: Reveal magic, parallel system-testing
Previously, several magic strings were in place to affect cirrus-ci operations. Two were buried within scripts. One to optionally execute system-tests within a PR. Another to avoid re-building cache-images upon every merge. Move these magic strings out into the open, buy locating their logic up-front in the ``.cirrus.yml`` file. This improves readability and reduces surprise/astonishment at runtime. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/optional_system_test.sh')
-rwxr-xr-xcontrib/cirrus/optional_system_test.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/contrib/cirrus/optional_system_test.sh b/contrib/cirrus/optional_system_test.sh
index 705dda5ad..dfe8e8a2c 100755
--- a/contrib/cirrus/optional_system_test.sh
+++ b/contrib/cirrus/optional_system_test.sh
@@ -3,14 +3,6 @@
set -e
source $(dirname $0)/lib.sh
-MAGIC_RE='\*\*\*\s*CIRRUS:\s*SYSTEM\s*TEST\s*\*\*\*'
-if ! echo "$CIRRUS_CHANGE_MESSAGE" | egrep -q "$MAGIC_RE"
-then
- echo "Skipping system-testing because PR title or description"
- echo "does not match regular expression: $MAGIC_RE"
- exit 0
-fi
-
req_env_var "
GOSRC $GOSRC
OS_RELEASE_ID $OS_RELEASE_ID