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

Enabling GitHub Teams Authentication for the Pangeo Staging Hub #707

Merged
merged 6 commits into from
Oct 5, 2021

Conversation

sgibson91
Copy link
Member

@sgibson91 sgibson91 commented Sep 23, 2021

This PR enables authentication against the @pangeo-data/us-central1-b-gcp GitHub Team on the Pangeo staging hub. Presently, I have explicitly defined the config for the prod hub so that we can control when we update prod to match staging, since prod has active users.

2021-10-05 10:22 BST: I will merge this in 24 hours unless I receive an approving review before then

This ensures prod will continue to work as expected until we are ready
to migrate the staging config onto prod
@sgibson91 sgibson91 self-assigned this Sep 23, 2021
@sgibson91 sgibson91 added 🏷️ active deployment Enhancement An improvement to something or creating something new. labels Sep 23, 2021
@sgibson91 sgibson91 linked an issue Sep 23, 2021 that may be closed by this pull request
2 tasks
@sgibson91
Copy link
Member Author

I have deployed this onto staging and it works for me. I have asked @jhamman and @scottyhq in the #pangeo-pilot-hubs slack channel to double check they can login too (since neither of them have a user account on the staging hub yet :) )

@sgibson91 sgibson91 marked this pull request as ready for review October 4, 2021 14:08
@sgibson91
Copy link
Member Author

Just had this confirmed that this isn't working so marking it back as draft again.

@sgibson91 sgibson91 marked this pull request as draft October 4, 2021 15:31
This prevents folk from logging in even if they're accepted by the
org/team condition
@sgibson91
Copy link
Member Author

We fixed this so ready to be reviewed/merged!

@sgibson91 sgibson91 marked this pull request as ready for review October 4, 2021 16:07
@sgibson91
Copy link
Member Author

I will merge this in 24 hours unless I receive an approving review before then

Copy link
Contributor

@damianavila damianavila left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great work @sgibson91!

@sgibson91 sgibson91 merged commit bf9185f into 2i2c-org:master Oct 5, 2021
@sgibson91 sgibson91 deleted the pangeo-staging-github-oauth branch October 5, 2021 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An improvement to something or creating something new.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authenticate users with GitHub Teams membership in Pangeo Hub
3 participants