Skip to content

Commit 2630639

Browse files
tmshortci-robot
authored andcommitted
UPSTREAM: <carry>: Add test-experimental-e2e target to openshift Makefile
This adds a test-experimental-e2e target to allow the CI to run the experimental e2e test. Signed-off-by: Todd Short <todd.short@me.com>
1 parent 27c7483 commit 2630639

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

openshift/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,18 @@ export REG_PKG_NAME := registry-operator
3030
export E2E_TEST_CATALOG_V1 := e2e/test-catalog:v1
3131
export E2E_TEST_CATALOG_V2 := e2e/test-catalog:v2
3232
export CATALOG_IMG := $(LOCAL_REGISTRY_HOST)/$(E2E_TEST_CATALOG_V1)
33+
3334
# Order matters here, the ".../registries.conf" entry must be last.
3435
export DOWNSTREAM_E2E_FLAGS := -count=1 -v -skip 'TestClusterExtensionInstallReResolvesWhenNewCatalog|TestClusterExtensionInstallRegistryDynamic|TestClusterExtensionInstallRegistry/package_requires_mirror_registry_configuration_in_/etc/containers/registries.conf'
3536
.PHONY: test-e2e
3637
test-e2e: ## Run the e2e tests.
3738
$(DIR)/operator-controller/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE) $(E2E_REGISTRY_NAME) $(E2E_REGISTRY_IMAGE)
3839
cd $(DIR)/../; \
3940
go test $(DOWNSTREAM_E2E_FLAGS) ./test/e2e/...;
41+
42+
export DOWNSTREAM_EXPERIMENTAL_E2E_FLAGS := -count=1 -v
43+
.PHONY: test-experimental-e2e
44+
test-experimental-e2e: ## Run the experimental e2e tests.
45+
$(DIR)/operator-controller/build-test-registry.sh $(E2E_REGISTRY_NAMESPACE) $(E2E_REGISTRY_NAME) $(E2E_REGISTRY_IMAGE)
46+
cd $(DIR)/../; \
47+
go test $(DOWNSTREAM_EXPERIMENTAL_E2E_FLAGS) ./test/experimental-e2e/...;

0 commit comments

Comments
 (0)