This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new 56f22e7c [YUNIKORN-2377] Fix "kubectl: executable file not found in
PATH" for e2e (#775)
56f22e7c is described below
commit 56f22e7c0985df2e3741f44ab8c7f355fd257762
Author: Ryan Lo <[email protected]>
AuthorDate: Sat Feb 3 19:28:10 2024 +0800
[YUNIKORN-2377] Fix "kubectl: executable file not found in PATH" for e2e
(#775)
Closes: #775
Signed-off-by: Chia-Ping Tsai <[email protected]>
---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 113f82e5..aa199971 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,6 @@ GO := go
endif
GO_EXE_PATH := $(shell "$(GO)" env GOROOT)/bin
-export PATH := $(GO_EXE_PATH):$(PATH)
# Check if this GO tools version used is at least the version of go specified
in
# the go.mod file. The version in go.mod should be in sync with other repos.
@@ -59,6 +58,9 @@ TEST_SERVER_BINARY=web-test-server
TOOLS_DIR=tools
REPO=github.com/apache/yunikorn-k8shim/pkg
+# PATH
+export PATH := $(BASE_DIR)/$(TOOLS_DIR):$(GO_EXE_PATH):$(PATH)
+
# Default values for dev cluster
ifeq ($(K8S_VERSION),)
K8S_VERSION := v1.29.0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]