mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
Bump images, dependencies and versions to go 1.24.0
Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
@@ -508,7 +508,7 @@ kube::golang::set_platform_envs() {
|
||||
|
||||
# if CC is defined for platform then always enable it
|
||||
ccenv=$(echo "$platform" | awk -F/ '{print "KUBE_" toupper($1) "_" toupper($2) "_CC"}')
|
||||
if [ -n "${!ccenv-}" ]; then
|
||||
if [ -n "${!ccenv-}" ]; then
|
||||
export CGO_ENABLED=1
|
||||
export CC="${!ccenv}"
|
||||
fi
|
||||
@@ -551,7 +551,7 @@ EOF
|
||||
local go_version
|
||||
IFS=" " read -ra go_version <<< "$(GOFLAGS='' go version)"
|
||||
local minimum_go_version
|
||||
minimum_go_version=go1.23
|
||||
minimum_go_version=go1.24
|
||||
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
|
||||
kube::log::usage_from_stdin <<EOF
|
||||
Detected go version: ${go_version[*]}.
|
||||
|
||||
Reference in New Issue
Block a user