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

Drop -d flag no longer supported after cf6 #496

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

will-gant
Copy link
Contributor

Are you submitting this PR against the develop branch?

Yes

What is this change about?

Updates the setup_new_broker.rb script used to bootstrap the test service broker.

The script used the now-defunct '-d' flag for cf push, which was deprecated in version 7 of the cf CLI. As it is no longer possible to specify an app's domain via commandline flags in a 'cf push', the script has been updated to retrieve the route of the test broker after it has been deployed. It then uses this to register the broker.

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

n/a

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

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

n/a

How should this change be described in cf-acceptance-tests release notes?

n/a

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

n/a

What is the level of urgency for publishing this change?

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

Tag your pair, your PM, and/or team!

@SAP/cf-controlplane

This script used the now-defunct '-d' flag for cf push, which was deprecated in version 7 of the cf CLI. It is no longer possible to specify an app's domain via commandline flags in a 'cf push', and so the script has been updated to retrieve the route of the test broker after it has been deployed. It then uses this to register the broker.
@ctlong ctlong added this to To do in CF Acceptance Tests Feb 3, 2022
assets/service_broker/setup_new_broker.rb Outdated Show resolved Hide resolved
CF Acceptance Tests automation moved this from To do to Review in progress Feb 8, 2022
CF Acceptance Tests automation moved this from Review in progress to Approved Feb 10, 2022
@ctlong ctlong merged commit a16d86c into cloudfoundry:develop Feb 10, 2022
CF Acceptance Tests automation moved this from Approved to Done Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants