Skip to content

Commit 3c06051

Browse files
authored
Merge pull request #1990 from mythi/PR-2025-004
build: use Go 1.24
2 parents d749d32 + 1a6300d commit 3c06051

25 files changed

+26
-26
lines changed

.github/workflows/lib-validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: golangci-lint
4747
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6
4848
with:
49-
version: v1.63.1
49+
version: v1.64.5
5050
args: -v --timeout 5m
5151
build:
5252
name: Build and check device plugins

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ EXTRA_BUILD_ARGS ?= ""
1010

1111
CERT_MANAGER_VERSION ?= v1.15.2
1212
CONTROLLER_GEN_VERSION ?= v0.17.0
13-
GOLANGCI_LINT_VERSION ?= v1.63.1
13+
GOLANGCI_LINT_VERSION ?= v1.64.5
1414
KIND_VERSION ?= v0.23.0
1515
GOLICENSES_VERSION ?= v1.6.0
1616
# Default bundle image tag
@@ -170,7 +170,7 @@ e2e-spr:
170170

171171
pre-pull:
172172
ifeq ($(TAG),devel)
173-
@$(BUILDER) pull golang:1.23-bookworm
173+
@$(BUILDER) pull golang:1.24-bookworm
174174
@$(BUILDER) pull debian:unstable-slim
175175
@$(BUILDER) pull ubuntu:22.04
176176
endif

build/docker/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131

3232
BUILD_ARGS="${BUILD_ARGS} \
3333
--build-arg FINAL_BASE=gcr.io/distroless/static \
34-
--build-arg BUILD_BASE=golang:1.23-bookworm \
34+
--build-arg BUILD_BASE=golang:1.24-bookworm \
3535
--build-arg FINAL_BASE_DYN=debian:unstable-slim \
3636
--build-arg ROCKYLINUX=0"
3737

build/docker/intel-deviceplugin-operator.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dlb-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.23-bookworm
36+
ARG GOLANG_BASE=golang:1.24-bookworm
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dlb-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-dsa-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-admissionwebhook.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.23-bookworm
36+
ARG GOLANG_BASE=golang:1.24-bookworm
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-fpga-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-gpu-fakedev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-gpu-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.23-bookworm
36+
ARG GOLANG_BASE=golang:1.24-bookworm
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-gpu-levelzero.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ENV LDFLAGS="all=-linkmode=external -s -w"
3535
ARG GOLICENSES_VERSION
3636
ARG CMD
3737
ARG ROCKYLINUX
38-
ARG CGO_VERSION=1.23
38+
ARG CGO_VERSION=1.24
3939
RUN mkdir /runtime
4040
RUN if [ $ROCKYLINUX -eq 0 ]; then \
4141
apt-get update && apt-get install --no-install-recommends -y wget libc6-dev ca-certificates ocl-icd-libopencl1 && \

build/docker/intel-gpu-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-iaa-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-qat-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.23-bookworm
36+
ARG GOLANG_BASE=golang:1.24-bookworm
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-qat-plugin-kerneldrv.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.23-bookworm
36+
ARG GOLANG_BASE=golang:1.24-bookworm
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-qat-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-sgx-admissionwebhook.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-sgx-initcontainer.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3333
##
3434
## This is used on release branches before tagging a stable version.
3535
## The main branch defaults to using the latest Golang base image.
36-
ARG GOLANG_BASE=golang:1.23-bookworm
36+
ARG GOLANG_BASE=golang:1.24-bookworm
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-sgx-plugin.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/intel-xpumanager-sidecar.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ARG FINAL_BASE=registry.access.redhat.com/ubi9-micro:latest
3434
##
3535
## This is used on release branches before tagging a stable version.
3636
## The main branch defaults to using the latest Golang base image.
37-
ARG GOLANG_BASE=golang:1.23-bookworm
37+
ARG GOLANG_BASE=golang:1.24-bookworm
3838
###
3939
FROM ${GOLANG_BASE} AS builder
4040
ARG DIR=/intel-device-plugins-for-kubernetes

build/docker/lib/golang_base.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
##
66
## This is used on release branches before tagging a stable version.
77
## The main branch defaults to using the latest Golang base image.
8-
ARG GOLANG_BASE=golang:1.23-bookworm
8+
ARG GOLANG_BASE=golang:1.24-bookworm
99
###

build/docker/templates/intel-gpu-levelzero.Dockerfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ENV LDFLAGS="all=-linkmode=external -s -w"
2626
ARG GOLICENSES_VERSION
2727
ARG CMD
2828
ARG ROCKYLINUX
29-
ARG CGO_VERSION=1.23
29+
ARG CGO_VERSION=1.24
3030

3131
RUN mkdir /runtime
3232

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/intel/intel-device-plugins-for-kubernetes
22

3-
go 1.23.0
3+
go 1.24.0
44

55
require (
66
github.com/fsnotify/fsnotify v1.8.0

0 commit comments

Comments
 (0)