From ebee6949cea2be2fb1e03290c2bb04fdb60f7376 Mon Sep 17 00:00:00 2001 From: Billy Zha Date: Tue, 19 Nov 2024 13:44:41 +0800 Subject: [PATCH] chore(e2e): set go bin path (#1530) Signed-off-by: Billy Zha --- test/e2e/scripts/prepare.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/scripts/prepare.sh b/test/e2e/scripts/prepare.sh index 13b119574..ffcee4f05 100755 --- a/test/e2e/scripts/prepare.sh +++ b/test/e2e/scripts/prepare.sh @@ -35,6 +35,7 @@ echo " === installing ginkgo === " repo_root=$(realpath --canonicalize-existing ${repo_root}) cwd=$(pwd) cd ${repo_root}/test/e2e && go install github.com/onsi/ginkgo/v2/ginkgo@latest +export PATH=$(go env GOPATH)/bin:$PATH trap "cd $cwd" EXIT # start registries