Skip to content

Commit

Permalink
Merge pull request #273 from maiqueb/remove-kubebuilder-dependencies
Browse files Browse the repository at this point in the history
build, ci: remove the install-kubebuilder-tools script
  • Loading branch information
dougbtv authored Oct 14, 2022
2 parents c01b24c + deba159 commit bb9db21
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions hack/install-kubebuilder-tools.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
#!/bin/bash
OCI_BIN=${OCI_BIN:-docker}

BASEDIR=$(pwd)

# install controller-gen
GOBIN=${BASEDIR}/bin go install sigs.k8s.io/controller-tools/cmd/[email protected]

# install kubebuilder tools to bin/
mkdir -p bin
containerID=$("$OCI_BIN" create gcr.io/kubebuilder/thirdparty-linux:1.16.4)
"$OCI_BIN" cp ${containerID}:/kubebuilder_linux_amd64.tar.gz ./kubebuilder_linux_amd64.tar.gz
"$OCI_BIN" rm ${containerID}
tar -xzvf kubebuilder_linux_amd64.tar.gz
rm kubebuilder_linux_amd64.tar.gz
mv kubebuilder/bin/* bin/
rm -rf kubebuilder/
chmod +x bin/

0 comments on commit bb9db21

Please sign in to comment.