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

Deploy to stage #639

Merged
merged 19 commits into from
Jul 3, 2024
Merged

Deploy to stage #639

merged 19 commits into from
Jul 3, 2024

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Jul 3, 2024

No description provided.

amstilp and others added 19 commits July 1, 2024 14:36
…late

Remove debugging print statement in template
This is the version of ACM that has custom workspace adapter methods
implemented, and I'd like to test it out before releasing the new
version of the package. CI will fail because the version in the
requirements.in file does not have the version in requirements.txt.
This is good, because we need to update requirements.in with the
official released version once it's ready.
This will be used in the adapters where we are going to create our
own auth domains.
These will be filled in in future commits.
Create an auth domain based on the name of the workspace. Add the
admins group as an admin of the auth domain. Share the workspace
with the auth domain as an owner.
Instead of just testing everything through the view, add specific
tests for the adapter methods.
The adapter method names chnaged from eg before_workspace_create to
before_anvil_create. Update the CDSA code to use those names.
We'll want to use the methods that create the uath domain and that
share a workspace with the admins elsewhere, so move the code into
a set of resuable classes that can be inherited in the workspae
adapters.
Add the two new adapter mixins to the dbGaPWorkspaceAdapter. This
means that a dbGaPWorkspace will get an auth domain automatically
created, the admins group will be added to it, and the workspace
will be shared with the admins group as an owner.
Automatically create an auth domain, add the admins group to the
auth domain, and share the workspace with the admins group.
This disables the auth domain field, which is a better user
experience when the auth domain will be automatically created.
Add the WorkspaceAdminSharingAdapter mixin to all other workspace
adapters, which will automatically share th workspace with the
admins group as an owner after it's created.
Instead of essentially repeating the same tests fora ll the adapters,
just test the adapter mixins themselves directly once. The actual
workspace adapters themselves are still tested via the create views.
requirements.txt will be updated by CI.
…es/637

Update requirements file for feature/acm-v0.24-and-custom-adapter-methods
…ter-methods

ACM v0.24 and custom adapter methods
@amstilp amstilp marked this pull request as ready for review July 3, 2024 21:56
@amstilp amstilp merged commit 6768282 into deploy/stage Jul 3, 2024
9 checks passed
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.

1 participant