Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Trigger for Cloud Function Build fail

I try to deploy my Cloud Function on every push on my Github repository which is connected to a gen 1 function using a trigger, but every time I get the same error,

Your build failed to run: "cloud.xxxxxxxxxxxxx/github_ferdzo_serverless_testing:cloudbuild.yaml:"
 
That's all I get, no other error message no other log nothing, it is driving me crazy. What can possibly be the error?
1 1 199
1 REPLY 1

Hi @ferdzo,

Welcome to Google Cloud Community!

You may want to check first if Cloud Functions Developer role is set to Enabledreference 

Please check if cloudbuild.yaml is properly setup. Please check this link for your reference.

Finally, please check this blog post as well as this includes steps in deploying Google Cloud Functions using Cloud Build when changes get pushed to Github repo.

Hope this helps.

Top Solution Authors