File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -euo pipefail
3+
4+ K8S_VERSION=" ${K8S_VERSION:= " 1.29.x" } "
5+ KUBEBUILDER_ASSETS=" /usr/local/kubebuilder/bin"
6+
7+ main () {
8+ tools
9+ kubebuilder
10+ }
11+
12+ tools () {
13+ if ! echo " $PATH " | grep -q " ${GOPATH:- undefined} /bin\|$HOME /go/bin" ; then
14+ echo " Go workspace's \" bin\" directory is not in PATH. Run 'export PATH=\"\$ PATH:\$ {GOPATH:-\$ HOME/go}/bin\" '."
15+ fi
16+
17+ go install github.com/awslabs/attribution-gen@latest
18+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
19+ go install github.com/google/ko@latest
20+ go install github.com/mikefarah/yq/v4@latest
21+ go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
22+ go install sigs.k8s.io/controller-tools/cmd/controller-gen@latest
23+ go install github.com/sigstore/cosign/v2/cmd/cosign@latest
24+ go install golang.org/x/vuln/cmd/govulncheck@latest
25+ }
You can’t perform that action at this time.
0 commit comments