diff options
author | Chris Evich <cevich@redhat.com> | 2018-12-17 14:31:24 -0500 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2018-12-18 09:16:05 -0500 |
commit | 4bf7c4b62bd0b18f7cbbd254c00e1d0f8c1fdfaf (patch) | |
tree | dfc4d61077bd4cebbc81be63cc211d28e52eece5 /contrib/cirrus/lib.sh | |
parent | 68414c5ee3066538903d04d55f135202ca4d333f (diff) | |
download | podman-4bf7c4b62bd0b18f7cbbd254c00e1d0f8c1fdfaf.tar.gz podman-4bf7c4b62bd0b18f7cbbd254c00e1d0f8c1fdfaf.tar.bz2 podman-4bf7c4b62bd0b18f7cbbd254c00e1d0f8c1fdfaf.zip |
Cirrus: One IRC notice only
The podbot messages are becoming obnoxious as more distributions are
tested. Only call the `success.sh` script once, after all testing was
successful. Also make update the message to include more helpful text
and url.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r-- | contrib/cirrus/lib.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh index 51db203fd..3b567b7a7 100644 --- a/contrib/cirrus/lib.sh +++ b/contrib/cirrus/lib.sh @@ -123,12 +123,11 @@ stub() { ircmsg() { req_env_var " - SCRIPT_BASE $SCRIPT_BASE - GOSRC $GOSRC CIRRUS_TASK_ID $CIRRUS_TASK_ID 1 $1 " - SCRIPT="$GOSRC/$SCRIPT_BASE/podbot.py" + # Sometimes setup_environment.sh didn't run + SCRIPT="$(dirname $0)/podbot.py" NICK="podbot_$CIRRUS_TASK_ID" NICK="${NICK:0:15}" # Any longer will break things set +e |