@@ -38,9 +38,7 @@ CRD_REF_DOCS_VERSION ?= v0.1.0
3838CRD_REF_DOCS ?= $(LOCALBIN ) /crd-ref-docs
3939CRD_DOCS_CONFIG ?= docs/crd/config.yaml
4040CRD_DOCS_OUTPUT ?= docs/crd/api.md
41-
42- export KUBECONFIG = /tmp/$(KIND_NAME ) .kubeconfig
43-
41+ #
4442# go
4543VERSYM ="github.com/apache/apisix-ingress-controller/internal/version._buildVersion"
4644GITSHASYM ="github.com/apache/apisix-ingress-controller/internal/version._buildGitRevision"
@@ -126,7 +124,6 @@ kind-e2e-test: kind-up build-image kind-load-images e2e-test
126124# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
127125.PHONY : e2e-test
128126e2e-test :
129- @kind get kubeconfig --name $(KIND_NAME ) > $$ KUBECONFIG
130127 go test $(TEST_DIR ) -test.timeout=$(TEST_TIMEOUT ) -v -ginkgo.v -ginkgo.focus=" $( TEST_FOCUS) " -ginkgo.label-filter=" $( TEST_LABEL) "
131128
132129.PHONY : conformance-test
@@ -135,7 +132,6 @@ conformance-test:
135132
136133.PHONY : conformance-test-standalone
137134conformance-test-standalone :
138- @kind get kubeconfig --name $(KIND_NAME ) > $$ KUBECONFIG
139135 go test -v ./test/conformance/apisix -tags=conformance -timeout 60m
140136
141137.PHONY : lint
@@ -151,7 +147,6 @@ kind-up:
151147 @kind get clusters 2>&1 | grep -v $(KIND_NAME ) \
152148 && kind create cluster --name $(KIND_NAME ) \
153149 || echo " kind cluster already exists"
154- @kind get kubeconfig --name $(KIND_NAME ) > $$ KUBECONFIG
155150 kubectl wait --for=condition=Ready nodes --all
156151
157152.PHONY : kind-down
@@ -432,6 +427,7 @@ release-src:
432427 --exclude .DS_Store \
433428 --exclude docs \
434429 --exclude examples \
430+ --exclude scripts \
435431 --exclude samples \
436432 --exclude test \
437433 --exclude release \
0 commit comments