cloud functions ci/cd and deploying only changed functions | C2C Community
Question

cloud functions ci/cd and deploying only changed functions

  • 19 March 2022
  • 2 replies
  • 64 views

Hey all, awesome to be a part of this community!

 

Is anyone here running most of their backend on cloud functions and have any tips on CI/CD and organization of large scale cloud functions backends?

 

Right now we have a fairly robust testing and staging flow but we’re still manually deploying cloud functions because there doesn’t seem to be an intuitive way to automatically deploy the functions and code that has been changed. Has anyone else run into this problem and have any tips and ideas on how to organize projects like this and deploy them at scale.

 

Thanks!


2 replies

Userlevel 3
Badge +1

Hello @ojpetar

Have you tried to use Cloud Build to deploy the functions?

https://cloud.google.com/build/docs/deploying-builds/deploy-functions

Userlevel 6
Badge +11

Hey all, awesome to be a part of this community!

 

Is anyone here running most of their backend on cloud functions and have any tips on CI/CD and organization of large scale cloud functions backends?

 

Right now we have a fairly robust testing and staging flow but we’re still manually deploying cloud functions because there doesn’t seem to be an intuitive way to automatically deploy the functions and code that has been changed. Has anyone else run into this problem and have any tips and ideas on how to organize projects like this and deploy them at scale.

 

Thanks!

 

Hello @ojpetar - Did @yuval ‘s answer perhaps help you? :) 

Reply