Search code examples
node.jsfirebasegoogle-cloud-functionsgoogle-cloud-buildgoogle-container-registry

Steps for Cloud Function + Cloud Build API + Node 10?


As I received email from Firbase to upgrade Firebase Cloud Function with Node 10 and Cloud Build API.

enter image description here

I have done all the steps as below:

  • Updated to the "Blaze" pay-as-you-go Plan
  • Updated Node.js 10 runtime
  • Enabled Cloud Build API

Now what?

I am just sending notification when some data get updated in Cloud Firestore in my old cloud function.

Will the same function will work which I have used before? or Do I need to do something with Cloud Build API?

Can anyone please suggest me?


Solution

  • Now what?

    If you did everything requested, and everything works as you expect, then you're done.

    Will the same function will work which I have used before?

    It should. Test it and see if it works. If it doesn't, redeploy it and try again.

    or Do I need to do something with Cloud Build API?

    There's nothing you need to do. The Cloud Build process is managed by the Firebase CLI.