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

cloud functions ci/cd and deploying only changed functions

  • 19 March 2022
  • 2 replies
  • 129 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!

icon

Best answer by yuval 23 March 2022, 19:53

View original

2 replies

Userlevel 4
Badge +3

Hello @ojpetar

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

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

Userlevel 7
Badge +16

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