diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-10-23 07:41:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-23 07:41:43 -0700 |
commit | 79befd5158c8f01a88e4d14e46851ddcc11d51c4 (patch) | |
tree | c823e9f68d9857d2abf819d8529259000ea00d24 /contrib/cirrus/lib.sh | |
parent | ab2b3d64ceaf496107c734575581460185c97369 (diff) | |
parent | 4de69da7bd5739a0845e3c0cae751d4c5eb615f4 (diff) | |
download | podman-79befd5158c8f01a88e4d14e46851ddcc11d51c4.tar.gz podman-79befd5158c8f01a88e4d14e46851ddcc11d51c4.tar.bz2 podman-79befd5158c8f01a88e4d14e46851ddcc11d51c4.zip |
Merge pull request #1648 from cevich/cirrus_podbot
Add simple IRC messenger
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r-- | contrib/cirrus/lib.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh index c6cac44ec..1e0052a65 100644 --- a/contrib/cirrus/lib.sh +++ b/contrib/cirrus/lib.sh @@ -96,6 +96,19 @@ stub() { echo "STUB: Pretending to do $1" } +ircmsg() { + req_env_var " + SCRIPT_BASE $SCRIPT_BASE + GOSRC $GOSRC + CIRRUS_TASK_ID $CIRRUS_TASK_ID + 1 $1 + " + SCRIPT="$GOSRC/$SCRIPT_BASE/podbot.py" + NICK="podbot_$CIRRUS_TASK_ID" + NICK="${NICK:0:15}" # Any longer will break things + $SCRIPT $NICK $1 +} + # Run sudo in directory with GOPATH set cdsudo() { DIR="$1" |