Skip to content

Commit

Permalink
Merge branch 'develop' into 1337-sys-admin-permission-change-email
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani authored Dec 5, 2024
2 parents 760c8c3 + 1bd1a43 commit f0677b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
21 changes: 2 additions & 19 deletions .circleci/deployment/commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,7 @@
default: CF_APP
steps:
- checkout
- run:
name: Install dependencies
command: |
apk update
apk add jq
apk add curl
# TODO: Add Signature check
curl -L "https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=github" | tar -zx
mv cf7 /usr/local/bin/cf
- cf-check
- login-cloud-dot-gov:
cf-password: <<parameters.cf-password>>
cf-username: <<parameters.cf-username>>
Expand Down Expand Up @@ -285,16 +277,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
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ assignees: ''
- [ ] Documentation work for the following has occurred:
- [ ] Relevant User stories.
- [ ] Recommended pa11y checks.
- [ ] Updating living UX documents, e.g. User Flows or Personas(if relevant).
- [ ] Updating living UX documents, e.g. User Flows, Personas, [Service Blueprint](https://www.figma.com/design/irgQPLTrajxCXNiYBTEnMV/TDP-Mockups-For-Feedback?node-id=9080-4762) (if relevant).
- [ ] Internal Raft Review has occurred to ensure DoD standards and QA
- [ ] Dev/Design sync has occurred; resulting tickets created
- [ ] The design is usable and accessible, meaning it adheres to definition of done standards for design work.
Expand Down
10 changes: 8 additions & 2 deletions scripts/cf-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@ set -e
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
if [[ -f /bin/terraform ]]; then
echo "This is our Terraform executor"
apk update
apk install curl jq
else
apt-get update
apt-get install curl wget gnupg2 apt-transport-https jq
fi

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 f0677b2

Please sign in to comment.