Skip to content

Commit fa2de51

Browse files
authored
Merge branch 'main' into move_catalogd_entrypoint
2 parents b8048bc + 5107960 commit fa2de51

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

Makefile

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ KUSTOMIZE_BUILD_DIR := config/overlays/cert-manager
9292

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

9797
.PHONY: help-extended
9898
help-extended: #HELP Display extended help.
@@ -105,11 +105,11 @@ lint: lint-custom $(GOLANGCI_LINT) #HELP Run golangci linter.
105105
$(GOLANGCI_LINT) run --build-tags $(GO_BUILD_TAGS) $(GOLANGCI_LINT_ARGS)
106106

107107
.PHONY: custom-linter-build
108-
custom-linter-build: #HELP Build custom linter
108+
custom-linter-build: #EXHELP Build custom linter
109109
go build -tags $(GO_BUILD_TAGS) -o ./bin/custom-linter ./hack/ci/custom-linters/cmd
110110

111111
.PHONY: lint-custom
112-
lint-custom: custom-linter-build #HELP Call custom linter for the project
112+
lint-custom: custom-linter-build #EXHELP Call custom linter for the project
113113
go vet -tags=$(GO_BUILD_TAGS) -vettool=./bin/custom-linter ./...
114114

115115
.PHONY: tidy
@@ -171,6 +171,8 @@ verify-crd-compatibility: $(CRD_DIFF) manifests
171171
$(CRD_DIFF) --config="${CRD_DIFF_CONFIG}" "${CRD_DIFF_ORIGINAL_REF}${CRD_DIFF_OPCON_SOURCE}" ${CRD_DIFF_UPDATED_REF}${CRD_DIFF_OPCON_SOURCE}
172172
$(CRD_DIFF) --config="${CRD_DIFF_CONFIG}" "${CRD_DIFF_ORIGINAL_REF}${CRD_DIFF_CATD_SOURCE}" ${CRD_DIFF_UPDATED_REF}${CRD_DIFF_CATD_SOURCE}
173173

174+
#SECTION Test
175+
174176
.PHONY: test
175177
test: manifests generate fmt lint test-unit test-e2e #HELP Run all tests.
176178

@@ -236,9 +238,9 @@ test-e2e: run image-registry e2e e2e-coverage kind-clean #HELP Run e2e test suit
236238

237239
.PHONY: extension-developer-e2e
238240
extension-developer-e2e: KUSTOMIZE_BUILD_DIR := config/overlays/cert-manager
239-
extension-developer-e2e: KIND_CLUSTER_NAME := operator-controller-ext-dev-e2e #EXHELP Run extension-developer e2e on local kind cluster
240-
extension-developer-e2e: export INSTALL_DEFAULT_CATALOGS := false #EXHELP Run extension-developer e2e on local kind cluster
241-
extension-developer-e2e: run image-registry test-ext-dev-e2e kind-clean
241+
extension-developer-e2e: KIND_CLUSTER_NAME := operator-controller-ext-dev-e2e
242+
extension-developer-e2e: export INSTALL_DEFAULT_CATALOGS := false
243+
extension-developer-e2e: run image-registry test-ext-dev-e2e kind-clean #EXHELP Run extension-developer e2e on local kind cluster
242244

243245
.PHONY: run-latest-release
244246
run-latest-release:
@@ -262,6 +264,8 @@ test-upgrade-e2e: kind-cluster run-latest-release image-registry pre-upgrade-set
262264
e2e-coverage:
263265
COVERAGE_OUTPUT=./coverage/e2e.out ./hack/test/e2e-coverage.sh
264266

267+
#SECTION KIND Cluster Operations
268+
265269
.PHONY: kind-load
266270
kind-load: $(KIND) #EXHELP Loads the currently constructed images into the KIND cluster.
267271
$(CONTAINER_RUNTIME) save $(IMG) | $(KIND) load image-archive /dev/stdin --name $(KIND_CLUSTER_NAME)

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/containers/image/v5 v5.33.1
1212
github.com/fsnotify/fsnotify v1.8.0
1313
github.com/go-logr/logr v1.4.2
14-
github.com/google/go-cmp v0.6.0
14+
github.com/google/go-cmp v0.7.0
1515
github.com/google/go-containerregistry v0.20.3
1616
github.com/gorilla/handlers v1.5.2
1717
github.com/klauspost/compress v1.18.0
@@ -33,7 +33,7 @@ require (
3333
k8s.io/apiextensions-apiserver v0.32.2
3434
k8s.io/apimachinery v0.32.2
3535
k8s.io/apiserver v0.32.2
36-
k8s.io/cli-runtime v0.32.1
36+
k8s.io/cli-runtime v0.32.2
3737
k8s.io/client-go v0.32.2
3838
k8s.io/component-base v0.32.2
3939
k8s.io/klog/v2 v2.130.1

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
301301
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
302302
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
303303
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
304-
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
305-
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
304+
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
305+
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
306306
github.com/google/go-containerregistry v0.20.3 h1:oNx7IdTI936V8CQRveCjaxOiegWwvM7kqkbXTpyiovI=
307307
github.com/google/go-containerregistry v0.20.3/go.mod h1:w00pIgBRDVUDFM6bq+Qx8lwNWK+cxgCuX1vd3PIBDNI=
308308
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -1001,8 +1001,8 @@ k8s.io/apimachinery v0.32.2 h1:yoQBR9ZGkA6Rgmhbp/yuT9/g+4lxtsGYwW6dR6BDPLQ=
10011001
k8s.io/apimachinery v0.32.2/go.mod h1:GpHVgxoKlTxClKcteaeuF1Ul/lDVb74KpZcxcmLDElE=
10021002
k8s.io/apiserver v0.32.2 h1:WzyxAu4mvLkQxwD9hGa4ZfExo3yZZaYzoYvvVDlM6vw=
10031003
k8s.io/apiserver v0.32.2/go.mod h1:PEwREHiHNU2oFdte7BjzA1ZyjWjuckORLIK/wLV5goM=
1004-
k8s.io/cli-runtime v0.32.1 h1:19nwZPlYGJPUDbhAxDIS2/oydCikvKMHsxroKNGA2mM=
1005-
k8s.io/cli-runtime v0.32.1/go.mod h1:NJPbeadVFnV2E7B7vF+FvU09mpwYlZCu8PqjzfuOnkY=
1004+
k8s.io/cli-runtime v0.32.2 h1:aKQR4foh9qeyckKRkNXUccP9moxzffyndZAvr+IXMks=
1005+
k8s.io/cli-runtime v0.32.2/go.mod h1:a/JpeMztz3xDa7GCyyShcwe55p8pbcCVQxvqZnIwXN8=
10061006
k8s.io/client-go v0.32.2 h1:4dYCD4Nz+9RApM2b/3BtVvBHw54QjMFUl1OLcJG5yOA=
10071007
k8s.io/client-go v0.32.2/go.mod h1:fpZ4oJXclZ3r2nDOv+Ux3XcJutfrwjKTCHz2H3sww94=
10081008
k8s.io/component-base v0.32.2 h1:1aUL5Vdmu7qNo4ZsE+569PV5zFatM9hl+lb3dEea2zU=

0 commit comments

Comments
 (0)