Skip to content

Features in manifest#1575

Merged
philippthun merged 2 commits intodevelopfrom
features-in-manifest
Jul 3, 2025
Merged

Features in manifest#1575
philippthun merged 2 commits intodevelopfrom
features-in-manifest

Conversation

@philippthun
Copy link
Member

@philippthun philippthun commented May 22, 2025

What is this change about?

Test app features specified in the manifest.

Please provide contextual information.

cloudfoundry/cloud_controller_ng#4358

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

v49

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

Did you update the README as appropriate for this change?

  • YES
  • N/A

What is the level of urgency for publishing this change?

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

Add tests that enable features and bind services via manifest; keep
tests that use the API instead. Test 'file-based-vcap-services' and
'service-binding-k8s' features for buildpack, cnb and docker apps.
Refactor test setup; the three lifecycles need different args for
'create-app' and 'push', otherwise operations are identical. Also
enhance test validation; read VCAP_SERVICES_FILE_PATH and
SERVICE_BINDING_ROOT env vars from app.
@philippthun philippthun changed the base branch from main to develop May 22, 2025 14:25
@philippthun philippthun reopened this May 22, 2025
@philippthun philippthun force-pushed the features-in-manifest branch from e8b5526 to c362041 Compare May 27, 2025 14:44
@philippthun philippthun marked this pull request as ready for review June 27, 2025 06:46
@philippthun philippthun requested review from a team June 27, 2025 06:47
ssh/ssh.go Outdated
It("can be disabled via cli", func() {
Expect(cf.Cf("disable-ssh", appName).Wait()).To(Exit(0))

sshCmd := cf.Cf("ssh", "-v", appName)
Copy link
Contributor

Choose a reason for hiding this comment

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

This code block is used 4 times, could it be extracted?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've extracted it - twice. There does not seem to be a pattern how to reuse stuff in the windows suite...

Add tests that disable ssh via cli command and manifest. Also as part of
Windows tests.
@philippthun philippthun force-pushed the features-in-manifest branch from c362041 to 909e81d Compare July 3, 2025 07:15
@jochenehret jochenehret self-requested a review July 3, 2025 10:20
@philippthun philippthun merged commit 6ebc3cc into develop Jul 3, 2025
3 checks passed
@philippthun philippthun deleted the features-in-manifest branch July 3, 2025 10:23
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