diff --git a/.circleci/deployment/commands.yml b/.circleci/deployment/commands.yml index d1aa82b7d..6bbf55543 100644 --- a/.circleci/deployment/commands.yml +++ b/.circleci/deployment/commands.yml @@ -285,16 +285,7 @@ type: string steps: - checkout - - run: - name: Install dependencies - command: | - sudo apt update - sudo apt install jq - sudo apt install curl - # TODO: Add Signature check - curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=github" | tar -zx - sudo mv cf7 /usr/local/bin/cf - sudo chmod +x /usr/local/bin/cf + - cf-check - login-cloud-dot-gov: cf-password: <> cf-username: <> diff --git a/scripts/cf-check.sh b/scripts/cf-check.sh index 5a2c84be7..8e0c5872b 100755 --- a/scripts/cf-check.sh +++ b/scripts/cf-check.sh @@ -4,7 +4,7 @@ if command -v cf /dev/null 2>&1; then echo The command cf is available else apt-get update - apt-get install wget gnupg2 apt-transport-https + apt-get install wget gnupg2 apt-transport-https jq NEXUS_ARCHIVE="cf7-cli_7.7.13_linux_x86-64.tgz" NEXUS_URL="https://tdp-nexus.dev.raftlabs.tech/repository/tdp-bin/cloudfoundry-cli/$NEXUS_ARCHIVE"