Skip to content

Commit fbe3121

Browse files
jparrillmprycclaude
authored
OCPBUGS-83713: Backport oadp-1.6 dependencies with release-4.22 hypershift API (#245)
* UPSTREAM: <drop>: Update go.mod to align with new velero oadp-1.6 Signed-off-by: Michal Pryc <mpryc@redhat.com> * UPSTREAM: <drop>: Fix inconsistent vendoring Run 'go mod tidy && go mod vendor' to sync vendor directory with go.mod. The postsubmit promotion job was failing due to: - velero replacement mismatch between go.mod and vendor/modules.txt - stale external-snapshotter/client/v7 in vendor (removed from go.mod) - google.golang.org/grpc and genproto not properly marked in modules.txt This blocked image promotion to the CI registry, breaking the periodic-image-mirroring-konveyor job. Signed-off-by: Michal Pryc <mpryc@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update velero dependency to latest oadp-1.6 branch Update go directive to 1.25.8 and bump velero replace to v0.10.2-0.20260409141000-1b0e11aebe70 (latest oadp-1.6). Run go mod tidy and go mod vendor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update velero dependency to latest oadp-1.6 branch Update the velero replace directive to point to the latest openshift/velero oadp-1.6 commit (ea34d4d90057) and regenerate the vendor directory. Key changes: - external-snapshotter/client/v8: v8.2.0 -> v8.4.0 - velero: 1b0e11aebe70 -> ea34d4d90057 Signed-off-by: Michal Pryc <mpryc@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update dependencies for oadp-1.6 backport with release-4.22 hypershift API - Set DEPS_UPSTREAM_BRANCH to release-4.22 - Update hypershift/api to release-4.22 branch (v0.0.0-20260417092826-5431b93cee3c) - Sync vendor with updated go.mod Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com> --------- Signed-off-by: Michal Pryc <mpryc@redhat.com> Signed-off-by: Juan Manuel Parrilla Madrid <jparrill@redhat.com> Co-authored-by: Michal Pryc <mpryc@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b8bf295 commit fbe3121

10 files changed

Lines changed: 48 additions & 143 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ VERSION ?= $(shell git describe --tags --always)
2121
ARCHS ?= amd64 arm64
2222
DOCKER_BUILD_ARGS ?= --platform=linux/$(ARCH)
2323
GO=GO111MODULE=on GOWORK=off GOFLAGS=-mod=vendor go
24-
DEPS_UPSTREAM_BRANCH ?= main
24+
DEPS_UPSTREAM_BRANCH ?= release-4.22
2525

2626
.PHONY: install-goreleaser
2727
install-goreleaser:

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/kubernetes-csi/external-snapshotter/client/v8 v8.4.0
99
github.com/onsi/gomega v1.39.1
1010
github.com/openshift/hive/apis v0.0.0-20241220022629-3f49f26197ff
11-
github.com/openshift/hypershift/api v0.0.0-20260410203959-783f7956d4f9
11+
github.com/openshift/hypershift/api v0.0.0-20260417092826-5431b93cee3c
1212
github.com/sirupsen/logrus v1.9.4
1313
github.com/vmware-tanzu/velero v1.14.0
1414
k8s.io/api v0.35.3
@@ -90,4 +90,4 @@ require (
9090
sigs.k8s.io/yaml v1.6.0 // indirect
9191
)
9292

93-
replace github.com/vmware-tanzu/velero => github.com/openshift/velero v0.10.2-0.20260323170432-5ef912f438f6
93+
replace github.com/vmware-tanzu/velero => github.com/openshift/velero v0.10.2-0.20260323191807-216dd62a1caf

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ github.com/openshift/custom-resource-status v1.1.3-0.20220503160415-f2fdb4999d87
207207
github.com/openshift/custom-resource-status v1.1.3-0.20220503160415-f2fdb4999d87/go.mod h1:DB/Mf2oTeiAmVVX1gN+NEqweonAPY0TKUwADizj8+ZA=
208208
github.com/openshift/hive/apis v0.0.0-20241220022629-3f49f26197ff h1:6C1z4xMAruyeiTFGqahxNDpI1cXPCjpaFeIeIodty08=
209209
github.com/openshift/hive/apis v0.0.0-20241220022629-3f49f26197ff/go.mod h1:1vBNCcWNpQyFCz83PWYT/lHUFJ9ost2t5FijHElh6gQ=
210-
github.com/openshift/hypershift/api v0.0.0-20260410203959-783f7956d4f9 h1:mVzLud8ewZi1W8dnV37L+eY9IJsoFfpkASgPvDRM61Q=
211-
github.com/openshift/hypershift/api v0.0.0-20260410203959-783f7956d4f9/go.mod h1:mC9+bqb81FmG924VOO+7P0ofKQgvY1SdPhFp0oJ9U44=
212-
github.com/openshift/velero v0.10.2-0.20260323170432-5ef912f438f6 h1:nWv9+tEi34VMFMOziVZLOKvn3yXDqk68ODXlzpYU2S0=
213-
github.com/openshift/velero v0.10.2-0.20260323170432-5ef912f438f6/go.mod h1:YKHPM2FpS+5WrcciMi5j4bo/JMnXXrR1M+j1DoTA26U=
210+
github.com/openshift/hypershift/api v0.0.0-20260417092826-5431b93cee3c h1:f4yyfNyAWbWQDdOMzawbglzZZvPFfpIl1p9MjdTx3oM=
211+
github.com/openshift/hypershift/api v0.0.0-20260417092826-5431b93cee3c/go.mod h1:mC9+bqb81FmG924VOO+7P0ofKQgvY1SdPhFp0oJ9U44=
212+
github.com/openshift/velero v0.10.2-0.20260323191807-216dd62a1caf h1:idCUwNL/RfZIeS1bpUvf6LaYZJSmKCSE2GP6tc1caYI=
213+
github.com/openshift/velero v0.10.2-0.20260323191807-216dd62a1caf/go.mod h1:vrmFMtokf4UjYmykfPvmI/xinTU3Ljz4F6JO3pLYxKs=
214214
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
215215
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
216216
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=

vendor/github.com/vmware-tanzu/velero/pkg/apis/velero/v1/labels_annotations.go

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/vmware-tanzu/velero/pkg/constant/constant.go

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/vmware-tanzu/velero/pkg/util/kube/node.go

Lines changed: 9 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/vmware-tanzu/velero/pkg/util/kube/pod.go

Lines changed: 26 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/vmware-tanzu/velero/pkg/util/kube/pvc_pv.go

Lines changed: 0 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/vmware-tanzu/velero/pkg/util/kube/resource_requirements.go

Lines changed: 2 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ github.com/openshift/hive/apis/hive/v1/openstack
158158
github.com/openshift/hive/apis/hive/v1/ovirt
159159
github.com/openshift/hive/apis/hive/v1/vsphere
160160
github.com/openshift/hive/apis/scheme
161-
# github.com/openshift/hypershift/api v0.0.0-20260410203959-783f7956d4f9
161+
# github.com/openshift/hypershift/api v0.0.0-20260417092826-5431b93cee3c
162162
## explicit; go 1.25.3
163163
github.com/openshift/hypershift/api/hypershift/v1beta1
164164
github.com/openshift/hypershift/api/ibmcapi
@@ -199,8 +199,8 @@ github.com/spf13/cobra
199199
# github.com/spf13/pflag v1.0.10
200200
## explicit; go 1.12
201201
github.com/spf13/pflag
202-
# github.com/vmware-tanzu/velero v1.14.0 => github.com/openshift/velero v0.10.2-0.20260323170432-5ef912f438f6
203-
## explicit; go 1.25.0
202+
# github.com/vmware-tanzu/velero v1.14.0 => github.com/openshift/velero v0.10.2-0.20260323191807-216dd62a1caf
203+
## explicit; go 1.25.7
204204
github.com/vmware-tanzu/velero/internal/credentials
205205
github.com/vmware-tanzu/velero/internal/resourcepolicies
206206
github.com/vmware-tanzu/velero/pkg/apis/velero/shared
@@ -940,4 +940,4 @@ sigs.k8s.io/structured-merge-diff/v6/value
940940
# sigs.k8s.io/yaml v1.6.0
941941
## explicit; go 1.22
942942
sigs.k8s.io/yaml
943-
# github.com/vmware-tanzu/velero => github.com/openshift/velero v0.10.2-0.20260323170432-5ef912f438f6
943+
# github.com/vmware-tanzu/velero => github.com/openshift/velero v0.10.2-0.20260323191807-216dd62a1caf

0 commit comments

Comments
 (0)