[ARVADOS] updated: 1.3.0-1850-g3b9af4b0f

Git user git at public.curoverse.com
Thu Nov 14 20:03:40 UTC 2019


Summary of changes:
 tools/arvbox/lib/arvbox/docker/go-setup.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

       via  3b9af4b0f7eb42115f57189f657b12a0ae2e3a8c (commit)
      from  ca6544470298ca1586b7de5ead8c5ff4894443fe (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 3b9af4b0f7eb42115f57189f657b12a0ae2e3a8c
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Thu Nov 14 15:03:22 2019 -0500

    15107: arvbox uses "go mod download" instead of "go get ..."
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/tools/arvbox/lib/arvbox/docker/go-setup.sh b/tools/arvbox/lib/arvbox/docker/go-setup.sh
index 20b2e30a0..15a11b058 100644
--- a/tools/arvbox/lib/arvbox/docker/go-setup.sh
+++ b/tools/arvbox/lib/arvbox/docker/go-setup.sh
@@ -7,6 +7,11 @@ export GOPATH=/var/lib/gopath
 mkdir -p $GOPATH
 
 cd /usr/src/arvados
-flock /var/lib/gopath/gopath.lock go get -v -d ...
-flock /var/lib/gopath/gopath.lock go get -t ./cmd/arvados-server
+if [[ $UID = 0 ]] ; then
+    /usr/local/lib/arvbox/runsu.sh flock /var/lib/gopath/gopath.lock go mod download
+    /usr/local/lib/arvbox/runsu.sh flock /var/lib/gopath/gopath.lock go get ./cmd/arvados-server
+else
+    flock /var/lib/gopath/gopath.lock go mod download
+    flock /var/lib/gopath/gopath.lock go get ./cmd/arvados-server
+fi
 install $GOPATH/bin/arvados-server /usr/local/bin

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list