summaryrefslogtreecommitdiff
path: root/contrib/cirrus/lib.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-11-19 05:14:30 -0800
committerGitHub <noreply@github.com>2018-11-19 05:14:30 -0800
commit47ffaae840157dba421b018738416a3e4cc56a04 (patch)
treea28baead9adc61ec604cb7b22f99bfd4829a95bf /contrib/cirrus/lib.sh
parentcd5742ff47f2650e1f33dd485485cd5027500955 (diff)
parent8b3fcb374ba15ee1d56f4b9c5ebd6e9372575471 (diff)
downloadpodman-47ffaae840157dba421b018738416a3e4cc56a04.tar.gz
podman-47ffaae840157dba421b018738416a3e4cc56a04.tar.bz2
podman-47ffaae840157dba421b018738416a3e4cc56a04.zip
Merge pull request #1780 from cevich/un-magic
Reveal magic, parallel system-testing and system-testing simplification
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r--contrib/cirrus/lib.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh
index 4a3efb8ff..6d43c6ea5 100644
--- a/contrib/cirrus/lib.sh
+++ b/contrib/cirrus/lib.sh
@@ -120,23 +120,6 @@ cdsudo() {
sudo --preserve-env=GOPATH --non-interactive bash -c "$CMD"
}
-# Skip a build if $1 does not match in the PR Title/Description with message $2
-require_regex() {
- req_env_var "
- CIRRUS_CHANGE_MESSAGE $CIRRUS_CHANGE_MESSAGE
- 1 $1
- 2 $2
- "
- regex="$1"
- msg="$2"
- if ! echo "$CIRRUS_CHANGE_MESSAGE" | egrep -q "$regex"
- then
- echo "***** The PR Title/Description did not match the regular expression: $MAGIC_RE"
- echo "***** $msg"
- exit 0
- fi
-}
-
# Helper/wrapper script to only show stderr/stdout on non-zero exit
install_ooe() {
req_env_var "SCRIPT_BASE $SCRIPT_BASE"