GCLOUD_CONFIG谷歌标准环境

huangapple 未分类评论49阅读模式
英文:

GCLOUD_CONFIG Google Standard envoirement

问题

没有在文件中明确说明。

<plugin>
  <groupId>com.google.cloud.tools</groupId>
  <artifactId>appengine-maven-plugin</artifactId>
  <version>2.2.0</version>
  <configuration>
    <projectId>myProjectId</projectId>
    <version>GCLOUD_CONFIG</version>
  </configuration>
</plugin>

如何设置:
注意:GCLOUD_CONFIG 是一个特殊版本,用于自动生成 App Engine 版本。更改此字段以指定特定的版本名称。

按照谷歌应用引擎提供的示例:

https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/appengine-standard-java8/springboot-appengine-standard

英文:

It was not clear in the document

**

&lt;plugin&gt;
  &lt;groupId&gt;com.google.cloud.tools&lt;/groupId&gt;
  &lt;artifactId&gt;appengine-maven-plugin&lt;/artifactId&gt;
  &lt;version&gt;2.2.0&lt;/version&gt;
  &lt;configuration&gt;
    &lt;projectId&gt;myProjectId&lt;/projectId&gt;
    &lt;version&gt;GCLOUD_CONFIG&lt;/version&gt;
  &lt;/configuration&gt;
&lt;/plugin&gt;

**

How to set:
Note: GCLOUD_CONFIG is a special version for autogenerating an App Engine version. Change this field to specify a specific version name.

Following this sample from google app engine

https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/appengine-standard-java8/springboot-appengine-standard

答案1

得分: 0

在您的App Engine应用程序内部,您可以拥有多个服务,每个服务也可以有多个版本。

Services可用于将您的应用程序分解为较小的逻辑组件。Versions可用于跟踪对特定服务所做的更改,这使得在需要回滚的情况下更容易返回到以前的状态。

<version>标签将为您要部署的版本设置版本名称。如果将其留空,它将默认使用时间戳。

英文:

Inside your App Engine application you can have multiple services, and each service can have multiple versions too.

Services can be used to break down your application into smaller logical components. Versions can be used to keep track of the changes that have been made to a specific service, which make it easier to go back to previous states in case a rollback is needed.

The <version> tag will set a version name to the version you are going to deploy. If you leave it empty it will use a timestamp by default.

huangapple
  • 本文由 发表于 2020年5月2日 18:04:22
  • 转载请务必保留本文链接:https://java.coder-hub.com/61557564.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定