Setting up automatic deployment within TeamCity

171 views
Skip to first unread message

Fabian Hagen

unread,
Apr 23, 2021, 11:45:44 AM4/23/21
to Google App Engine
Hello,

I want to deploy to my AppEngine as one of my build steps/chain. Can someone tell my what would be the best way to do so?

We have multiple environments (dev, staging, production). Each env is based on its own branch and has its own build pipeline within TeamCity. In the GCP, each env has its own project and in its own user(s).

How can I trigger the deployment from our buildservers? Do I Have to login via SSH and do the gcloud init and gcloud auth login on each build server? That would result in a lot of additional setup work. Or is there another way (e.g. like in firebase where I can create a token and pass it as parameter to the gcloud app deploy command)?

Thanks in advance!

Fabian

yananc

unread,
Apr 26, 2021, 4:09:59 PM4/26/21
to Google App Engine

Hi, 

It might be helpful to refer to the documentations [1][2], which explain how to deploy applications to App Engine using Cloud Build. They provide general guidance though not specific for TeamCity. Hope it helps!

Reply all
Reply to author
Forward
0 new messages