Skip to content

Commit d638585

Browse files
authored
Merge pull request #2104 from mythi/PR-2025-015
build: use Go 1.25 and trixie
2 parents 93d74ea + 6454dc7 commit d638585

30 files changed

+40
-38
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@4afd733a84b1f43292c63897423277bb7f4313a9 # v7
4848
with:
49-
version: v2.1.6
49+
version: v2.4.0
5050
args: -v --timeout 5m
5151
build:
5252
name: Build and check device plugins

.golangci.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ linters:
2929
- unconvert
3030
- unused
3131
- whitespace
32-
- wsl
3332
settings:
3433
gocognit:
3534
min-complexity: 31
@@ -60,16 +59,11 @@ linters:
6059
- linters:
6160
- gocognit
6261
- gocyclo
63-
- wsl
6462
path: _test\.go
6563
- linters:
6664
- gocognit
6765
- gocyclo
68-
- wsl
6966
path: test/e2e/
70-
- linters:
71-
- wsl
72-
path: cmd/gpu_fakedev/
7367
- linters:
7468
- goconst
7569
path: (.+)_test\.go

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.18.0
13-
GOLANGCI_LINT_VERSION ?= v2.1.6
13+
GOLANGCI_LINT_VERSION ?= v2.4.0
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.24-bookworm
173+
@$(BUILDER) pull golang:1.25-trixie
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.24-bookworm \
34+
--build-arg BUILD_BASE=golang:1.25-trixie \
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.24-bookworm
37+
ARG GOLANG_BASE=golang:1.25-trixie
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.24-bookworm
36+
ARG GOLANG_BASE=golang:1.25-trixie
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.24-bookworm
37+
ARG GOLANG_BASE=golang:1.25-trixie
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.24-bookworm
37+
ARG GOLANG_BASE=golang:1.25-trixie
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.24-bookworm
37+
ARG GOLANG_BASE=golang:1.25-trixie
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.24-bookworm
36+
ARG GOLANG_BASE=golang:1.25-trixie
3737
###
3838
FROM ${GOLANG_BASE} AS builder
3939
ARG DIR=/intel-device-plugins-for-kubernetes

0 commit comments

Comments
 (0)