-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add workflow to run conda-store user journey tests #2895
base: main
Are you sure you want to change the base?
Conversation
8bb4c2a
to
814d7e8
Compare
depends on conda-incubator/conda-store#1040 |
814d7e8
to
b58c5c7
Compare
Since these tests depend on a live cluster, I suggest extending the already existing local integration tests with this extra check https://github.com/nebari-dev/nebari/blob/main/.github/workflows/test_local_integration.yaml -- since it uses CiRun under the hood you should not be affected by any flakiness of the GH runner in case of constrained resources. |
8d941b5
to
c108c2f
Compare
550fe91
to
88d000f
Compare
8138e62
to
b1079d1
Compare
7fbbdf9
to
9652b91
Compare
9652b91
to
a4e24a5
Compare
@@ -29,7 +29,10 @@ def do_keycloak(config: schema.Main, *args): | |||
|
|||
username = args[1] | |||
password = args[2] if len(args) >= 3 else None | |||
create_user(keycloak_admin, username, password, domain=config.domain) | |||
groups = args[3] if len(args) >= 4 else None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of this approach to passing arguments around but did this to follow the pattern already defined in this part of the code.
I would be happy to refactor this module to make it a more developer friendly if that's something the nebari team is into.
Could also split that into a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why don't you split that into a different pr. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this functionality is also implemented in #2917. Will rebase my changes when it get's merged.
21578d2
to
a17192b
Compare
a17192b
to
43a603c
Compare
Reference Issues or PRs
fixes #2760
test_local_integration
--group
flag when adding a keycloak userTo create a keycloak user with access to a particular group, run the command
What does this implement/fix?
Put a
x
in the boxes that apply