Update Go to 1.16.7

go1.16.7 (released 2021-08-05) includes a security fix to the net/http/httputil
package, as well as bug fixes to the compiler, the linker, the runtime, the go
command, and the net/http package. See the Go 1.16.7 milestone on the issue
tracker for details:

https://github.com/golang/go/issues?q=milestone%3AGo1.16.7+label%3ACherryPickApproved

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-08-07 17:59:29 +02:00
parent fedd657ea0
commit 42a28ad2ca
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
9 changed files with 18 additions and 18 deletions

View File

@ -20,7 +20,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go-version: [1.16.6] go-version: [1.16.7]
os: [ubuntu-18.04, macos-10.15, windows-2019] os: [ubuntu-18.04, macos-10.15, windows-2019]
steps: steps:
@ -41,7 +41,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -73,7 +73,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -106,7 +106,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: go get github.com/cpuguy83/go-md2man/v2@v2.0.1 - run: go get github.com/cpuguy83/go-md2man/v2@v2.0.1
- run: make man - run: make man
@ -140,7 +140,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: | - run: |
set -e -x set -e -x
@ -197,7 +197,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, macos-10.15, windows-2019] os: [ubuntu-18.04, macos-10.15, windows-2019]
go-version: ['1.16.6'] go-version: ['1.16.7']
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
@ -239,7 +239,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -320,7 +320,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -439,7 +439,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: sudo -E PATH=$PATH script/setup/install-gotestsum - run: sudo -E PATH=$PATH script/setup/install-gotestsum
- name: Tests - name: Tests

View File

@ -18,7 +18,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -135,7 +135,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

View File

@ -62,7 +62,7 @@ jobs:
- name: Install Go - name: Install Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.16.6' go-version: '1.16.7'
- name: Set env - name: Set env
shell: bash shell: bash

View File

@ -2,7 +2,7 @@
become: yes become: yes
roles: roles:
- role: config-golang - role: config-golang
go_version: '1.16.3' go_version: '1.16.7'
arch: arm64 arch: arm64
tasks: tasks:
- name: Install pre-requisites - name: Install pre-requisites

View File

@ -2,7 +2,7 @@
become: yes become: yes
roles: roles:
- role: config-golang - role: config-golang
go_version: '1.16.6' go_version: '1.16.7'
arch: arm64 arch: arm64
tasks: tasks:
- name: Build containerd - name: Build containerd

View File

@ -2,7 +2,7 @@
become: yes become: yes
roles: roles:
- role: config-golang - role: config-golang
go_version: '1.16.3' go_version: '1.16.7'
arch: arm64 arch: arm64
tasks: tasks:
- name: Build and test containerd - name: Build and test containerd

2
Vagrantfile vendored
View File

@ -77,7 +77,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "install-golang", type: "shell", run: "once" do |sh| config.vm.provision "install-golang", type: "shell", run: "once" do |sh|
sh.upload_path = "/tmp/vagrant-install-golang" sh.upload_path = "/tmp/vagrant-install-golang"
sh.env = { sh.env = {
'GO_VERSION': ENV['GO_VERSION'] || "1.16.6", 'GO_VERSION': ENV['GO_VERSION'] || "1.16.7",
} }
sh.inline = <<~SHELL sh.inline = <<~SHELL
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -10,7 +10,7 @@
# #
# docker build -t containerd-test --build-arg RUNC_VERSION=v1.0.0-rc94 -f Dockerfile.test ../ # docker build -t containerd-test --build-arg RUNC_VERSION=v1.0.0-rc94 -f Dockerfile.test ../
ARG GOLANG_VERSION=1.16.6 ARG GOLANG_VERSION=1.16.7
ARG GOLANG_IMAGE=golang ARG GOLANG_IMAGE=golang
FROM ${GOLANG_IMAGE}:${GOLANG_VERSION} AS golang FROM ${GOLANG_IMAGE}:${GOLANG_VERSION} AS golang

View File

@ -1,6 +1,6 @@
# Prepare windows environment for building and running containerd tests # Prepare windows environment for building and running containerd tests
$PACKAGES= @{ mingw = ""; git = ""; golang = "1.16.6"; make = "" } $PACKAGES= @{ mingw = ""; git = ""; golang = "1.16.7"; make = "" }
write-host "Downloading chocolatey package" write-host "Downloading chocolatey package"
curl.exe -L "https://packages.chocolatey.org/chocolatey.0.10.15.nupkg" -o 'c:\choco.zip' curl.exe -L "https://packages.chocolatey.org/chocolatey.0.10.15.nupkg" -o 'c:\choco.zip'