Merge pull request #16023 from minikube-bot/auto_bump_golang_version

bump golang version
pull/16034/head
Medya Ghazizadeh 2023-03-11 00:15:56 -08:00 committed by GitHub
commit 8cbdbe3d0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
30 changed files with 30 additions and 29 deletions

View File

@ -12,7 +12,7 @@ on:
- "!deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- master
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -22,7 +22,7 @@ on:
- deleted
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- 'v*-beta.*'
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -14,7 +14,7 @@ on:
- "!deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -12,7 +12,7 @@ on:
- "!deploy/iso/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 2,14 * * *"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 2,14 * * *"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -5,7 +5,7 @@ on:
types: [released]
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- "translations/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 3"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 5"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 9 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 9 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 10 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 8 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 6 * * 1"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -6,7 +6,7 @@ on:
- cron: "0 0 2 * *"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.20.1'
GO_VERSION: '1.20.2'
permissions:
contents: read

View File

@ -34,7 +34,7 @@ RPM_REVISION ?= 0
# used by hack/jenkins/release_build_and_upload.sh and KVM_BUILD_IMAGE, see also BUILD_IMAGE below
# update this only by running `make update-golang-version`
GO_VERSION ?= 1.20.1
GO_VERSION ?= 1.20.2
# update this only by running `make update-golang-version`
GO_K8S_VERSION_PREFIX ?= v1.27.0

View File

@ -1,2 +1,2 @@
FROM golang:1.20.1
FROM golang:1.20.2
ADD auto-pause-hook /auto-pause-hook

View File

@ -9,3 +9,4 @@ sha256 8e486e8e85a281fc5ce3f0bedc5b9d2dbf6276d7db0b25d3ec034f313da0375f go1.19
sha256 d7f0013f82e6d7f862cc6cb5c8cdb48eef5f2e239b35baa97e2f1a7466043767 go1.19.6.src.tar.gz
sha256 3a29ff0421beaf6329292b8a46311c9fbf06c800077ceddef5fb7f8d5b1ace33 go1.20.src.tar.gz
sha256 b5c1a3af52c385a6d1c76aed5361cf26459023980d0320de7658bae3915831a2 go1.20.1.src.tar.gz
sha256 4d0e2850d197b4ddad3bdb0196300179d095bb3aefd4dfbc3b36702c3728f8ab go1.20.2.src.tar.gz

View File

@ -19,7 +19,7 @@
# multi-stage docker build so we can build auto-pause for arm64
FROM golang:1.20.1 as auto-pause
FROM golang:1.20.2 as auto-pause
WORKDIR /src
# auto-pause depends on core minikube code so we need to pass the whole source code as the context
# copy in the minimal amount of source code possible

View File

@ -31,7 +31,7 @@ AddToPathIfMissing -pathToAdd "C:\Program Files\Go\bin" -scope "Machine"
AddToPathIfMissing -pathToAdd "$HOME\go\bin" -scope "User"
# Download Go
$GoVersion = "1.20.1"
$GoVersion = "1.20.2"
$CurrentGo = go version
if ((!$?) -or ($CurrentGo -NotLike "*$GoVersion*")) {
(New-Object Net.WebClient).DownloadFile("https://go.dev/dl/go$GoVersion.windows-amd64.zip", "$env:TEMP\golang.zip")

View File

@ -22,7 +22,7 @@ if (($# < 1)); then
exit 1
fi
VERSION_TO_INSTALL=1.20.1
VERSION_TO_INSTALL=1.20.2
INSTALL_PATH=${1}
function current_arch() {