简体   繁体   中英

How do I add --promote in Google App Engine?

I am deploying my application to Google App Engine through IntelliJ plugin Cloud Code -> App Engine -> Deploy to App Engine. The application deploys just fine and the app works, just that it creates a different target-url than I have set while creating application:

it's supposed to be (eg): mynameoftheproject.appspot.com

and instead I'm getting something like this: https://20200131t170730-dot-mynameoftheproject.appspot.com]

Underneath I get information:

(add --promote if you also want to make this service available from
 [https://mynameoftheproject.appspot.com])

And since I'm not using the command line, how can I add this promote parameter into application configuration?

With this url https://20200131t170730-dot-mynameoftheproject.appspot.com , 20200131t170730 is a version ID. This lets you deploy a new version without sending traffic to it yet, so that you can try it out first.

You can manage the versions of your project here: https://console.cloud.google.com/appengine/versions

If you just want to your new version to automatically become the primary version, go into settings and edit your deployment configuration and check the box for: "Promote the deployed version to receive all traffic"

https://cloud.google.com/code/docs/intellij/deploy-std#deploy

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM