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/**"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.21.6'
GO_VERSION: '1.22.0'
permissions:
contents: read

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ on:
- cron: "0 0 2 * *"
env:
GOPROXY: https://proxy.golang.org
GO_VERSION: '1.21.6'
GO_VERSION: '1.22.0'
permissions:
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
# 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`
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
COPY go.mod go.sum ./
RUN go mod download

View File

@ -24,3 +24,4 @@ sha256 186f2b6f8c8b704e696821b09ab2041a5c1ee13dcbc3156a13adcf75931ee488 go1.21
sha256 47b26a83d2b65a3c1c1bcace273b69bee49a7a7b5168a7604ded3d26a37bd787 go1.21.4.src.tar.gz
sha256 285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19 go1.21.5.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-*
ARG UBUNTU_JAMMY_IMAGE="ubuntu:jammy-20231211.1"
# 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
# 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

2
go.mod
View File

@ -1,6 +1,6 @@
module k8s.io/minikube
go 1.21
go 1.22
require (
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"
# Download Go
$GoVersion = "1.21.6"
$GoVersion = "1.22.0"
$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.21.6
VERSION_TO_INSTALL=1.22.0
INSTALL_PATH=${1}
function current_arch() {