File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ presubmits:
22
22
spec :
23
23
containers :
24
24
- image : ghcr.io/kcp-dev/infra/build:1.21.8-1
25
+ env :
26
+ - name : KUBECONFIG
27
+ value : /home/prow/go/src/github.com/kcp-dev/controller-runtime/examples/kcp/.test/kcp.kubeconfig
25
28
command :
26
29
- make
27
30
- test-kcp-e2e
Original file line number Diff line number Diff line change @@ -67,12 +67,10 @@ kcp-server: $(KCP) $(ARTIFACT_DIR)/kcp ## Run the kcp server.
67
67
68
68
.PHONY : kcp-bootstrap
69
69
kcp-bootstrap : # # Bootstrap the kcp server.
70
- export KUBECONFIG=$(CURDIR ) /$(ARTIFACT_DIR ) /kcp.kubeconfig
71
70
@go run ./config/main.go
72
71
73
72
.PHONY : kcp-controller
74
73
kcp-controller : build kcp-bootstrap # # Run the kcp-controller.
75
- export KUBECONFIG=$(CURDIR ) /$(ARTIFACT_DIR ) /kcp.kubeconfig
76
74
@echo " Starting kcp-controller in the background. To stop run 'make test-cleanup'"
77
75
@if [[ ! -s $( ARTIFACT_DIR) /controller.log ]]; then ( ./bin/kcp-controller > $( ARTIFACT_DIR) /controller.log 2>&1 & ); fi
78
76
@@ -94,5 +92,4 @@ run-local: build-controller kcp-bootstrap
94
92
95
93
.PHONY : test # Run tests
96
94
test :
97
- export KUBECONFIG=$(CURDIR ) /$(ARTIFACT_DIR ) /kcp.kubeconfig
98
95
go test ./... --workspace=root --kubeconfig=$(CURDIR ) /$(ARTIFACT_DIR ) /kcp.kubeconfig
You can’t perform that action at this time.
0 commit comments