X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=env%2Flib%2Fcommon.sh;h=af54d237462701ba9e1b890412093350c493b114;hb=00ee6025d0bcd56f5a55f06c76c97cc864534b20;hp=53e278d2c787236c45b515945a550211d0245f8c;hpb=dce310505aca99e0370cad39bd26e76d061746b5;p=icn.git diff --git a/env/lib/common.sh b/env/lib/common.sh index 53e278d..af54d23 100755 --- a/env/lib/common.sh +++ b/env/lib/common.sh @@ -274,40 +274,6 @@ function clone_emco_repository { clone_repository ${EMCOPATH} ${EMCOREPO} ${EMCO_VERSION} } -function install_kustomize { - curl -sL "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2F${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz" -o kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz - tar xzf kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz --no-same-owner - sudo install -o root -g root -m 0755 kustomize /usr/local/bin/kustomize - rm kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz kustomize - kustomize version -} - -function install_clusterctl { - curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/${CAPI_VERSION}/clusterctl-linux-amd64 -o clusterctl - sudo install -o root -g root -m 0755 clusterctl /usr/local/bin/clusterctl - rm clusterctl - clusterctl version -} - -function install_flux_cli { - export FLUX_VERSION - curl -s https://fluxcd.io/install.sh | sudo -E bash - flux --version -} - -function install_emcoctl { - clone_emco_repository - make -C ${EMCOPATH}/src/tools/emcoctl - sudo install -o root -g root -m 0755 ${EMCOPATH}/bin/emcoctl/emcoctl /usr/local/bin/emcoctl -} - -function install_sops { - curl -L https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux -o sops - sudo install -o root -g root -m 0755 sops /usr/local/bin/sops - rm sops - sops --version -} - function fetch_image { if [[ "${BM_IMAGE_URL}" && "${BM_IMAGE}" ]]; then mkdir -p "${IRONIC_DATA_DIR}/html/images"