[ARVADOS] updated: 70ec5fc0c8c149e75de7a4a9b1c502fba0992743

Git user git at public.curoverse.com
Thu Aug 3 15:08:38 EDT 2017


Summary of changes:
 build/run-build-packages.sh | 1 +
 build/run-library.sh        | 1 +
 2 files changed, 2 insertions(+)

       via  70ec5fc0c8c149e75de7a4a9b1c502fba0992743 (commit)
      from  581cd8822cd5fe0893de04c2222e3b1b413debb4 (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 70ec5fc0c8c149e75de7a4a9b1c502fba0992743
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Aug 3 15:07:48 2017 -0400

    12024: Use vendor bundle when building Go packages.
    
    refs #12024
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curoverse.com>

diff --git a/build/run-build-packages.sh b/build/run-build-packages.sh
index 39c4093..a0a6c5f 100755
--- a/build/run-build-packages.sh
+++ b/build/run-build-packages.sh
@@ -340,6 +340,7 @@ fi
 # Go binaries
 cd $WORKSPACE/packages/$TARGET
 export GOPATH=$(mktemp -d)
+go get -v github.com/kardianos/govendor
 package_go_binary sdk/go/crunchrunner crunchrunner \
     "Crunchrunner executes a command inside a container and uploads the output"
 package_go_binary services/arv-git-httpd arvados-git-httpd \
diff --git a/build/run-library.sh b/build/run-library.sh
index cbb5ee8..cf7755b 100755
--- a/build/run-library.sh
+++ b/build/run-library.sh
@@ -103,6 +103,7 @@ package_go_binary() {
 
     mkdir -p "$GOPATH/src/git.curoverse.com"
     ln -sfn "$WORKSPACE" "$GOPATH/src/git.curoverse.com/arvados.git"
+    (cd "$GOPATH/src/git.curoverse.com/arvados.git" && "$GOPATH/bin/govendor" sync -v)
 
     cd "$GOPATH/src/git.curoverse.com/arvados.git/$src_path"
     local version="$(version_from_git)"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list