Add KUBE_PROVIDERLESS for CI jobs to run with providerless tag

Also ensure `test/e2e` works with providerless tag in the verify
script

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2024-01-06 14:02:39 -05:00
parent fdf6503e60
commit e25e1d39bd
2 changed files with 5 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ unset CDPATH
# they can explicitly set GO111MODULE=on
export GO111MODULE=off
if [[ "${KUBE_PROVIDERLESS:-"off"}" == "on" ]]; then
export GOFLAGS=${GOFLAGS:-"-tags=providerless"}
fi
# The root of the build/dist directory
KUBE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"