From 6e10e24d2fa74305c0601537254078f13e220951 Mon Sep 17 00:00:00 2001 From: Weimin Yu Date: Wed, 3 Mar 2021 19:31:08 -0500 Subject: [PATCH] Allow AppEngine deployment to qa environment (#986) * Allow AppEngine deployment to qa environment --- build.gradle | 4 ++-- projects.gradle | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 6ace7f1e0..4a967c854 100644 --- a/build.gradle +++ b/build.gradle @@ -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}") } diff --git a/projects.gradle b/projects.gradle index 72b8b6cc3..8d1624c05 100644 --- a/projects.gradle +++ b/projects.gradle @@ -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.