...
1testbin := "bin"
2tools := "//hack/tools"
3
4# refreshes test/bin directory so other scripts can place tools there
5mkbindir:
6 rm -rf {{testbin}}
7 mkdir -p {{testbin}}
8
9# adds envtest binaries to test/bin so they are available outside of bazel
10setup-envtest-bin: mkbindir
11 bazel run --config=quiet --script_path={{testbin}}/etcd {{tools}}:etcd
12 bazel run --config=quiet --script_path={{testbin}}/kube-apiserver {{tools}}:kube-apiserver
13 bazel run --config=quiet --script_path={{testbin}}/kubectl {{tools}}:kubectl
View as plain text