Skip to content

Commit 402cfc5

Browse files
Merge pull request #548 from openshift-bot/synchronize-upstream
NO-ISSUE: Synchronize From Upstream Repositories
2 parents 53fe424 + 5de73b8 commit 402cfc5

File tree

3,463 files changed

+1259535
-85
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,463 files changed

+1259535
-85
lines changed

.bingo/Variables.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ OPERATOR_SDK := $(GOBIN)/operator-sdk-v1.41.1
8181
$(OPERATOR_SDK): $(BINGO_DIR)/operator-sdk.mod
8282
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
8383
@echo "(re)installing $(GOBIN)/operator-sdk-v1.41.1"
84-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=operator-sdk.mod -o=$(GOBIN)/operator-sdk-v1.41.1 "github.com/operator-framework/operator-sdk/cmd/operator-sdk"
84+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -tags=containers_image_openpgp -ldflags=-X=github.com/operator-framework/operator-sdk/internal/version.Version=v1.41.1 -mod=mod -modfile=operator-sdk.mod -o=$(GOBIN)/operator-sdk-v1.41.1 "github.com/operator-framework/operator-sdk/cmd/operator-sdk"
8585

8686
OPM := $(GOBIN)/opm-v1.60.0
8787
$(OPM): $(BINGO_DIR)/opm.mod
8888
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
8989
@echo "(re)installing $(GOBIN)/opm-v1.60.0"
90-
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -mod=mod -modfile=opm.mod -o=$(GOBIN)/opm-v1.60.0 "github.com/operator-framework/operator-registry/cmd/opm"
90+
@cd $(BINGO_DIR) && GOWORK=off $(GO) build -tags=containers_image_openpgp -mod=mod -modfile=opm.mod -o=$(GOBIN)/opm-v1.60.0 "github.com/operator-framework/operator-registry/cmd/opm"
9191

9292
SETUP_ENVTEST := $(GOBIN)/setup-envtest-v0.0.0-20250620151452-b9a9ca01fd37
9393
$(SETUP_ENVTEST): $(BINGO_DIR)/setup-envtest.mod

.bingo/operator-sdk.mod

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
22

3-
go 1.23.4
3+
go 1.24.3
4+
5+
toolchain go1.24.6
46

57
replace github.com/containerd/containerd => github.com/containerd/containerd v1.4.11
68

79
replace github.com/docker/distribution => github.com/docker/distribution v0.0.0-20191216044856-a8371794149d
810

911
replace github.com/mattn/go-sqlite3 => github.com/mattn/go-sqlite3 v1.10.0
1012

11-
require github.com/operator-framework/operator-sdk v1.39.1 // cmd/operator-sdk -ldflags=-X=github.com/operator-framework/operator-sdk/internal/version.Version=v1.34.1
13+
require github.com/operator-framework/operator-sdk v1.41.1 // cmd/operator-sdk -tags=containers_image_openpgp -ldflags=-X=github.com/operator-framework/operator-sdk/internal/version.Version=v1.41.1

.bingo/operator-sdk.sum

Lines changed: 1911 additions & 20 deletions
Large diffs are not rendered by default.

.bingo/opm.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
22

3-
go 1.23.0
3+
go 1.24.4
44

5-
toolchain go1.23.4
5+
toolchain go1.24.6
66

77
replace github.com/docker/distribution => github.com/docker/distribution v0.0.0-20191216044856-a8371794149d
88

9-
require github.com/operator-framework/operator-registry v1.51.0 // cmd/opm
9+
require github.com/operator-framework/operator-registry v1.60.0 // cmd/opm -tags=containers_image_openpgp

.bingo/opm.sum

Lines changed: 1256 additions & 2 deletions
Large diffs are not rendered by default.

.bingo/setup-envtest.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
22

3-
go 1.24.0
4-
5-
toolchain go1.24.3
3+
go 1.24.6
64

75
require sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20250620151452-b9a9ca01fd37

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ site
5050

5151
# Temporary files and directories
5252
/test/regression/convert/testdata/tmp/*
53+
54+
# Test profiling artifacts
55+
test-profiles/

Makefile

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ CATALOGS_MANIFEST := $(MANIFEST_HOME)/default-catalogs.yaml
106106

107107
.PHONY: help
108108
help: #HELP Display essential help.
109-
@awk 'BEGIN {FS = ":[^#]*#HELP"; printf "\nUsage:\n make \033[36m<target>\033[0m\n\n"} /^[a-zA-Z_0-9-]+:.*#HELP / { printf " \033[36m%-21s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST)
109+
@awk 'BEGIN {FS = ":[^#]*#HELP"; printf "\nUsage:\n make \033[36m<target>\033[0m\n\n"} /^[a-zA-Z_0-9\/%-]+:.*#HELP / { printf " \033[36m%-21s\033[0m %s\n", $$1, $$2 } ' $(MAKEFILE_LIST)
110110

111111
.PHONY: help-extended
112112
help-extended: #HELP Display extended help.
113-
@awk 'BEGIN {FS = ":.*#(EX)?HELP"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*#(EX)?HELP / { printf " \033[36m%-25s\033[0m %s\n", $$1, $$2 } /^#SECTION / { printf "\n\033[1m%s\033[0m\n", substr($$0, 10) } ' $(MAKEFILE_LIST)
113+
@awk 'BEGIN {FS = ":.*#(EX)?HELP"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9\/%-]+:.*#(EX)?HELP / { printf " \033[36m%-25s\033[0m %s\n", $$1, $$2 } /^#SECTION / { printf "\n\033[1m%s\033[0m\n", substr($$0, 10) } ' $(MAKEFILE_LIST)
114114

115115
#SECTION Development
116116

@@ -174,7 +174,7 @@ manifests: update-crds $(MANIFESTS) $(HELM) #EXHELP Generate OLMv1 manifests
174174

175175
.PHONY: generate
176176
generate: $(CONTROLLER_GEN) #EXHELP Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
177-
@find api cmd hack internal -name "zz_generated.deepcopy.go" -delete # Need to delete the files for them to be generated properly
177+
@find api cmd hack internal -name "zz_generated.deepcopy.go" -not -path "*/vendor/*" -delete # Need to delete the files for them to be generated properly
178178
$(CONTROLLER_GEN) --load-build-tags=$(GO_BUILD_TAGS) object:headerFile="hack/boilerplate.go.txt" paths="./..."
179179

180180
.PHONY: verify
@@ -284,13 +284,14 @@ test-experimental-e2e: KIND_CLUSTER_NAME := operator-controller-e2e
284284
test-experimental-e2e: GO_BUILD_EXTRA_FLAGS := -cover
285285
test-experimental-e2e: COVERAGE_NAME := experimental-e2e
286286
test-experimental-e2e: export MANIFEST := $(EXPERIMENTAL_RELEASE_MANIFEST)
287+
test-experimental-e2e: PROMETHEUS_VALUES := helm/prom_experimental.yaml
287288
test-experimental-e2e: run-internal image-registry prometheus e2e e2e-coverage kind-clean #HELP Run experimental e2e test suite on local kind cluster
288289

289290
.PHONY: prometheus
290291
prometheus: PROMETHEUS_NAMESPACE := olmv1-system
291292
prometheus: PROMETHEUS_VERSION := v0.83.0
292293
prometheus: $(KUSTOMIZE) #EXHELP Deploy Prometheus into specified namespace
293-
./hack/test/install-prometheus.sh $(PROMETHEUS_NAMESPACE) $(PROMETHEUS_VERSION) $(VERSION)
294+
./hack/test/install-prometheus.sh $(PROMETHEUS_NAMESPACE) $(PROMETHEUS_VERSION) $(VERSION) $(PROMETHEUS_VALUES)
294295

295296
.PHONY: test-extension-developer-e2e
296297
test-extension-developer-e2e: SOURCE_MANIFEST := $(STANDARD_E2E_MANIFEST)
@@ -337,6 +338,27 @@ test-upgrade-experimental-e2e: $(TEST_UPGRADE_E2E_TASKS) #HELP Run upgrade e2e t
337338
e2e-coverage:
338339
COVERAGE_NAME=$(COVERAGE_NAME) ./hack/test/e2e-coverage.sh
339340

341+
TEST_PROFILE_BIN := bin/test-profile
342+
.PHONY: build-test-profiler
343+
build-test-profiler: #EXHELP Build the test profiling tool
344+
cd hack/tools/test-profiling && go build -o ../../../$(TEST_PROFILE_BIN) ./cmd/test-profile
345+
346+
.PHONY: test-test-profiler
347+
test-test-profiler: #EXHELP Run unit tests for the test profiling tool
348+
cd hack/tools/test-profiling && go test -v ./...
349+
350+
.PHONY: start-profiling
351+
start-profiling: build-test-profiler #EXHELP Start profiling in background with auto-generated name (timestamp). Use start-profiling/<name> for custom name.
352+
$(TEST_PROFILE_BIN) start
353+
354+
.PHONY: start-profiling/%
355+
start-profiling/%: build-test-profiler #EXHELP Start profiling in background with specified name. Usage: make start-profiling/<name>
356+
$(TEST_PROFILE_BIN) start $*
357+
358+
.PHONY: stop-profiling
359+
stop-profiling: build-test-profiler #EXHELP Stop profiling and generate analysis report
360+
$(TEST_PROFILE_BIN) stop
361+
340362
#SECTION KIND Cluster Operations
341363

342364
.PHONY: kind-load

commitchecker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
expectedMergeBase: 9937ae2dbc57444ae5bd6bdbff4304e0638fe01f
1+
expectedMergeBase: c8526e9d2d8e6741a15449424668bb3bc67530a4
22
upstreamBranch: main
33
upstreamOrg: operator-framework
44
upstreamRepo: operator-controller

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/Masterminds/semver/v3 v3.4.0
88
github.com/blang/semver/v4 v4.0.0
99
github.com/cert-manager/cert-manager v1.18.2
10-
github.com/containerd/containerd v1.7.28
10+
github.com/containerd/containerd v1.7.29
1111
github.com/fsnotify/fsnotify v1.9.0
1212
github.com/go-logr/logr v1.4.3
1313
github.com/golang-jwt/jwt/v5 v5.3.0
@@ -29,7 +29,7 @@ require (
2929
go.podman.io/image/v5 v5.38.0
3030
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
3131
golang.org/x/mod v0.29.0
32-
golang.org/x/sync v0.17.0
32+
golang.org/x/sync v0.18.0
3333
golang.org/x/tools v0.38.0
3434
helm.sh/helm/v3 v3.19.0
3535
k8s.io/api v0.34.1

0 commit comments

Comments
 (0)