Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG KUBECTL=rancher/kubectl:v1.33.1
FROM ${KUBECTL} AS kubectl

FROM registry.suse.com/bci/golang:1.24
FROM registry.suse.com/bci/golang:1.25

COPY --from=kubectl /bin/kubectl /usr/local/bin/kubectl

Expand All @@ -19,8 +19,8 @@ RUN if [ "${ARCH:-$(go env GOARCH)}" = "amd64" ]; then \
RUN mkdir -p /usr/local/lib/docker/cli-plugins; \
curl -o /usr/local/lib/docker/cli-plugins/docker-buildx -fsSL "https://github.com/docker/buildx/releases/download/v0.17.1/buildx-v0.17.1.linux-amd64"; \
chmod +x /usr/local/lib/docker/cli-plugins/docker-buildx
RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.17.3 && \
go install github.com/elastic/crd-ref-docs@v0.1.0
RUN go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.19.0 && \
go install github.com/elastic/crd-ref-docs@v0.2.0
ENV DAPPER_ENV REPO TAG DRONE_TAG
ENV DAPPER_SOURCE /go/src/github.com/rancher/system-upgrade-controller/
ENV DAPPER_OUTPUT ./bin ./dist
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/rancher/system-upgrade-controller

go 1.24.6
go 1.25.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brandond go 1.25.3 just released. should i change this line from go 1.25.0 to go 1.25.3 . toolchain needs to be changed aswell right?

Copy link
Member

@brandond brandond Oct 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bci/golang:1.25 hardcodes GOTOOLCHAIN env var to whatever patch version is in the image. That said, the new patch release isn't available from BCI yet:

brandond@dev01:~$ docker run registry.suse.com/bci/golang:1.25 go version
go version go1.25.2 linux/amd64

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS C:\Users\pc\Desktop> docker run registry.suse.com/bci/golang:1.25 go version
go version go1.25.2 linux/amd64

@brandond is there any action item from our side to push for 1.25.3?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi; BCI got go 1.25.3

hammad.saeedi@Hammads-MacBook-Pro % docker run registry.suse.com/bci/golang:1.25 go version
go version go1.25.3 linux/arm64


toolchain go1.24.7
toolchain go1.25.1

replace (
github.com/distribution/reference => github.com/distribution/reference v0.5.0
Expand Down
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BCI=registry.suse.com/bci/bci-base:15.6
ARG GOLANG=registry.suse.com/bci/golang:1.24
ARG GOLANG=registry.suse.com/bci/golang:1.25
ARG ALPINE=alpine:3.22

FROM ${GOLANG} AS e2e-ginkgo
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/rancher/system-upgrade-controller/pkg/apis

go 1.24.0
go 1.25.0

toolchain go1.24.7
toolchain go1.25.1

require (
github.com/kubereboot/kured v1.13.1
Expand Down
2 changes: 1 addition & 1 deletion pkg/crds/yaml/generated/upgrade.cattle.io_plans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.17.3
controller-gen.kubebuilder.io/version: v0.19.0
name: plans.upgrade.cattle.io
spec:
group: upgrade.cattle.io
Expand Down
Loading