英文:
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 版本。更改此字段以指定特定的版本名称。
按照谷歌应用引擎提供的示例:
英文:
It was not clear in the document
**
<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>
**
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
答案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.
专注分享java语言的经验与见解,让所有开发者获益!
评论