File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ Vagrant.configure("2") do |config|
2828 # without keeping HOME env, 'sudo make test' will try to find files under /root/go/
2929 echo "Defaults env_keep += HOME" | sudo tee /etc/sudoers.d/keep_home
3030
31- # Install golang-1.17
31+ # Install golang-1.19.1
3232 if [ ! -f "/usr/local/go/bin/go" ]; then
33- curl -s -L -o go1.17. linux-amd64.tar.gz https://dl.google.com/go/go1.17 .linux-amd64.tar.gz
34- sudo tar -C /usr/local -xzf go1.17 .linux-amd64.tar.gz
33+ curl -s -L -o go1.19.1. linux-amd64.tar.gz https://dl.google.com/go/go1.19.1 .linux-amd64.tar.gz
34+ sudo tar -C /usr/local -xzf go1.19.1 .linux-amd64.tar.gz
3535 sudo chmod +x /usr/local/go
36- rm -f go1.17 .linux-amd64.tar.gz
36+ rm -f go1.19.1 .linux-amd64.tar.gz
3737 fi
3838
3939 # Install nomad-1.1.12
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [ -e /home/runner ]; then
1111else
1212 export GOPATH=$HOME /go
1313fi
14- export GO_VERSION=1.17
14+ export GO_VERSION=1.19.1
1515export SRCDIR=` dirname $0 `
1616source $SRCDIR /utils.sh
1717
@@ -121,11 +121,11 @@ EOF
121121 sudo systemctl start containerd
122122 is_systemd_service_active " containerd.service" false
123123
124- # Remove default golang (1.7.3) and install a custom version (1.17 ) of golang.
124+ # Remove default golang (1.7.3) and install a custom version (1.19.1 ) of golang.
125125 # This is required for supporting go mod, and to be able to compile nomad-driver-containerd.
126126 sudo rm -rf /usr/local/go
127127
128- # Install golang 1.17
128+ # Install golang 1.19.1
129129 curl -L -o go${GO_VERSION} .linux-amd64.tar.gz https://dl.google.com/go/go${GO_VERSION} .linux-amd64.tar.gz
130130 sudo tar -C /usr/local -xzf go${GO_VERSION} .linux-amd64.tar.gz
131131 sudo chmod +x /usr/local/go
You can’t perform that action at this time.
0 commit comments