Skip to content

Commit

Permalink
Fix deploying to alpha from workstation (#198)
Browse files Browse the repository at this point in the history
appengineDeployAll requires appengine.deploy.version to be set
otherwiese the deployment would fail.
  • Loading branch information
hstonec committed Jul 26, 2019
1 parent 2ae5aba commit 110bd9c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions appengine_war.gradle
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 110bd9c

Please sign in to comment.