-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dedicated make config file for conformance tests
Signed-off-by: Jack Francis <[email protected]>
- Loading branch information
1 parent
8a28e21
commit cfdb804
Showing
2 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# conformance.mk | ||
# Do Not Rename this file! | ||
# Make configuration that effects conformance E2E behaviors should go in here, | ||
# to allow us to maintain the core Makefile without having to execute | ||
# long-running conformance E2E jobs every time that file changes | ||
CONFORMANCE_FLAVOR ?= | ||
CONFORMANCE_E2E_ARGS ?= -kubetest.config-file=$(KUBETEST_CONF_PATH) | ||
CONFORMANCE_E2E_ARGS += $(E2E_ARGS) | ||
|
||
##@ Conformance testing: | ||
|
||
.PHONY: test-conformance | ||
test-conformance: ## Run conformance test on workload cluster. | ||
$(MAKE) test-e2e-skip-push GINKGO_FOCUS="Conformance" E2E_ARGS='$(CONFORMANCE_E2E_ARGS)' CONFORMANCE_FLAVOR='$(CONFORMANCE_FLAVOR)' | ||
|
||
test-conformance-fast: ## Run conformance test on workload cluster using a subset of the conformance suite in parallel. | ||
$(MAKE) test-conformance CONFORMANCE_E2E_ARGS="-kubetest.config-file=$(KUBETEST_FAST_CONF_PATH) -kubetest.ginkgo-nodes=5 $(E2E_ARGS)" | ||
|
||
.PHONY: test-windows-upstream | ||
test-windows-upstream: ## Run windows upstream tests on workload cluster. | ||
ifneq ($(WIN_REPO_URL), ) | ||
curl --retry $(CURL_RETRIES) $(WIN_REPO_URL) -o $(KUBETEST_REPO_LIST_PATH)/custom-repo-list.yaml | ||
endif | ||
$(MAKE) test-conformance CONFORMANCE_E2E_ARGS="-kubetest.config-file=$(KUBETEST_WINDOWS_CONF_PATH) -kubetest.repo-list-path=$(KUBETEST_REPO_LIST_PATH) $(E2E_ARGS)" |