diff options
Diffstat (limited to 'gitlab-ci/completeaction.sh')
-rwxr-xr-x | gitlab-ci/completeaction.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gitlab-ci/completeaction.sh b/gitlab-ci/completeaction.sh new file mode 100755 index 0000000..a20a64e --- /dev/null +++ b/gitlab-ci/completeaction.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +export path="bot" +export server="irc.freenode.net" +export channel="#evol-dev" +export nick="evolbuildbot" + +echo "$1" + +apt-get update +apt-get -y -qq install ii psmisc + +mkdir ${path} + +ii -s ${server} -i ${path} -n ${nick} -f ${nick} & +sleep 5s + +echo "/j ${channel}" > "${path}/${server}/in" +sleep 10s + +echo $1 >${path}/${server}/${channel}/in +sleep 3s + +killall ii |