mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Allow AppEngine deployment to qa environment (#986)
* Allow AppEngine deployment to qa environment
This commit is contained in:
parent
af50677612
commit
6e10e24d2f
2 changed files with 4 additions and 3 deletions
|
@ -121,7 +121,7 @@ task stage {
|
||||||
// App-engine environment configuration. We set up all of the variables in
|
// App-engine environment configuration. We set up all of the variables in
|
||||||
// the root project.
|
// the root project.
|
||||||
|
|
||||||
def environments = ['production', 'sandbox', 'alpha', 'crash']
|
def environments = ['production', 'sandbox', 'alpha', 'crash', 'qa']
|
||||||
|
|
||||||
def gcpProject = null
|
def gcpProject = null
|
||||||
|
|
||||||
|
@ -155,7 +155,7 @@ def verifyDeploymentParams() {
|
||||||
System.err.println('-----------------------------------------------------------------')
|
System.err.println('-----------------------------------------------------------------')
|
||||||
throw new GradleException('Aborting. See prominent error above.')
|
throw new GradleException('Aborting. See prominent error above.')
|
||||||
} else if (gcpProject == null) {
|
} 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")
|
System.err.println("\033[33;1m${error}\033[0m")
|
||||||
throw GradleException("Aborting: ${error}")
|
throw GradleException("Aborting: ${error}")
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,8 @@
|
||||||
rootProject.ext.projects = ['production': 'your-production-project',
|
rootProject.ext.projects = ['production': 'your-production-project',
|
||||||
'sandbox' : 'your-sandbox-project',
|
'sandbox' : 'your-sandbox-project',
|
||||||
'alpha' : 'your-alpha-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
|
// The project to host your development/deployment infrastructure. It hosts
|
||||||
// things like release artifacts, CI/CD system, etc.
|
// things like release artifacts, CI/CD system, etc.
|
||||||
|
|
Loading…
Add table
Reference in a new issue