diff options
| author | Nick White <git@njw.name> | 2019-10-16 14:54:24 +0100 | 
|---|---|---|
| committer | Nick White <git@njw.name> | 2019-10-16 14:54:24 +0100 | 
| commit | 0d8bcbfd9a7f7ba4fd884c91e19835f8b3bf1a70 (patch) | |
| tree | 7382c4a5c37dbe05c2266ca93532877cdf299887 /roles/pipeliner/templates | |
| parent | 258df96af944b3665e827144fb577179837e2d86 (diff) | |
Update pipeliner to update before running bookpipeline, and with latest urls
Diffstat (limited to 'roles/pipeliner/templates')
| -rw-r--r-- | roles/pipeliner/templates/updatepipeline.j2 | 5 | 
1 files changed, 5 insertions, 0 deletions
| 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/ | 
