github.com/kyma-project/kyma-environment-broker@v0.0.1/setup-envtest.sh (about)

     1  #!/bin/bash
     2  cd "$(dirname "$0")"
     3  LOCAL_BIN=$(pwd)/bin
     4  mkdir -p $LOCAL_BIN
     5  GOBIN=$LOCAL_BIN go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
     6  OUTPUT=$($LOCAL_BIN/setup-envtest use --bin-dir $LOCAL_BIN -p path latest)
     7  echo $OUTPUT