Skip to content

Commit e7dabc2

Browse files
[Monorepo]: Combine upgrade e2e tests from catalogd into operator-controller (#1780)
1 parent 7f00b13 commit e7dabc2

File tree

13 files changed

+74
-444
lines changed

13 files changed

+74
-444
lines changed

.github/workflows/catalogd-e2e.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

Makefile

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ CATALOGD_KUSTOMIZE_BUILD_DIR := catalogd/config/overlays/cert-manager
7272

7373
.DEFAULT_GOAL := build
7474

75-
GINKGO := go run github.com/onsi/ginkgo/v2/ginkgo
76-
7775
#SECTION General
7876

7977
# The help target prints out all targets with their descriptions organized
@@ -226,26 +224,6 @@ test-e2e: GO_BUILD_FLAGS := -cover
226224
test-e2e: CATALOGD_KUSTOMIZE_BUILD_DIR := catalogd/config/overlays/e2e
227225
test-e2e: run image-registry e2e e2e-coverage kind-clean #HELP Run e2e test suite on local kind cluster
228226

229-
230-
## image-registry target has to come after run-latest-release,
231-
## because the image-registry depends on the olm-ca issuer.
232-
.PHONY: test-catalogd-upgrade-e2e
233-
test-catalogd-upgrade-e2e: export TEST_CLUSTER_CATALOG_NAME := test-catalog
234-
test-catalogd-upgrade-e2e: export TEST_CLUSTER_CATALOG_IMAGE := docker-registry.catalogd-e2e.svc:5000/test-catalog:e2e
235-
test-catalogd-upgrade-e2e: ISSUER_KIND=ClusterIssuer
236-
test-catalogd-upgrade-e2e: ISSUER_NAME=olmv1-ca
237-
test-catalogd-upgrade-e2e: kind-cluster docker-build kind-load run-latest-release catalogd-image-registry catalogd-pre-upgrade-setup kind-deploy catalogd-post-upgrade-checks kind-clean ## Run upgrade e2e tests on a local kind cluster
238-
239-
.PHONY: catalogd-post-upgrade-checks
240-
catalogd-post-upgrade-checks:
241-
$(GINKGO) $(E2E_FLAGS) -trace -vv $(FOCUS) test/catalogd-upgrade-e2e
242-
243-
catalogd-pre-upgrade-setup:
244-
./test/tools/imageregistry/pre-upgrade-setup.sh ${TEST_CLUSTER_CATALOG_IMAGE} ${TEST_CLUSTER_CATALOG_NAME}
245-
246-
catalogd-image-registry: ## Setup in-cluster image registry
247-
./test/tools/imageregistry/registry.sh $(ISSUER_KIND) $(ISSUER_NAME)
248-
249227
.PHONY: extension-developer-e2e
250228
extension-developer-e2e: KUSTOMIZE_BUILD_DIR := config/overlays/cert-manager
251229
extension-developer-e2e: KIND_CLUSTER_NAME := operator-controller-ext-dev-e2e #EXHELP Run extension-developer e2e on local kind cluster

catalogd/testdata/catalogs/test-catalog/.indexignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

catalogd/testdata/catalogs/test-catalog/catalog.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

catalogd/testdata/catalogs/test-catalog/expected_all.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

go.mod

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ require (
1515
github.com/google/go-containerregistry v0.20.3
1616
github.com/gorilla/handlers v1.5.2
1717
github.com/klauspost/compress v1.17.11
18-
github.com/onsi/ginkgo/v2 v2.22.2
19-
github.com/onsi/gomega v1.36.2
2018
github.com/opencontainers/go-digest v1.0.0
2119
github.com/opencontainers/image-spec v1.1.0
2220
github.com/operator-framework/api v0.29.0
@@ -116,7 +114,6 @@ require (
116114
github.com/go-openapi/strfmt v0.23.0 // indirect
117115
github.com/go-openapi/swag v0.23.0 // indirect
118116
github.com/go-openapi/validate v0.24.0 // indirect
119-
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
120117
github.com/gobwas/glob v0.2.3 // indirect
121118
github.com/gogo/protobuf v1.3.2 // indirect
122119
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
@@ -125,7 +122,6 @@ require (
125122
github.com/google/cel-go v0.22.1 // indirect
126123
github.com/google/gnostic-models v0.6.8 // indirect
127124
github.com/google/gofuzz v1.2.0 // indirect
128-
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
129125
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
130126
github.com/google/uuid v1.6.0 // indirect
131127
github.com/gorilla/mux v1.8.1 // indirect
@@ -178,6 +174,7 @@ require (
178174
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
179175
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
180176
github.com/oklog/ulid v1.3.1 // indirect
177+
github.com/onsi/gomega v1.36.2 // indirect
181178
github.com/opencontainers/runtime-spec v1.2.0 // indirect
182179
github.com/openshift/crd-schema-checker v0.0.0-20240404194209-35a9033b1d11 // indirect
183180
github.com/operator-framework/operator-lib v0.17.0 // indirect

test/catalogd-upgrade-e2e/unpack_test.go

Lines changed: 0 additions & 142 deletions
This file was deleted.

test/catalogd-upgrade-e2e/upgrade_suite_test.go

Lines changed: 0 additions & 53 deletions
This file was deleted.

test/tools/imageregistry/imagebuilder.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)