-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
nit: Update fly build config #52301
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
nit: Update fly build config #52301
Conversation
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 good! One question
""" | ||
On configuration, we determine which provider organization to configure sentry SSO for. | ||
This configuration is then stored and passed into the pipeline instances during SSO | ||
to determine whether the Auth'd user has the appropriate access to the provider org | ||
""" | ||
org = organization | ||
if not organization: |
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.
Are we sure this is safe to take out? Is it possible for id
to not be in resource? And if so, how do we handle that case with the new code?
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.
Ah yea
So this isn't being utilized anywhere atm.
Since this is specific per provider, we can shape this build_config
however we want per provider.
for Fly in particular, their organization resource will always have an 'id'
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #52301 +/- ##
==========================================
- Coverage 79.31% 76.92% -2.39%
==========================================
Files 4906 4906
Lines 205540 205536 -4
Branches 35135 35134 -1
==========================================
- Hits 163020 158117 -4903
- Misses 37538 42327 +4789
- Partials 4982 5092 +110
|
cleans up the build_config method