From bb4a2d45d3c0f480acaa3ab1f401ca632ba2ec0a Mon Sep 17 00:00:00 2001 From: Pierre Oblin Date: Wed, 3 Jan 2024 16:43:06 +0100 Subject: [PATCH] remove kubectl bosh package (unused, replaced with k3s kubectl) --- addblob.sh | 2 -- packages/kubectl-k3s/packaging | 12 ------------ packages/kubectl-k3s/spec | 5 ----- vendir.yml | 12 ------------ 4 files changed, 31 deletions(-) delete mode 100644 packages/kubectl-k3s/packaging delete mode 100644 packages/kubectl-k3s/spec diff --git a/addblob.sh b/addblob.sh index 68517863..4bda0b2f 100755 --- a/addblob.sh +++ b/addblob.sh @@ -27,8 +27,6 @@ function addBlobOnChecksumChange() { addBlobOnChecksumChange src/github.com/k3s-io/k3s/k3s k3s/k3s addBlobOnChecksumChange src/github.com/k3s-io/k3s/k3s-airgap-images-amd64.tar k3s-images/k3s-airgap-images-amd64.tar -chmod ugo+x src/github.com/kubernetes/kubectl/kubectl -addBlobOnChecksumChange src/github.com/kubernetes/kubectl/kubectl kubectl/kubectl # Inspired by https://github.com/orange-cloudfoundry/bosh-release-action/blob/8732ff085712d9980fc66e50892cb9c3d7a3f884/entrypoint.sh#L48-L58 diff --git a/packages/kubectl-k3s/packaging b/packages/kubectl-k3s/packaging deleted file mode 100644 index da51de43..00000000 --- a/packages/kubectl-k3s/packaging +++ /dev/null @@ -1,12 +0,0 @@ -set -e # exit immediately if a simple command exits with a non-zero status -set -u # report the usage of uninitialized variables - -# Detect # of CPUs so make jobs can be parallelized -CPUS=$(grep -c ^processor /proc/cpuinfo) - # Available variables -# $BOSH_COMPILE_TARGET - where this package & spec'd source files are available -# $BOSH_INSTALL_TARGET - where you copy/install files to be included in package -export HOME=/var/vcap -cp ${BOSH_COMPILE_TARGET}/kubectl/kubectl ${BOSH_INSTALL_TARGET}/kubectl -chmod ugo+x ${BOSH_INSTALL_TARGET}/kubectl - diff --git a/packages/kubectl-k3s/spec b/packages/kubectl-k3s/spec deleted file mode 100644 index 2af0713d..00000000 --- a/packages/kubectl-k3s/spec +++ /dev/null @@ -1,5 +0,0 @@ ---- -name: kubectl-k3s -dependencies: [] -files: -- kubectl/kubectl diff --git a/vendir.yml b/vendir.yml index b05c574d..c500631b 100644 --- a/vendir.yml +++ b/vendir.yml @@ -7,18 +7,6 @@ directories: - path: src/github.com contents: - - # validates checksums automatically from release notes - - path: kubernetes/kubectl - githubRelease: - slug: kubernetes/kubernetes - tag: v1.24.17 - disableAutoChecksumValidation: true - http: - # The url parameter of http can interpolate the tag of the GitHub release using the {tag} token. - url: https://dl.k8s.io/release/{tag}/bin/linux/amd64/kubectl - permission: 0755 - - path: k3s-io/k3s githubRelease: slug: k3s-io/k3s