3 # Copyright (C) The Arvados Authors. All rights reserved.
5 # SPDX-License-Identifier: Apache-2.0
9 # Install the dependencies for arvados-server
10 sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y libpam0g-dev wget"
14 sudo wget https://golang.org/dl/go1.16.3.linux-amd64.tar.gz
15 sudo tar xzf go1.16.3.linux-amd64.tar.gz
16 sudo ln -s /usr/src/go/bin/go /usr/local/bin/go-1.16.3
17 sudo ln -s /usr/src/go/bin/gofmt /usr/local/bin/gofmt-1.16.3
18 sudo ln -s /usr/local/bin/go-1.16.3 /usr/local/bin/go
19 sudo ln -s /usr/local/bin/gofmt-1.16.3 /usr/local/bin/gofmt
21 # Check out a local copy of the arvados repo so we can use it to install the dependencies
23 sudo git clone arvados.git
26 sudo go run ./cmd/arvados-server install -type test
28 # Our Jenkins jobs use this directory to store the temporary files for the tests
29 mkdir /home/jenkins/tmp