Skip to content

Commit

Permalink
hack ci e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
aojea committed Jun 25, 2023
1 parent 720e4f8 commit 8f87f7d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hack/ci/e2e-k8s.sh → hack/ci/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,17 @@ main() {
# debug kind version
kind version

# build cloud-provider-kind
make
nohup bin/cloud-provider-kind > ${ARTIFACTS}/ccm-kind.log 2>&1 &

# build kubernetes
K8S_PATH=$(find ${GOPATH} -path '*/k8s.io/kubernetes/go.mod' -print -quit)
if [ -z "${K8S_PATH}" ]; then
K8S_PATH=$(find / -path '*/kubernetes/go.mod' -print -quit)
fi
cd $(dirname ${K8S_PATH})

build
# in CI attempt to release some memory after building
if [ -n "${KUBETEST_IN_DOCKER:-}" ]; then
Expand Down

0 comments on commit 8f87f7d

Please sign in to comment.