From 0d8bcbfd9a7f7ba4fd884c91e19835f8b3bf1a70 Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 16 Oct 2019 14:54:24 +0100 Subject: Update pipeliner to update before running bookpipeline, and with latest urls --- roles/pipeliner/templates/updatepipeline.j2 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/pipeliner/templates/updatepipeline.j2 (limited to 'roles/pipeliner/templates') diff --git a/roles/pipeliner/templates/updatepipeline.j2 b/roles/pipeliner/templates/updatepipeline.j2 new file mode 100644 index 0000000..9a375ca --- /dev/null +++ b/roles/pipeliner/templates/updatepipeline.j2 @@ -0,0 +1,5 @@ +#!/bin/sh +g="/home/{{ ansible_user }}/src/go" + +GOPATH="$g" go get -u rescribe.xyz/bookpipeline/... && \ +sudo cp "$g/bin/bookpipeline" /usr/local/bin/ -- cgit v1.2.1-24-ge1ad