summaryrefslogtreecommitdiff
path: root/roles/pipeliner/templates
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-06-22 13:51:45 +0100
committerNick White <git@njw.name>2021-06-22 14:27:21 +0100
commit48020c6e284efe49de173d414842b916de9845a7 (patch)
treec946be71744a46ad4e684adbf3aa6a0c2b2999bd /roles/pipeliner/templates
parent82fa78799faa363a018da364576d97bb76c6a2cb (diff)
Have updatepipeline script only compile and install bookpipeline
As the rescribe tool now does embed stuff, it won't build until a go generate call is done. So rather than unnecessarily building all bookpipeline tools, which would fail now, just do bookpipeline.
Diffstat (limited to 'roles/pipeliner/templates')
-rw-r--r--roles/pipeliner/templates/updatepipeline.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/pipeliner/templates/updatepipeline.j2 b/roles/pipeliner/templates/updatepipeline.j2
index efe04e1..511bd2a 100644
--- a/roles/pipeliner/templates/updatepipeline.j2
+++ b/roles/pipeliner/templates/updatepipeline.j2
@@ -4,7 +4,7 @@ t="/home/{{ ansible_user }}/trainings"
cd "$s/bookpipeline" && \
git pull && \
-go install ./... && \
+go install ./cmd/bookpipeline && \
sudo cp "$HOME/go/bin/bookpipeline" /usr/local/bin/ || exit 1
cd "$t" && git pull && \