Merge pull request #5990 from estesp/update-go-1.17.1
Update to Go 1.17.1
This commit is contained in:
		
							
								
								
									
										18
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @@ -20,7 +20,7 @@ jobs: | |||||||
|  |  | ||||||
|     strategy: |     strategy: | ||||||
|       matrix: |       matrix: | ||||||
|         go-version: [1.17] |         go-version: [1.17.1] | ||||||
|         os: [ubuntu-18.04, macos-10.15, windows-2019] |         os: [ubuntu-18.04, macos-10.15, windows-2019] | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
| @@ -46,7 +46,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|         with: |         with: | ||||||
| @@ -78,7 +78,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|         with: |         with: | ||||||
| @@ -111,7 +111,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|       - 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 | ||||||
| @@ -145,7 +145,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|       - run: | |       - run: | | ||||||
|           set -e -x |           set -e -x | ||||||
| @@ -202,7 +202,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.17'] |         go-version: ['1.17.1'] | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
| @@ -244,7 +244,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|         with: |         with: | ||||||
| @@ -325,7 +325,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|  |  | ||||||
| @@ -444,7 +444,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|       - 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 | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								.github/workflows/nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/nightly.yml
									
									
									
									
										vendored
									
									
								
							| @@ -18,7 +18,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v2 |       - uses: actions/setup-go@v2 | ||||||
|         with: |         with: | ||||||
|           go-version: '1.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - 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.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|         with: |         with: | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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.17' |           go-version: '1.17.1' | ||||||
|  |  | ||||||
|       - name: Set env |       - name: Set env | ||||||
|         shell: bash |         shell: bash | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|   become: yes |   become: yes | ||||||
|   roles: |   roles: | ||||||
|   - role: config-golang |   - role: config-golang | ||||||
|     go_version: '1.17' |     go_version: '1.17.1' | ||||||
|     arch: arm64 |     arch: arm64 | ||||||
|   tasks: |   tasks: | ||||||
|   - name: Install pre-requisites |   - name: Install pre-requisites | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|   become: yes |   become: yes | ||||||
|   roles: |   roles: | ||||||
|   - role: config-golang |   - role: config-golang | ||||||
|     go_version: '1.17' |     go_version: '1.17.1' | ||||||
|     arch: arm64 |     arch: arm64 | ||||||
|   tasks: |   tasks: | ||||||
|   - name: Build containerd |   - name: Build containerd | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
|   become: yes |   become: yes | ||||||
|   roles: |   roles: | ||||||
|   - role: config-golang |   - role: config-golang | ||||||
|     go_version: '1.17' |     go_version: '1.17.1' | ||||||
|     arch: arm64 |     arch: arm64 | ||||||
|   tasks: |   tasks: | ||||||
|   - name: Build and test containerd |   - name: Build and test containerd | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
								
							| @@ -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.17", |         'GO_VERSION': ENV['GO_VERSION'] || "1.17.1", | ||||||
|     } |     } | ||||||
|     sh.inline = <<~SHELL |     sh.inline = <<~SHELL | ||||||
|         #!/usr/bin/env bash |         #!/usr/bin/env bash | ||||||
|   | |||||||
| @@ -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.17 | ARG GOLANG_VERSION=1.17.1 | ||||||
| ARG GOLANG_IMAGE=golang | ARG GOLANG_IMAGE=golang | ||||||
|  |  | ||||||
| FROM ${GOLANG_IMAGE}:${GOLANG_VERSION} AS golang | FROM ${GOLANG_IMAGE}:${GOLANG_VERSION} AS golang | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Akihiro Suda
					Akihiro Suda