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

Acceptance test for file based service bindings #1374

Merged
merged 7 commits into from
Dec 17, 2024

Conversation

jochenehret
Copy link
Contributor

@jochenehret jochenehret commented Dec 12, 2024

What is this change about?

Acceptance test for the file-based service bindings feature. This PR introduces a new CATs config flag include_file_based_service_bindings for the new tests (default is false). The test checks that file-based service bindings works for a regular buildpack app and for a CNB lifecycle app. Test for a Docker app will follow.

Please provide contextual information.

RFC0030

What version of cf-deployment have you run this cf-acceptance-test change against?

v45.0.0 with patched capi-release and diego-release

Please check all that apply for this PR:

  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config (must set new flag if you want to run the test)

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

File-based service bindings will be generally available with an upcoming cf-deployment release.

How many more (or fewer) seconds of runtime will this change introduce to CATs?

90 seconds per test

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

* pushed buildpack app, enables app feature "file-based-service-bindings" and binds a user-provided service
* then checks service binding files via app /file endpoint
* test is skipped if "include_file_based_service_bindings" if false
@jochenehret jochenehret marked this pull request as ready for review December 13, 2024 14:05
@jochenehret jochenehret requested review from a team December 13, 2024 14:05
@jochenehret jochenehret merged commit 99633fa into develop Dec 17, 2024
3 checks passed
@jochenehret jochenehret deleted the file-based-service-bindings branch December 17, 2024 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants