-
Notifications
You must be signed in to change notification settings - Fork 950
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
Ignore quota project in GCF source uploads #6917
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6917 +/- ##
==========================================
- Coverage 54.52% 54.50% -0.02%
==========================================
Files 353 353
Lines 24655 24660 +5
Branches 5095 5098 +3
==========================================
Hits 13442 13442
- Misses 9994 9998 +4
- Partials 1219 1220 +1 ☔ View full report in Codecov by Sentry. |
* Ignore quota project in GCF source uploads * Changelog * Remove superfluous change * format + fix tests --------- Co-authored-by: Joe Hanley <[email protected]>
* Stop trying to clean up AR cache on function deletion. Since release of this feature, GCF has started cleaning up cache images automatically on function deletion. This has led to us getting 404 errors and printing scary messages in the console. Fixes #6882 * Ignore quota project in GCF source uploads (#6917) * Ignore quota project in GCF source uploads * Changelog * Remove superfluous change * format + fix tests --------- Co-authored-by: Joe Hanley <[email protected]> * 13.6.0 * [firebase-release] Removed change log and reset repo after 13.6.0 release * Changelog * Remove dead code unit test --------- Co-authored-by: Joe Hanley <[email protected]> Co-authored-by: Google Open Source Bot <[email protected]>
if (process.env.GOOGLE_CLOUD_QUOTA_PROJECT) { | ||
logLabeledWarning( | ||
"functions", | ||
"GOOGLE_CLOUD_QUTOA_PROJECT is not usable when uploading source for Cloud Functions.", |
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.
Typo here. Should be "GOOGLE_CLOUD_QUOTA_PROJECT"
if (process.env.GOOGLE_CLOUD_QUOTA_PROJECT) { | ||
logLabeledWarning( | ||
"functions", | ||
"GOOGLE_CLOUD_QUTOA_PROJECT is not usable when uploading source for Cloud Functions.", |
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.
Typo here. Should be "GOOGLE_CLOUD_QUOTA_PROJECT"
Best fix for #6896 that we can do for now. I strongly suspect that GCS just can't handle signed URL uploads with quota projects.