Merge pull request #16464 from minikube-bot/auto_bump_golang_version-4b6d7ec
Update go from 1.20.3 to 1.20.4pull/16468/head
commit
ad0fc9997d
|
@ -12,7 +12,7 @@ on:
|
||||||
- "!deploy/iso/**"
|
- "!deploy/iso/**"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- master
|
- master
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ on:
|
||||||
- deleted
|
- deleted
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- 'v*-beta.*'
|
- 'v*-beta.*'
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ on:
|
||||||
- "!deploy/iso/**"
|
- "!deploy/iso/**"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ on:
|
||||||
- "!deploy/iso/**"
|
- "!deploy/iso/**"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 2,14 * * *"
|
- cron: "0 2,14 * * *"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 2,14 * * *"
|
- cron: "0 2,14 * * *"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ on:
|
||||||
types: [released]
|
types: [released]
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- "translations/**"
|
- "translations/**"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 3"
|
- cron: "0 10 * * 3"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 5"
|
- cron: "0 10 * * 5"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 4"
|
- cron: "0 10 * * 4"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 9 * * 1"
|
- cron: "0 9 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 9 * * 1"
|
- cron: "0 9 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 8 * * 1"
|
- cron: "0 8 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 6 * * 1"
|
- cron: "0 6 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 2"
|
- cron: "0 10 * * 2"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 10 * * 1"
|
- cron: "0 10 * * 1"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
- cron: "0 0 2 * *"
|
- cron: "0 0 2 * *"
|
||||||
env:
|
env:
|
||||||
GOPROXY: https://proxy.golang.org
|
GOPROXY: https://proxy.golang.org
|
||||||
GO_VERSION: '1.20.3'
|
GO_VERSION: '1.20.4'
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
# 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`
|
# update this only by running `make update-golang-version`
|
||||||
GO_VERSION ?= 1.20.3
|
GO_VERSION ?= 1.20.4
|
||||||
# update this only by running `make update-golang-version`
|
# update this only by running `make update-golang-version`
|
||||||
GO_K8S_VERSION_PREFIX ?= v1.27.0
|
GO_K8S_VERSION_PREFIX ?= v1.27.0
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
FROM golang:1.20.3
|
FROM golang:1.20.4
|
||||||
ADD auto-pause-hook /auto-pause-hook
|
ADD auto-pause-hook /auto-pause-hook
|
||||||
|
|
|
@ -11,3 +11,4 @@ sha256 3a29ff0421beaf6329292b8a46311c9fbf06c800077ceddef5fb7f8d5b1ace33 go1.20
|
||||||
sha256 b5c1a3af52c385a6d1c76aed5361cf26459023980d0320de7658bae3915831a2 go1.20.1.src.tar.gz
|
sha256 b5c1a3af52c385a6d1c76aed5361cf26459023980d0320de7658bae3915831a2 go1.20.1.src.tar.gz
|
||||||
sha256 4d0e2850d197b4ddad3bdb0196300179d095bb3aefd4dfbc3b36702c3728f8ab go1.20.2.src.tar.gz
|
sha256 4d0e2850d197b4ddad3bdb0196300179d095bb3aefd4dfbc3b36702c3728f8ab go1.20.2.src.tar.gz
|
||||||
sha256 e447b498cde50215c4f7619e5124b0fc4e25fb5d16ea47271c47f278e7aa763a go1.20.3.src.tar.gz
|
sha256 e447b498cde50215c4f7619e5124b0fc4e25fb5d16ea47271c47f278e7aa763a go1.20.3.src.tar.gz
|
||||||
|
sha256 9f34ace128764b7a3a4b238b805856cc1b2184304df9e5690825b0710f4202d6 go1.20.4.src.tar.gz
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# this ARG needs to be global to use it in `FROM` & is updated for new versions of ubuntu:focal-*
|
# this ARG needs to be global to use it in `FROM` & is updated for new versions of ubuntu:focal-*
|
||||||
ARG UBUNTU_FOCAL_IMAGE="ubuntu:focal-20230308"
|
ARG UBUNTU_FOCAL_IMAGE="ubuntu:focal-20230308"
|
||||||
# multi-stage docker build so we can build auto-pause for arm64
|
# multi-stage docker build so we can build auto-pause for arm64
|
||||||
FROM golang:1.20.3 as auto-pause
|
FROM golang:1.20.4 as auto-pause
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
# auto-pause depends on core minikube code so we need to pass the whole source code as the context
|
# 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
|
# copy in the minimal amount of source code possible
|
||||||
|
|
|
@ -31,7 +31,7 @@ AddToPathIfMissing -pathToAdd "C:\Program Files\Go\bin" -scope "Machine"
|
||||||
AddToPathIfMissing -pathToAdd "$HOME\go\bin" -scope "User"
|
AddToPathIfMissing -pathToAdd "$HOME\go\bin" -scope "User"
|
||||||
|
|
||||||
# Download Go
|
# Download Go
|
||||||
$GoVersion = "1.20.3"
|
$GoVersion = "1.20.4"
|
||||||
$CurrentGo = go version
|
$CurrentGo = go version
|
||||||
if ((!$?) -or ($CurrentGo -NotLike "*$GoVersion*")) {
|
if ((!$?) -or ($CurrentGo -NotLike "*$GoVersion*")) {
|
||||||
(New-Object Net.WebClient).DownloadFile("https://go.dev/dl/go$GoVersion.windows-amd64.zip", "$env:TEMP\golang.zip")
|
(New-Object Net.WebClient).DownloadFile("https://go.dev/dl/go$GoVersion.windows-amd64.zip", "$env:TEMP\golang.zip")
|
||||||
|
|
|
@ -22,7 +22,7 @@ if (($# < 1)); then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
VERSION_TO_INSTALL=1.20.3
|
VERSION_TO_INSTALL=1.20.4
|
||||||
INSTALL_PATH=${1}
|
INSTALL_PATH=${1}
|
||||||
|
|
||||||
function current_arch() {
|
function current_arch() {
|
||||||
|
|
Loading…
Reference in New Issue