diff options
author | Nick White <git@njw.name> | 2020-03-10 13:34:34 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-03-10 13:34:34 +0000 |
commit | 277e2224b049778c7cbd5b6bae86e786fda6d34d (patch) | |
tree | 63948d4fad6db81bbd1b556d0f185af32343e61d /roles | |
parent | edae481eafca9c6414204d94880118c4106c8bab (diff) |
Ensure go modules are enabled (should have been by default last time, but was not)
Diffstat (limited to 'roles')
-rw-r--r-- | roles/pipeliner/templates/updatepipeline.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/pipeliner/templates/updatepipeline.j2 b/roles/pipeliner/templates/updatepipeline.j2 index 0f5b439..5e0e842 100644 --- a/roles/pipeliner/templates/updatepipeline.j2 +++ b/roles/pipeliner/templates/updatepipeline.j2 @@ -6,7 +6,7 @@ t="/home/{{ ansible_user }}/trainings" # (they don't work for the go get stage in go 1.11) export GOPATH="$g" go get -u rescribe.xyz/bookpipeline/... && \ -cd "$g/src/rescribe.xyz/bookpipeline" && go install ./... && \ +cd "$g/src/rescribe.xyz/bookpipeline" && GO111MODULE=on go install ./... && \ sudo cp "$g/bin/bookpipeline" /usr/local/bin/ || exit 1 cd "$t" && git pull && \ |