Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,17 @@ jobs:
mkdir /tmp/test-results
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"

bundle exec rspec --format progress \
--format RspecJunitFormatter \
--out /tmp/test-results/rspec.xml \
--format progress \
$TEST_FILES
bundle exec rspec --format progress \
--format RspecJunitFormatter \
--out /tmp/test-results/rspec.xml \
--format progress \
$TEST_FILES
# Install Cloud Foundry cli (cf) before deploy step. cf is used to push to Cloud.gov
- run:
name: Install-cf-cli
command: |
curl -v -L -o cf-cli_amd64.deb 'https://packages.cloudfoundry.org/stable?release=debian64&source=github'
# Install latest cf8 CLI release (keeps minor/patch versions up to date)
curl -L -o cf-cli_amd64.deb 'https://github.com/cloudfoundry/cli/releases/latest/download/cf8-cli-installer_x86-64.deb'
sudo dpkg -i cf-cli_amd64.deb
cf -v
# collect reports
Expand Down Expand Up @@ -180,7 +181,7 @@ jobs:
- run:
name: Install-cf-cli
command: |
curl -v -L -o cf-cli_amd64.deb 'https://packages.cloudfoundry.org/stable?release=debian64&source=github'
curl -L -o cf-cli_amd64.deb 'https://github.com/cloudfoundry/cli/releases/download/v8.17.0/cf8-cli-installer_8.17.0_x86-64.deb'
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

The filename in the download URL appears to have an incorrect architecture format. The URL uses 'x86-64' but Debian packages for Cloud Foundry CLI typically use 'x86_64' with an underscore. Please verify this is the correct URL by checking the actual GitHub releases page at https://github.com/cloudfoundry/cli/releases/tag/v8.17.0 to ensure the filename matches exactly.

Suggested change
curl -L -o cf-cli_amd64.deb 'https://github.com/cloudfoundry/cli/releases/download/v8.17.0/cf8-cli-installer_8.17.0_x86-64.deb'
curl -L -o cf-cli_amd64.deb 'https://github.com/cloudfoundry/cli/releases/download/v8.17.0/cf8-cli-installer_8.17.0_x86_64.deb'

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

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

Hardcoding a specific version (v8.17.0) means this configuration will not automatically receive updates when new versions are released. Consider documenting why this specific version is required, or implement a mechanism to keep the version up to date. This could prevent the application from benefiting from bug fixes and security updates in newer cf-cli releases.

Copilot uses AI. Check for mistakes.
sudo dpkg -i cf-cli_amd64.deb
cf -v
- run:
Expand Down