From 6e03668c415c83a8a83218fcb96dc430d9eebaed Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 25 Nov 2020 09:05:18 -0800 Subject: Change the example githook to remove a level of indirection. --- examples/olamic-githook-post-receive | 8 ++------ olamic-worker | 25 +++++++++++++++---------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/examples/olamic-githook-post-receive b/examples/olamic-githook-post-receive index 3135d0d..4c71703 100755 --- a/examples/olamic-githook-post-receive +++ b/examples/olamic-githook-post-receive @@ -11,13 +11,9 @@ while read OLD NEW REF; do OLAMIC_EMAIL="$(git show --no-patch --format=%ae "$NEW")" echo -n "Enqueuing olamic run for $REF: " if [[ "$OLAMIC_QUEUE_HOST" == "" ]]; then - olamic-enqueue "$OLAMIC_QUEUE_DIR" "$OLAMIC_GIT_REPO" "$NEW" GIT_REF="$REF" OLAMIC_EMAIL="$OLAMIC_EMAIL" <&1 | tee log STATUS="$?" -- cgit v1.2.3