Skip to content

Commit

Permalink
[Monorepo]: Combine upgrade e2e tests from catalogd into operator-con…
Browse files Browse the repository at this point in the history
…troller
  • Loading branch information
camilamacedo86 committed Feb 14, 2025
1 parent 7146a7a commit 124460c
Show file tree
Hide file tree
Showing 13 changed files with 69 additions and 441 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/catalogd-e2e.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -226,26 +226,6 @@ test-e2e: GO_BUILD_FLAGS := -cover
test-e2e: CATALOGD_KUSTOMIZE_BUILD_DIR := catalogd/config/overlays/e2e
test-e2e: run image-registry e2e e2e-coverage kind-clean #HELP Run e2e test suite on local kind cluster


## image-registry target has to come after run-latest-release,
## because the image-registry depends on the olm-ca issuer.
.PHONY: test-catalogd-upgrade-e2e
test-catalogd-upgrade-e2e: export TEST_CLUSTER_CATALOG_NAME := test-catalog
test-catalogd-upgrade-e2e: export TEST_CLUSTER_CATALOG_IMAGE := docker-registry.catalogd-e2e.svc:5000/test-catalog:e2e
test-catalogd-upgrade-e2e: ISSUER_KIND=ClusterIssuer
test-catalogd-upgrade-e2e: ISSUER_NAME=olmv1-ca
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

.PHONY: catalogd-post-upgrade-checks
catalogd-post-upgrade-checks:
$(GINKGO) $(E2E_FLAGS) -trace -vv $(FOCUS) test/catalogd-upgrade-e2e

catalogd-pre-upgrade-setup:
./test/tools/imageregistry/pre-upgrade-setup.sh ${TEST_CLUSTER_CATALOG_IMAGE} ${TEST_CLUSTER_CATALOG_NAME}

catalogd-image-registry: ## Setup in-cluster image registry
./test/tools/imageregistry/registry.sh $(ISSUER_KIND) $(ISSUER_NAME)

.PHONY: extension-developer-e2e
extension-developer-e2e: KUSTOMIZE_BUILD_DIR := config/overlays/cert-manager
extension-developer-e2e: KIND_CLUSTER_NAME := operator-controller-ext-dev-e2e #EXHELP Run extension-developer e2e on local kind cluster
Expand Down
6 changes: 0 additions & 6 deletions catalogd/testdata/catalogs/test-catalog.Dockerfile

This file was deleted.

2 changes: 0 additions & 2 deletions catalogd/testdata/catalogs/test-catalog/.indexignore

This file was deleted.

20 changes: 0 additions & 20 deletions catalogd/testdata/catalogs/test-catalog/catalog.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions catalogd/testdata/catalogs/test-catalog/expected_all.json

This file was deleted.

142 changes: 0 additions & 142 deletions test/catalogd-upgrade-e2e/unpack_test.go

This file was deleted.

53 changes: 0 additions & 53 deletions test/catalogd-upgrade-e2e/upgrade_suite_test.go

This file was deleted.

32 changes: 0 additions & 32 deletions test/tools/imageregistry/imagebuilder.yaml

This file was deleted.

75 changes: 0 additions & 75 deletions test/tools/imageregistry/imgreg.yaml

This file was deleted.

Loading

0 comments on commit 124460c

Please sign in to comment.