From 1e1db4d867a99ca316508e0bfcc98f6ba85a5db1 Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Mon, 2 Aug 2021 22:10:08 -0400 Subject: [PATCH] Kubetest2 scenarios - provide absolute path to kops binary This allows the rest of the scenario to change directories and the "down" step still uses the correct location of the kops binary This should fix https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/directory/pull-kops-e2e-aws-ebs-csi-driver/1413601399341584384 --- tests/e2e/scenarios/lib/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/scenarios/lib/common.sh b/tests/e2e/scenarios/lib/common.sh index 40c1d7fad9..730085e53b 100644 --- a/tests/e2e/scenarios/lib/common.sh +++ b/tests/e2e/scenarios/lib/common.sh @@ -107,7 +107,7 @@ function kops-acquire-latest() { KOPS_BASE_URL="" fi $KUBETEST2 --build - KOPS=".bazelbuild/dist/linux/amd64/kops" + KOPS="${REPO_ROOT}/.bazelbuild/dist/linux/amd64/kops" fi }