Skip to content

Commit

Permalink
Merge pull request #341 from SgtCoDFish/focus-e2e
Browse files Browse the repository at this point in the history
Add option to focus a specific e2e test
  • Loading branch information
cert-manager-prow[bot] authored Jul 10, 2024
2 parents 76e3759 + 61d2dcc commit f71c742
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions make/test-e2e.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ e2e-setup-istio: | kind-cluster install $(NEEDS_KUBECTL) $(bin_dir)/scratch/isti
$(bin_dir)/scratch/istioctl-$(ISTIO_VERSION) install -y -f ./make/config/istio/istio-config-$(ISTIO_VERSION).yaml
$(KUBECTL) -n istio-system apply --server-side -f ./make/config/peer-authentication.yaml

E2E_FOCUS ?=

test-e2e-deps: INSTALL_OPTIONS :=
test-e2e-deps: INSTALL_OPTIONS += --set image.repository=$(oci_manager_image_name_development)
test-e2e-deps: INSTALL_OPTIONS += -f ./make/config/istio-csr-values.yaml
Expand All @@ -75,6 +77,7 @@ test-e2e-deps: e2e-setup-istio
test-e2e: test-e2e-deps | kind-cluster $(NEEDS_GINKGO) $(NEEDS_KUBECTL)
$(GINKGO) \
--output-dir=$(ARTIFACTS) \
--focus="$(E2E_FOCUS)" \
--junit-report=junit-go-e2e.xml \
./test/e2e/ \
-ldflags $(go_manager_ldflags) \
Expand Down

0 comments on commit f71c742

Please sign in to comment.