Skip to content

Commit

Permalink
Standardizing on use of cf-check on older workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-jameson committed Dec 4, 2024
1 parent 97bf95e commit 23a4ef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .circleci/deployment/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: <<parameters.cf-password>>
cf-username: <<parameters.cf-username>>
Expand Down
2 changes: 1 addition & 1 deletion scripts/cf-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 23a4ef7

Please sign in to comment.