Allow AppEngine deployment to qa environment (#986)

* Allow AppEngine deployment to qa environment
This commit is contained in:
Weimin Yu 2021-03-03 19:31:08 -05:00 committed by GitHub
parent af50677612
commit 6e10e24d2f
2 changed files with 4 additions and 3 deletions

View file

@ -121,7 +121,7 @@ task stage {
// App-engine environment configuration. We set up all of the variables in
// the root project.
def environments = ['production', 'sandbox', 'alpha', 'crash']
def environments = ['production', 'sandbox', 'alpha', 'crash', 'qa']
def gcpProject = null
@ -155,7 +155,7 @@ def verifyDeploymentParams() {
System.err.println('-----------------------------------------------------------------')
throw new GradleException('Aborting. See prominent error above.')
} else if (gcpProject == null) {
def error = 'You must specify -P environment={alpha,crash}'
def error = 'You must specify -P environment={alpha,crash,qa}'
System.err.println("\033[33;1m${error}\033[0m")
throw GradleException("Aborting: ${error}")
}

View file

@ -19,7 +19,8 @@
rootProject.ext.projects = ['production': 'your-production-project',
'sandbox' : 'your-sandbox-project',
'alpha' : 'your-alpha-project',
'crash' : 'your-crash-project']
'crash' : 'your-crash-project',
'qa' : 'your-qa-project']
// The project to host your development/deployment infrastructure. It hosts
// things like release artifacts, CI/CD system, etc.