Upgrade to Go 1.25.0 (#1296)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
Post / images (amd64, addon-manager) (push) Failing after 1s
Post / images (amd64, placement) (push) Failing after 1s
Post / images (amd64, registration) (push) Failing after 1s
Post / images (amd64, registration-operator) (push) Failing after 1s
Post / images (amd64, work) (push) Failing after 1s
Post / images (arm64, addon-manager) (push) Failing after 1s
Post / images (arm64, placement) (push) Failing after 1s
Post / images (arm64, registration) (push) Failing after 1s
Post / images (arm64, registration-operator) (push) Failing after 1s
Post / images (arm64, work) (push) Failing after 1s
Post / image manifest (addon-manager) (push) Has been skipped
Post / image manifest (placement) (push) Has been skipped
Post / image manifest (registration) (push) Has been skipped
Post / image manifest (registration-operator) (push) Has been skipped
Post / image manifest (work) (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 18m26s
Close stale issues and PRs / stale (push) Failing after 1s

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Qing Hao <qhao@redhat.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Qing Hao
2025-12-17 04:11:32 +08:00
committed by GitHub
parent 0fef2e5fa7
commit f01915afb4
16 changed files with 30 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ on:
- release-*
env:
GO_VERSION: '1.24'
GO_VERSION: '1.25'
GO_REQUIRED_MIN_VERSION: ''
permissions:

View File

@@ -15,7 +15,7 @@ on:
- release-*
env:
GO_VERSION: '1.24'
GO_VERSION: '1.25'
GO_REQUIRED_MIN_VERSION: ''
USE_EXISTING_CLUSTER: false # set to true to use an existing kind cluster for debugging with act

View File

@@ -13,7 +13,7 @@ on:
env:
# Common versions
GO_VERSION: '1.24'
GO_VERSION: '1.25'
GO_REQUIRED_MIN_VERSION: ''
permissions:

View File

@@ -13,7 +13,7 @@ on:
- release-*
env:
GO_VERSION: '1.24'
GO_VERSION: '1.25'
GO_REQUIRED_MIN_VERSION: ''
permissions:

View File

@@ -6,7 +6,7 @@ on:
- 'v*.*.*'
env:
# Common versions
GO_VERSION: '1.24'
GO_VERSION: '1.25'
GO_REQUIRED_MIN_VERSION: ''
GOPATH: '/home/runner/work/ocm/ocm/go'
GITHUB_REF: ${{ github.ref }}

View File

@@ -1,4 +1,4 @@
FROM golang:1.24-bullseye AS builder
FROM golang:1.25-bookworm AS builder
ARG OS=linux
ARG ARCH=amd64
WORKDIR /go/src/open-cluster-management.io/ocm

View File

@@ -1,4 +1,4 @@
FROM golang:1.24-bullseye AS builder
FROM golang:1.25-bookworm AS builder
ARG OS=linux
ARG ARCH=amd64
WORKDIR /go/src/open-cluster-management.io/ocm

View File

@@ -1,4 +1,4 @@
FROM golang:1.24-bullseye AS builder
FROM golang:1.25-bookworm AS builder
ARG OS=linux
ARG ARCH=amd64
WORKDIR /go/src/open-cluster-management.io/ocm

View File

@@ -1,4 +1,4 @@
FROM golang:1.24-bullseye AS builder
FROM golang:1.25-bookworm AS builder
ARG OS=linux
ARG ARCH=amd64
WORKDIR /go/src/open-cluster-management.io/ocm

View File

@@ -1,4 +1,4 @@
FROM golang:1.24-bullseye AS builder
FROM golang:1.25-bookworm AS builder
ARG OS=linux
ARG ARCH=amd64
WORKDIR /go/src/open-cluster-management.io/ocm

View File

@@ -59,7 +59,7 @@ metadata:
categories: Integration & Delivery,OpenShift Optional
certified: "false"
containerImage: quay.io/open-cluster-management/registration-operator:latest
createdAt: "2025-12-15T05:30:24Z"
createdAt: "2025-12-16T09:07:02Z"
description: Manages the installation and upgrade of the ClusterManager.
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3

View File

@@ -31,7 +31,7 @@ metadata:
categories: Integration & Delivery,OpenShift Optional
certified: "false"
containerImage: quay.io/open-cluster-management/registration-operator:latest
createdAt: "2025-12-15T05:30:24Z"
createdAt: "2025-12-16T09:07:02Z"
description: Manages the installation and upgrade of the Klusterlet.
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3

View File

@@ -26,7 +26,7 @@ Open Cluster Management (OCM) is a CNCF sandbox project that provides multiclust
### Key Technologies
- **Language**: Go 1.24.0
- **Language**: Go 1.25.0
- **Framework**: Kubernetes operators with controller-runtime
- **Build System**: Make with OpenShift build machinery
- **Testing**: Ginkgo/Gomega for BDD-style tests
@@ -36,7 +36,7 @@ Open Cluster Management (OCM) is a CNCF sandbox project that provides multiclust
### Prerequisites
- Go 1.24.0 ([installation guide](https://go.dev/doc/install))
- Go 1.25.0 ([installation guide](https://go.dev/doc/install))
- Docker or Podman (container engine)
- [Kind](https://kind.sigs.k8s.io/) (local Kubernetes clusters)
- [kubectl](https://kubernetes.io/docs/tasks/tools/) (Kubernetes CLI)

8
go.mod
View File

@@ -1,6 +1,6 @@
module open-cluster-management.io/ocm
go 1.24.0
go 1.25.0
require (
github.com/aws/aws-sdk-go-v2 v1.41.0
@@ -39,9 +39,9 @@ require (
k8s.io/kube-aggregator v0.34.3
k8s.io/kubectl v0.34.3
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
open-cluster-management.io/addon-framework v1.1.1-0.20251126020917-1a0a9be61322
open-cluster-management.io/api v1.1.1-0.20251215032811-ee922fbb996c
open-cluster-management.io/sdk-go v1.1.1-0.20251215074442-72dfdeb13ed1
open-cluster-management.io/addon-framework v1.1.1-0.20251216020304-d6b232cac146
open-cluster-management.io/api v1.1.1-0.20251216020302-b4274bb2f05a
open-cluster-management.io/sdk-go v1.1.1-0.20251215134527-7e7c96bed093
sigs.k8s.io/about-api v0.0.0-20250131010323-518069c31c03
sigs.k8s.io/cluster-inventory-api v0.0.0-20240730014211-ef0154379848
sigs.k8s.io/controller-runtime v0.22.4

12
go.sum
View File

@@ -588,12 +588,12 @@ k8s.io/kubectl v0.34.3 h1:vpM6//153gh5gvsYHXWHVJ4l4xmN5QFwTSmlfd8icm8=
k8s.io/kubectl v0.34.3/go.mod h1:zZQHtIZoUqTP1bAnPzq/3W1jfc0NeOeunFgcswrfg1c=
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 h1:hwvWFiBzdWw1FhfY1FooPn3kzWuJ8tmbZBHi4zVsl1Y=
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
open-cluster-management.io/addon-framework v1.1.1-0.20251126020917-1a0a9be61322 h1:ibdBTpWmpQ37f1jZgR3fFIDK5uDTOJRvOkDKnRjLOpg=
open-cluster-management.io/addon-framework v1.1.1-0.20251126020917-1a0a9be61322/go.mod h1:YqG/M9aLM/jhUXZDb2lEi2gGFU8NHAPTsQEFGk/tiS8=
open-cluster-management.io/api v1.1.1-0.20251215032811-ee922fbb996c h1:LWZ+5dwVSNVM84eMBiQkygyYIlAudXSwQ6IM5LXr7QY=
open-cluster-management.io/api v1.1.1-0.20251215032811-ee922fbb996c/go.mod h1:Hk/3c114t6Ba5qhpqw+RoA93yEbE2CosG+JzzBZ6aCo=
open-cluster-management.io/sdk-go v1.1.1-0.20251215074442-72dfdeb13ed1 h1:if168++xGJnZywbqYRYDhWTz5kCp2HpBQ59KmRX9Ag4=
open-cluster-management.io/sdk-go v1.1.1-0.20251215074442-72dfdeb13ed1/go.mod h1:Hp1DYO2ABl/jt35Aw2IoeuJuvvURWXj1z2Gc8fdIVTw=
open-cluster-management.io/addon-framework v1.1.1-0.20251216020304-d6b232cac146 h1:9xiXnY0PHi8bWaxUqxML7BUvHmcLEBaAMIHagrhckj8=
open-cluster-management.io/addon-framework v1.1.1-0.20251216020304-d6b232cac146/go.mod h1:RB8Dni4wwJ3Kvpd083/Qfd/whbf4CZFqB9LPYGeF9Uc=
open-cluster-management.io/api v1.1.1-0.20251216020302-b4274bb2f05a h1:A8CSY1atudEbmjdEhdYUUQcN/Gdywo786WPPt0mFWgE=
open-cluster-management.io/api v1.1.1-0.20251216020302-b4274bb2f05a/go.mod h1:YcmA6SpGEekIMxdoeVIIyOaBhMA6ImWRLXP4g8n8T+4=
open-cluster-management.io/sdk-go v1.1.1-0.20251215134527-7e7c96bed093 h1:waSj2qDeb2YkNxizfOYZE87fCtDtDpednD+LkR4kGIU=
open-cluster-management.io/sdk-go v1.1.1-0.20251215134527-7e7c96bed093/go.mod h1:3xQf3gISaZ3377vFnwjH3QH8EF2UNaf8D9igLPUBChk=
sigs.k8s.io/about-api v0.0.0-20250131010323-518069c31c03 h1:1ShFiMjGQOR/8jTBkmZrk1gORxnvMwm1nOy2/DbHg4U=
sigs.k8s.io/about-api v0.0.0-20250131010323-518069c31c03/go.mod h1:F1pT4mK53U6F16/zuaPSYpBaR7x5Kjym6aKJJC0/DHU=
sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.31.2 h1:jpcvIRr3GLoUoEKRkHKSmGjxb6lWwrBlJsXc+eUYQHM=

12
vendor/modules.txt vendored
View File

@@ -1872,8 +1872,8 @@ k8s.io/utils/path
k8s.io/utils/pointer
k8s.io/utils/ptr
k8s.io/utils/trace
# open-cluster-management.io/addon-framework v1.1.1-0.20251126020917-1a0a9be61322
## explicit; go 1.24.0
# open-cluster-management.io/addon-framework v1.1.1-0.20251216020304-d6b232cac146
## explicit; go 1.25.0
open-cluster-management.io/addon-framework/pkg/addonfactory
open-cluster-management.io/addon-framework/pkg/addonmanager
open-cluster-management.io/addon-framework/pkg/addonmanager/addontesting
@@ -1888,8 +1888,8 @@ open-cluster-management.io/addon-framework/pkg/agent
open-cluster-management.io/addon-framework/pkg/assets
open-cluster-management.io/addon-framework/pkg/index
open-cluster-management.io/addon-framework/pkg/utils
# open-cluster-management.io/api v1.1.1-0.20251215032811-ee922fbb996c
## explicit; go 1.24.0
# open-cluster-management.io/api v1.1.1-0.20251216020302-b4274bb2f05a
## explicit; go 1.25.0
open-cluster-management.io/api/addon/v1alpha1
open-cluster-management.io/api/addon/v1beta1
open-cluster-management.io/api/client/addon/clientset/versioned
@@ -1961,8 +1961,8 @@ open-cluster-management.io/api/operator/v1
open-cluster-management.io/api/utils/work/v1/workapplier
open-cluster-management.io/api/work/v1
open-cluster-management.io/api/work/v1alpha1
# open-cluster-management.io/sdk-go v1.1.1-0.20251215074442-72dfdeb13ed1
## explicit; go 1.24.0
# open-cluster-management.io/sdk-go v1.1.1-0.20251215134527-7e7c96bed093
## explicit; go 1.25.0
open-cluster-management.io/sdk-go/pkg/apis/cluster/v1alpha1
open-cluster-management.io/sdk-go/pkg/apis/cluster/v1beta1
open-cluster-management.io/sdk-go/pkg/apis/cluster/v1beta2