From c5f9dde7b1497fa1802e73605ad1e299a5f023bc Mon Sep 17 00:00:00 2001 From: Olivier Grand Date: Fri, 13 May 2022 18:23:47 +0200 Subject: [PATCH] add tfo cli --- Dockerfile | 2 ++ bosh-cli/check-available-clis.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c1e75a..4cf1376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,7 @@ ENV ARGO_CLI_VERSION="3.3.2" \ SVCAT_VERSION="0.3.1" \ TERRAFORM_PLUGIN_CF_VERSION="0.11.2" \ TERRAFORM_VERSION="0.11.14" \ + TFO_CLI_VERSION="1.1.2" \ VENDIR_VERSION="0.26.0" #--- Packages list, ruby env for COA and cf plugins @@ -110,6 +111,7 @@ RUN printf '\n=====================================================\n Install sy printf '\n=> Add SVCAT-CLI\n' && curl -sSLo /usr/local/bin/svcat "https://download.svcat.sh/cli/v${SVCAT_VERSION}/linux/amd64/svcat" && \ printf '\n=> Add TERRAFORM-CLI\n' && curl -sSLo /tmp/terraform.zip "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" && unzip -q /tmp/terraform.zip -d /usr/local/bin && \ printf '\n=> Add TERRAFORM-CF-PROVIDER\n' && export PROVIDER_CLOUDFOUNDRY_VERSION="v${TERRAFORM_PLUGIN_CF_VERSION}" && /bin/bash -c "$(wget https://raw.github.com/orange-cloudfoundry/terraform-provider-cloudfoundry/master/bin/install.sh -O -)" && \ + printf '\n=> Add TFO-CLI\n' && curl -sSL "https://github.com/isaaguilar/terraform-operator-cli/releases/download/v${TFO_CLI_VERSION}/tfo-v${TFO_CLI_VERSION}-linux-amd64.tgz" | tar -xz -C /usr/local/bin && \ printf '\n=> Add VENDIR-CLI\n' && curl -sSLo /usr/local/bin/vendir "https://github.com/vmware-tanzu/carvel-vendir/releases/download/v${VENDIR_VERSION}/vendir-linux-amd64" && \ printf '\n=====================================================\n Set system banner\n=====================================================\n' && \ GIT_VERSION=$(git --version | awk '{print $3}') && \ diff --git a/bosh-cli/check-available-clis.sh b/bosh-cli/check-available-clis.sh index 5298582..d962edb 100644 --- a/bosh-cli/check-available-clis.sh +++ b/bosh-cli/check-available-clis.sh @@ -26,12 +26,12 @@ printf '\n=> Check GOVC-CLI\n' ; govc version printf '\n=> Check GO3FR-CLI\n' ; go3fr --version printf '\n=> Check HELM-CLI\n' ; helm version printf '\n=> Check JQ-CLI\n' ; jq --version +printf '\n=> Check KUBECTL-CLI\n' ; kubectl version --client --short +printf '\n=> Check KUSTOMIZE-CLI\n' ; kustomize version --short printf '\n=> Check K14S-KAPP-CLI\n' ; kapp version printf '\n=> Check K14S-KLBD-CLI\n' ; klbd --version printf '\n=> Check K14S-YTT-CLI\n' ; ytt --version printf '\n=> Check K9S-CLI\n' ; k9s version --short -printf '\n=> Check KUBECTL-CLI\n' ; kubectl version --client --short -printf '\n=> Check KUSTOMIZE-CLI\n' ; kustomize version --short printf '\n=> Check MINIO-CLI\n' ; mc --version printf '\n=> Check MONGO_SHELL_CLI\n' ; mongo --version printf '\n=> Check MYSQL-SHELL-CLI\n' ; mysqlsh --version