diff options
author | makefu <root@pigstarter.de> | 2013-12-17 19:57:03 +0100 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-12-17 19:57:03 +0100 |
commit | e5402109288b9cef3ca6bedc25cfbbec6c9e6fef (patch) | |
tree | bca69a8c4d2fbb3b8e765747358b90e1628e8c0b /retiolum | |
parent | 2c6d1d806a319d831270e384a1ad23dcd9c399cb (diff) |
github_listener: remove graphite hook
Diffstat (limited to 'retiolum')
-rwxr-xr-x | retiolum/scripts/github_listener/handle_request | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/retiolum/scripts/github_listener/handle_request b/retiolum/scripts/github_listener/handle_request index 211ca776..a5209048 100755 --- a/retiolum/scripts/github_listener/handle_request +++ b/retiolum/scripts/github_listener/handle_request @@ -4,7 +4,7 @@ # HOSTFOLDER set -euf -export GRAPHITE_HOST=${GRAPHITE_HOST:-no_omo} +#export GRAPHITE_HOST=${GRAPHITE_HOST:-no_omo} PATH=$PATH:../../../util/bin if [ "x${2:-}" = x ];then echo "usage: $0 HOSTDIRECTORY WEBDIRECTORY" @@ -14,15 +14,16 @@ NOW=$(timer) export HOSTDIR=${1:-../../hosts} WEBDIR=${2:-/var/www/euer.krebsco.de/retiolum/} echo "sorry for keeping you waiting, please be patient" - +logger "github_listener: received hook" cd $(dirname $(readlink -f $0)) cd "$HOSTDIR" -git pull origin master >&2 +git pull origin master | logger echo "First step done" cd - >&2 ../../bin/create-supernode-tar $WEBDIR echo "almost done..." ../../bin/create-host-tar $WEBDIR echo "Thank you for your patience! I stole $(timer $NOW)ms of your time, sorry about that." -graphitec 'retiolum.pack.build_time' $(timer $NOW) +#graphitec 'retiolum.pack.build_time' $(timer $NOW) +logger "github_listener: finished" |