firebase deploy painfully slow due to API cloudscheduler.googleapis.com which is not even required
See original GitHub issueThere’s no job scheduler in cloud scheduler then why firebase cli is showing required API cloudscheduler.googleapis.com is enabled
whenever I deploy any function? And it’s taking upto a minute to finish this required API…is enabled task.
Command: firebase deploy --only functions
Output:
+ functions: Finished running predeploy script.
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
! functions: missing required API cloudbuild.googleapis.com. Enabling now...
+ functions: required API cloudfunctions.googleapis.com is enabled
+ functions: required API cloudbuild.googleapis.com is enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (88.88 KB) for uploading
+ functions: functions folder uploaded successfully
i functions: updating Node.js 10 function addUsertoDB(asia-east2)...
+ scheduler: required API cloudscheduler.googleapis.com is enabled
+ functions[addUsertoDB(asia-east2)]: Successful update operation.
[REQUIRED] Environment info
firebase-tools: 8.2.0
Platform: Windows
[REQUIRED] Test case
Run this command to deploy function and observe the output: firebase deploy --only functions
[REQUIRED] Steps to reproduce
- make sure there’s no google cloud scheduler task in your project.
- Run this command to deploy function :
firebase deploy --only functions
- observe the output… it is showing
scheduler: required API cloudscheduler.googleapis.com is enabled
.
[REQUIRED] Expected behavior
output of firebase deploy --only functions
shouldn’t contain scheduler: required API cloudscheduler.googleapis.com is enabled
[REQUIRED] Actual behavior
it is showing scheduler: required API cloudscheduler.googleapis.com is enabled
+ functions: Finished running predeploy script.
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
! functions: missing required API cloudbuild.googleapis.com. Enabling now...
+ functions: required API cloudfunctions.googleapis.com is enabled
+ functions: required API cloudbuild.googleapis.com is enabled
i functions: preparing functions directory for uploading...
i functions: packaged functions (88.88 KB) for uploading
+ functions: functions folder uploaded successfully
i functions: updating Node.js 10 function addUsertoDB(asia-east2)...
+ scheduler: required API cloudscheduler.googleapis.com is enabled
+ functions[addUsertoDB(asia-east2)]: Successful update operation.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
firebase deploy is slow and not responding - Stack Overflow
First thought is that I'm behind a company proxy. So I setup a "pure" connection and it's still not connecting. So what is...
Read more >Troubleshoot Cloud Run issues
This page shows you how to resolve issues with Cloud Run. For other issues not listed below, check to see if they may...
Read more >Deploying 150+ functions is very slow - Google Groups
We run a large web app whose backend is hosted on Firebase Functions. We have over 150 functions. I understand that the architecture...
Read more >Quotas and limits | Cloud Functions for Firebase - Google
Quota limits for Firebase CLI deployment · API calls (READ) - 1 call per deployment, no matter how many functions. Limit: 5000 per...
Read more >How to increase Google Cloud Function startup speed tenfold
While using Firebase hosting, a request initially took about 1 ... This means your cloud function will be slow whenever it doesn't run...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nothing is happening after try this method!
Hi guys, I have Blaze plan and I still get these errors: `ensuring required API cloudfunctions.googleapis.com is enabled… i functions: ensuring required API cloudbuild.googleapis.com is enabled…
On my second project on Firebase, any ideas why thanks in advance!