mirror of https://github.com/k3s-io/k3s
Merge pull request #25817 from ihmccreery/fix-skew-kubectl
Automatic merge from submit-queue Fix JENKINS_USE_SKEW_KUBECTL I got this logic wrong; the first is a NOT comparison, so the second should only be available if that NOT comparison returns true.pull/6/head
commit
2c038e38c5
|
@ -342,9 +342,10 @@ if [[ -n "${JENKINS_PUBLISHED_SKEW_VERSION:-}" ]]; then
|
|||
if [[ "${JENKINS_USE_SKEW_TESTS:-}" != "true" ]]; then
|
||||
# Back out into the old tests now that we've downloaded & maybe upgraded.
|
||||
cd ../kubernetes_old
|
||||
elif [[ "${JENKINS_USE_SKEW_KUBECTL:-}" == "true" ]]; then
|
||||
# Append kubectl-path of skewed kubectl to test args
|
||||
GINKGO_TEST_ARGS="${GINKGO_TEST_ARGS:-} --kubectl-path=$(pwd)/../kubernetes/cluster/kubectl.sh"
|
||||
if [[ "${JENKINS_USE_SKEW_KUBECTL:-}" == "true" ]]; then
|
||||
# Append kubectl-path of skewed kubectl to test args
|
||||
GINKGO_TEST_ARGS="${GINKGO_TEST_ARGS:-} --kubectl-path=$(pwd)/../kubernetes/cluster/kubectl.sh"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue