1
0
mirror of https://github.com/google/nomulus synced 2026-01-07 05:56:49 +00:00

Fix deploying to alpha from workstation (#198)

appengineDeployAll requires appengine.deploy.version to be set
otherwiese the deployment would fail.
This commit is contained in:
Shicong Huang
2019-07-26 14:37:49 -04:00
committed by GitHub
parent 2ae5aba7ff
commit 110bd9c057

View File

@@ -75,6 +75,12 @@ if (project.path == ":services:default") {
appengine {
deploy {
// appengineDeployAll task requires the version to be set. So,
// this config lets gcloud select a version name when deploying
// to alpha from our workstation.
if (environment != 'production' && environment != 'sandbox') {
version = 'GCLOUD_CONFIG'
}
projectId = gcpProject
}
}