[ARVADOS-DEV] updated: 29cd7deb30b7900b08f6ef92d335b857d86e85e7

Git user git at public.arvados.org
Wed May 5 15:16:34 UTC 2021


Summary of changes:
 jenkins/packer-images/jenkins-image-arvados-tests.sh | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

       via  29cd7deb30b7900b08f6ef92d335b857d86e85e7 (commit)
      from  791c2132eb4ea1357d2a67a2b82669e6b8b48f34 (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 29cd7deb30b7900b08f6ef92d335b857d86e85e7
Author: Ward Vandewege <ward at curii.com>
Date:   Wed May 5 11:16:16 2021 -0400

    Bump go to 1.16.3.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/jenkins/packer-images/jenkins-image-arvados-tests.sh b/jenkins/packer-images/jenkins-image-arvados-tests.sh
index 50c873a..36f17fd 100755
--- a/jenkins/packer-images/jenkins-image-arvados-tests.sh
+++ b/jenkins/packer-images/jenkins-image-arvados-tests.sh
@@ -7,14 +7,23 @@
 set -eo pipefail
 
 # Install the dependencies for arvados-server
-sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y libpam0g-dev golang-1.14"
+sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y libpam0g-dev wget"
+
+# Get Go 1.16.3
+cd /usr/src
+sudo wget https://golang.org/dl/go1.16.3.linux-amd64.tar.gz
+sudo tar xzf go1.16.3.linux-amd64.tar.gz
+sudo ln -s /usr/src/go/bin/go /usr/local/bin/go-1.16.3
+sudo ln -s /usr/src/go/bin/gofmt /usr/local/bin/gofmt-1.16.3
+sudo ln -s /usr/local/bin/go-1.16.3 /usr/local/bin/go
+sudo ln -s /usr/local/bin/gofmt-1.16.3 /usr/local/bin/gofmt
 
 # Check out a local copy of the arvados repo so we can use it to install the dependencies
 cd /usr/src
 sudo git clone arvados.git
 cd arvados
-/usr/lib/go-1.14/bin/go mod download
-sudo /usr/lib/go-1.14/bin/go run ./cmd/arvados-server install -type test
+go mod download
+sudo go run ./cmd/arvados-server install -type test
 
 # Our Jenkins jobs use this directory to store the temporary files for the tests
 mkdir /home/jenkins/tmp

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list