gdgfresno / valleydevfest2018

A Professional Template for large GDG events. This project has been designed to continue to be your DevFest/IWD website solution without having to create a new site or Firebase project every year.
https://delorean-demo.firebaseapp.com
MIT License
0 stars 1 forks source link

Looks like we'll need to upgrade gloud functions from v8 npm to v10 and move to Blaze payment plan... #21

Closed MrCsabaToth closed 4 years ago

MrCsabaToth commented 4 years ago

Hi Csaba,

We are writing to let you know about two upcoming changes to Cloud Functions for Firebase:

What Happened?

Starting June 22, 2020, Cloud Functions for Firebase is rolling out a change in our Node.js 10 runtime that will allow you to see the output of the functions build process using Cloud Build and Container Registry. Although Cloud Build and Container Registry have a generous free quota, both products require you to be on the "Blaze" pay-as-you-go plan.

This change will give you better transparency and control over your Cloud Functions deployments. For more details on the benefits of Cloud Build and Container Registry, please see our online FAQ.

On Dec 31, 2019, Node.js 8 was marked end-of-life by the Node.js Foundation. The Node.js Foundation stopped issuing security releases for Node.js 8. To ensure that your functions are on a supported version of Node.js, you must update them to the Node.js 10 runtime.

These changes for Cloud Functions for Firebase will follow this timeline:

What do I need to do?

After you update to the “Blaze” pay-as-you-go billing plan,

You must enable the Cloud Build API. Either upgrade your Firebase CLI to v8.1.0 or higher, or follow the manual instructions to enable the Cloud Build API below:

  1. Access the Cloud Build API link in the Cloud Console.
  2. Select your project from the drop-down menu.
  3. Click Continue to enable the Cloud Build API for the project. A box will appear in the lower-left corner to confirm the API is enabled.

Once you enable the Cloud Build API, your project may incur charges if its Cloud Build or Container Registry usage exceeds the free tier limits for these products, in addition to Cloud Functions usage charges. For more information, visit the Cloud Build and Container Registry pricing pages.

The "Blaze" pay-as-you-go plan includes free tier limits just like the "Spark" free plan. For more info, see the online FAQ. To avoid unexpected bills, it's always good practice to set budget alerts.

You can find a list of your projects that are using Cloud Functions for Firebase and may be affected by this change below:

If you have any questions or need any assistance, please read our online FAQ. As always, feel free to reach out to us for more assistance. Thanks, Raj on behalf of the Firebase team

MrCsabaToth commented 4 years ago

Hold on... looks like only in my branch I have engine specified in the functions/packages.json. SO maybe this is invalid?