[Libreoffice-commits] dev-tools.git: ciabot/setup
ciabot/setup/install |1 - 1 file changed, 1 deletion(-) New commits: commit 2cd18f8a912c76f567c866fb62b3a9e53eda5b2c Author: Miklos VajnaDate: Thu May 26 09:50:59 2016 +0200 ciabot: remove reference to removed libreoffice-bugzilla.pl Change-Id: I7ef4a8308993142843f0cfdd00b43f8b55cd33f5 diff --git a/ciabot/setup/install b/ciabot/setup/install index 8d8ab5f..34629a4 100755 --- a/ciabot/setup/install +++ b/ciabot/setup/install @@ -17,7 +17,6 @@ origin=$(dirname $0) prefix=/home/ciabot/prod for i in $origin/../../../irker-cia-proxy/irker-cia-proxy.py \ -$origin/../libreoffice-bugzilla.pl \ $origin/../libreoffice-bugzilla2.py \ $origin/../libreoffice-ciabot.pl \ $origin/../projmap.json \ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: ciabot/setup
ciabot/setup/install |1 + 1 file changed, 1 insertion(+) New commits: commit 6afccac502565eebb0edb984ab3e54ab69891955 Author: Markus Mohrhard markus.mohrh...@googlemail.com Date: Mon Oct 27 13:35:17 2014 +0100 install the new bugzilla script as well diff --git a/ciabot/setup/install b/ciabot/setup/install index 6044e40..8d8ab5f 100755 --- a/ciabot/setup/install +++ b/ciabot/setup/install @@ -18,6 +18,7 @@ prefix=/home/ciabot/prod for i in $origin/../../../irker-cia-proxy/irker-cia-proxy.py \ $origin/../libreoffice-bugzilla.pl \ +$origin/../libreoffice-bugzilla2.py \ $origin/../libreoffice-ciabot.pl \ $origin/../projmap.json \ $origin/../run-libreoffice-ciabot.pl \ ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: ciabot/setup
ciabot/setup/install | 34 ++ 1 file changed, 34 insertions(+) New commits: commit 8c0dc4ad41c89d3e680dea0b61ca6a539e18cc94 Author: Miklos Vajna vmik...@collabora.co.uk Date: Sun Nov 24 11:32:46 2013 + ciabot: add install script diff --git a/ciabot/setup/install b/ciabot/setup/install new file mode 100755 index 000..6044e40 --- /dev/null +++ b/ciabot/setup/install @@ -0,0 +1,34 @@ +#!/bin/bash + +# Invoke this script as '/home/$username/git/dev-tools/ciabot/setup/install' or +# so, and it'll handle the update of the code from git to prod. +# +# When cloning new repos, use 'git clone --no-checkout git://gerrit.libreoffice.org/foo.git' +# +# After update, use /sbin/initctl list | grep irkerd (or loircbot), sudo /sbin/start irkerd or sudo /sbin/stop irkerd +# NOTE: it's enough to start/stop irkerd, it'll automatically start/stop loircbot as well, as they are linked. + +if [ $(whoami) != ciabot ]; then + echo forgot 'sudo -u ciabot /bin/bash'? + exit 1 +fi + +origin=$(dirname $0) +prefix=/home/ciabot/prod + +for i in $origin/../../../irker-cia-proxy/irker-cia-proxy.py \ +$origin/../libreoffice-bugzilla.pl \ +$origin/../libreoffice-ciabot.pl \ +$origin/../projmap.json \ +$origin/../run-libreoffice-ciabot.pl \ +$origin/../sigui-bugzilla.pl +do +to=$prefix/$(basename $i) +if ! diff -q -u $i $to; then +cat $i $to +else +echo $to is up to date +fi +done + +# vim:set shiftwidth=4 softtabstop=4 expandtab: ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] dev-tools.git: ciabot/setup
ciabot/setup/irkerd.conf | 18 ++ ciabot/setup/loircbot.conf | 19 +++ 2 files changed, 37 insertions(+) New commits: commit 3bde051e1540691362c8ab486ec7bd058b9ce756 Author: Norbert Thiebaud nthieb...@gmail.com Date: Fri Nov 22 19:45:52 2013 -0600 add Upstart config for ciabot and irkerd Change-Id: Idf80630dcccac05f876e7d2f23786a5fd72ff747 Reviewed-on: https://gerrit.libreoffice.org/6766 Reviewed-by: Miklos Vajna vmik...@collabora.co.uk Tested-by: Miklos Vajna vmik...@collabora.co.uk diff --git a/ciabot/setup/irkerd.conf b/ciabot/setup/irkerd.conf new file mode 100644 index 000..d55afaa --- /dev/null +++ b/ciabot/setup/irkerd.conf @@ -0,0 +1,18 @@ +# irkerd - Relay for shipping notification to IRC servers +# + +description Relay for shipping notification to IRC server + +start on filesystem or runlevel [2345] +stop on runlevel [!2345] + +console log +setuid ciabot +setgid ciabot + +pre-start script +test -x /usr/bin/irkerd || { stop; exit 0; } +end script + +exec /usr/bin/irkerd -n loircbot + diff --git a/ciabot/setup/loircbot.conf b/ciabot/setup/loircbot.conf new file mode 100644 index 000..70ef8e7 --- /dev/null +++ b/ciabot/setup/loircbot.conf @@ -0,0 +1,19 @@ +# loircbot - monitor gerrit repos and dispatch notification to irc and bugzilla +# + +description monitor gerrit's repo and dispatch notification to irc and bugzilla + +start on started irkerd +stop on stopping irkerd + +chdir /home/ciabot/prod +console log +setuid ciabot +setgid ciabot + +pre-start script +test -x /home/ciabot/prod/run-libreoffice-ciabot.pl || { stop; exit 0; } +end script + +exec /home/ciabot/prod/run-libreoffice-ciabot.pl + ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits