Hi George thanks for the reply. The gcloud app deploy command that I run locally is:
gcloud app deploy app.yaml --project=xxx --verbosity=debug This runs fine and successfully deploys my app to Google App Engine, it only fails when I try to run the gcloud app deploy command from within Cloud Build. I have Cloud Build running successfully for my other services, it's only this one that fails and I'm really struggling to see what I'm missing. This is the output when using verbosity=debug : Beginning deployment of service [default]... INFO: Ignoring directory [.sass-cache]: Directory matches ignore regex. DEBUG: function takes exactly 5 arguments (1 given) Traceback (most recent call last): File "/builder/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 987, in Execute resources = calliope_command.Run(cli=self, args=args) File "/builder/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 789, in Run resources = command_instance.Run(args) File "/builder/google-cloud-sdk/lib/surface/app/deploy.py", line 90, in Run parallel_build=False) File "/builder/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py", line 626, in RunDeploy service_deployed = True File "/builder/google-cloud-sdk/lib/googlecloudsdk/core/util/files.py", line 586, in __exit__ exceptions.reraise(prev_exc_type(message), tb=prev_exc_trace) TypeError: function takes exactly 5 arguments (1 given) ERROR: gcloud crashed (TypeError): function takes exactly 5 arguments (1 given) On Wednesday, January 9, 2019 at 4:10:34 PM UTC, George (Cloud Platform Support) wrote: > > Hello Craig, > > How did you run the gcloud app deploy command? You have provided the > output of the command, but not the command itself. You should edit out any > sensitive information, such as project ID. > > Have you generated an app.yaml file in preparation? You may refer to the > "Deploying to App Engine" sub-chapter > <https://cloud.google.com/container-registry/docs/using-with-google-cloud-platform#deploying_to> > > of the "Using Container Registry with Google Cloud Platform" online > document, for relevant information. > > What is the output of the same command with the --verbosity=debug > parameter? > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/827ea061-7cbb-4daa-9b68-b1e476a0b4d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.