Update go from 1.21.6 to

pull/18197/head
minikube-bot 2024-02-19 09:02:01 +00:00
parent 0d8460b2a8
commit 0919c459ba
58 changed files with 58 additions and 57 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

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

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

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

View File

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

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -3,7 +3,7 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
GOPROXY: https://proxy.golang.org GOPROXY: https://proxy.golang.org
GO_VERSION: '1.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read
jobs: jobs:

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -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.21.6' GO_VERSION: '1.22.0'
permissions: permissions:
contents: read contents: read

View File

@ -35,7 +35,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.21.6 GO_VERSION ?= 1.22.0
# update this only by running `make update-golang-version` # update this only by running `make update-golang-version`
GO_K8S_VERSION_PREFIX ?= v1.30.0 GO_K8S_VERSION_PREFIX ?= v1.30.0

View File

@ -1,4 +1,4 @@
FROM golang:1.21.6 AS builder FROM golang:1.22.0 AS builder
WORKDIR /app WORKDIR /app
COPY go.mod go.sum ./ COPY go.mod go.sum ./
RUN go mod download RUN go mod download

View File

@ -24,3 +24,4 @@ sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21
sha256 47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787 go1.21.4.src.tar.gz sha256 47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787 go1.21.4.src.tar.gz
sha256 285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19 go1.21.5.src.tar.gz sha256 285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19 go1.21.5.src.tar.gz
sha256 124926a62e45f78daabbaedb9c011d97633186a33c238ffc1e25320c02046248 go1.21.6.src.tar.gz sha256 124926a62e45f78daabbaedb9c011d97633186a33c238ffc1e25320c02046248 go1.21.6.src.tar.gz
sha256 4d196c3d41a0d6c1dfc64d04e3cc1f608b0c436bd87b7060ce3e23234e1f4d5c go1.22.0.src.tar.gz

View File

@ -21,7 +21,7 @@
# this ARG needs to be global to use it in `FROM` & is updated for new versions of ubuntu:jammy-* # this ARG needs to be global to use it in `FROM` & is updated for new versions of ubuntu:jammy-*
ARG UBUNTU_JAMMY_IMAGE="ubuntu:jammy-20231211.1" ARG UBUNTU_JAMMY_IMAGE="ubuntu:jammy-20231211.1"
# 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.21.6 as auto-pause FROM golang:1.22.0 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

2
go.mod
View File

@ -1,6 +1,6 @@
module k8s.io/minikube module k8s.io/minikube
go 1.21 go 1.22
require ( require (
cloud.google.com/go/storage v1.38.0 cloud.google.com/go/storage v1.38.0

View File

@ -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.21.6" $GoVersion = "1.22.0"
$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")

View File

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