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

create-concourse: add nonadmin user creation, use for billing acceptance tests #3232

Merged
merged 3 commits into from
Jun 26, 2023

Conversation

risicle
Copy link
Member

@risicle risicle commented Jun 21, 2023

What

https://www.pivotaltracker.com/story/show/185167233

This expands the way we create/delete temporary cf users in the create-cloudfoundry pipeline to also be able to create non-admin users (which can optionally be made a billing manager of a named org).

It then uses both admin and non-admin accounts generated this way for the billing acceptance tests.

How to review

Deploy to a dev env, see existing acceptance tests passing and billing acceptance tests passing following a deploy.


🚨⚠️ Please do not merge this pull request via the GitHub UI ⚠️🚨

there isn't really anything admin-specific about this
…ceptance tests

using existing create_admin task. this is a bit safer as the temp
admin will be deleted following the test, invalidating any potential
cred leaks.
…ance tests

this also optionally makes the user a billing manager of a
specified org. not combined with create_admin as the two are
created in fundamentally different ways.
@risicle risicle force-pushed the ris-billing-test-expansion branch from 4734ed7 to ec1be0a Compare June 21, 2023 16:01
@risicle risicle closed this Jun 26, 2023
@risicle risicle merged commit f2aeddb into main Jun 26, 2023
@risicle risicle deleted the ris-billing-test-expansion branch June 26, 2023 11:54
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