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

Prevent GCF from automatically running the build script. #5687

Merged
merged 4 commits into from
Apr 13, 2023
Merged

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Apr 12, 2023

GCF will now run npm run build script as part of function deploys:

https://cloud.google.com/functions/docs/release-notes#April_11_2023

This is a breaking change. We want to shield Cloud Functions for Firebase user from the breaking change and manually disable the behavior in CF3 deploys. We will enable the GCF feature in the next major CLI release.

@taeold taeold marked this pull request as ready for review April 12, 2023 22:19
@codecov-commenter
Copy link

codecov-commenter commented Apr 13, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.02 ⚠️

Comparison is base (8207170) 55.73% compared to head (6af886a) 55.72%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5687      +/-   ##
==========================================
- Coverage   55.73%   55.72%   -0.02%     
==========================================
  Files         322      322              
  Lines       21830    21836       +6     
  Branches     4454     4454              
==========================================
  Hits        12168    12168              
- Misses       8594     8600       +6     
  Partials     1068     1068              
Impacted Files Coverage Δ
src/gcp/cloudfunctions.ts 67.89% <0.00%> (-1.09%) ⬇️
src/gcp/cloudfunctionsv2.ts 62.18% <0.00%> (-0.95%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@colerogers colerogers left a comment

Choose a reason for hiding this comment

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

yay breaking changes :sigh

@taeold taeold merged commit 8370680 into master Apr 13, 2023
33 checks passed
@taeold taeold deleted the dl-gcf-build branch April 13, 2023 01:03
ProfHercules pushed a commit to ProfHercules/firebase-tools that referenced this pull request May 5, 2023
GCF will now run `npm run build` script as part of function deploys:

https://cloud.google.com/functions/docs/release-notes#April_11_2023

This is a breaking change. We want to shield Cloud Functions for Firebase user from the breaking change and manually disable the behavior in CF3 deploys. We will enable the GCF feature in the next major CLI release.
tonyjhuang pushed a commit that referenced this pull request May 22, 2023
GCF will now run `npm run build` script as part of function deploys:

https://cloud.google.com/functions/docs/release-notes#April_11_2023

This is a breaking change. We want to shield Cloud Functions for Firebase user from the breaking change and manually disable the behavior in CF3 deploys. We will enable the GCF feature in the next major CLI release.
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.

None yet

4 participants