Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade cf cli #416

Merged
merged 2 commits into from
Feb 4, 2025
Merged

upgrade cf cli #416

merged 2 commits into from
Feb 4, 2025

Conversation

pkfec
Copy link
Contributor

@pkfec pkfec commented Jan 29, 2025

Summary

The Cloud.gov v2 API for Cloud Foundry is reaching its end-of-life. CF CLI versions 6 and 7 still rely on Cloud Foundry API v2 and will no longer work in coming months with foundations that have disabled it. However, CF CLI v8 no longer uses Cloud Foundry API v2. For more details, refer to this link.

  1. circleci/config.yml, is upgraded to CF CLI v8.9.0. This version supports Cloud Foundry API v3. Deploying to a cloud.gov space should work smoothly with this update

Resolves # fecgov/openFEC#6110

Required reviewers

1 developer

Impacted areas of the application

  • install cf cli script
  • deploy proxy (to cloud.gov space)

Screenshots

Before:
cf cli v7.0.1 circleci build:

Screenshot 2025-01-29 at 4 27 03 PM

After:
cf cli v8.9.0. circleci build:

Screenshot 2025-01-29 at 4 27 52 PM

Related PRs

Related PRs against other branches:

How to test

  • Follow these instructions to install cf CLI v8 on your local terminal or run: brew install cloudfoundry/tap/cf-cli@8
  • verify cf cli version: run cf version
F612211M:~ pkasireddy$ cf version
cf version 8.9.0+c23186c.2024-12-02
API endpoint:   https://api.fr.cloud.gov
API version:    3.185.0

@pkfec pkfec self-assigned this Jan 29, 2025
@pkfec pkfec marked this pull request as draft January 29, 2025 17:50
@pkfec pkfec changed the title upgrade cf cli version to 8.9.0 upgrade cf cli version Jan 29, 2025
@pkfec pkfec changed the title upgrade cf cli version upgrade cf cli Jan 29, 2025
@pkfec pkfec marked this pull request as ready for review January 30, 2025 20:53
Copy link
Member

@cnlucas cnlucas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well for me, thanks @pkfec

@cnlucas cnlucas merged commit 237231e into develop Feb 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants