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

Generate users on the fly in tests #2765

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

danail-branekov
Copy link
Member

@danail-branekov danail-branekov commented Aug 10, 2023

Is there a related GitHub Issue?

#2519

What is this change about?

Generate user accounts on the fly in tests
instead of relying them being created in advance

User management is backed up by creating service accounts on the fly,
and use their tokens to create CF API rest clients.

For tests that verify certificate authentication we generate
certificates on the fly as well. However, on EKS signing certificates
with client auth usage is not supported, therefore we skip those
tests. As a matter of fact, those tests have already been skipped on
EKS by simply not injecting the certificate related environment
variables.

All of the above will simplify CI setup significantly.

Does this PR introduce a breaking change?

No

Acceptance Steps

E2E tests passing

Tag your pair, your PM, and/or team

@georgethebeatle

@georgethebeatle georgethebeatle force-pushed the issues/2519-simplify-e2e-suite branch 4 times, most recently from f78ea0d to b0ed3ac Compare August 14, 2023 14:35
instead of relying them being created in advance

User management is backed up by creating service accounts on the fly,
and use their tokens to create CF API rest clients.

For tests that verify certificate authentication we generate
certificates on the fly as well. However, on EKS signing certificates
with `client auth` usage is not supported, therefore we skip those
tests. As a matter of fact, those tests have already been skipped on
EKS by simply not injecting the certificate related environment
variables.

All of the above will simplify CI setup significantly.

Co-authored-by: Danail Branekov <[email protected]>
Co-authored-by: Georgi Sabev <[email protected]>
@danail-branekov danail-branekov changed the title Generate user certificates on the fly in tests Generate users on the fly in tests Aug 14, 2023
@georgethebeatle georgethebeatle merged commit 914d839 into main Aug 15, 2023
7 checks passed
@georgethebeatle georgethebeatle deleted the issues/2519-simplify-e2e-suite branch August 15, 2023 08:48
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