Skip to content

Commit

Permalink
Add workaround to find kubectl binary on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Cecile Robert-Michon committed Apr 29, 2020
1 parent 7177d6a commit 12febd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ci-conformance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ build_k8s() {
# ensure the e2e script will find our binaries ...
mkdir -p "${PWD}/_output/bin/"
cp -f "${PWD}/bazel-bin/test/e2e/e2e.test" "${PWD}/_output/bin/e2e.test"
# workaround for mac os
# workarounds for mac os
cp -f "${PWD}/bazel-bin/vendor/github.com/onsi/ginkgo/ginkgo/darwin_amd64_stripped/ginkgo" "${PWD}/_output/bin/ginkgo" || true
cp -f "${PWD}/bazel-bin/cmd/kubectl/darwin_amd64_pure_stripped/kubectl" "${PWD}/_output/bin/kubectl" || true

PATH="$(dirname "$(find "${PWD}/bazel-bin/" -name kubectl -type f)"):${PATH}"
export PATH

Expand Down

0 comments on commit 12febd1

Please sign in to comment.