Merge pull request #6189 from wallrj/static-e2e-test-build

Static e2e test build
This commit is contained in:
jetstack-bot 2023-06-27 14:32:55 +02:00 committed by GitHub
commit b66fe4ae77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ e2e-ci: | $(NEEDS_GO)
make/e2e-ci.sh
$(BINDIR)/test/e2e.test: FORCE | $(NEEDS_GINKGO) $(BINDIR)/test
$(GINKGO) build --tags e2e_test test/e2e
CGO_ENABLED=0 $(GINKGO) build --ldflags="-w -s" --trimpath --tags e2e_test test/e2e
mv test/e2e/e2e.test $(BINDIR)/test/e2e.test
.PHONY: e2e-build
@ -150,7 +150,7 @@ $(BINDIR)/test/e2e.test: FORCE | $(NEEDS_GINKGO) $(BINDIR)/test
## Here's an example of how you might run a subset of the end-to-end tests
## which only require cert-manager to be installed:
##
## ./e2e --repo-root=/dev/null --ginkgo.focus="CA\ Issuer" --ginkgo.skip="Gateway"
## ./_bin/test/e2e.test --repo-root=/dev/null --ginkgo.focus="CA\ Issuer" --ginkgo.skip="Gateway"
##
## @category Development
e2e-build: $(BINDIR)/test/e2e.test