diff options
| author | Keun Soo Yim <yim@google.com> | 2018-04-09 18:29:25 -0700 |
|---|---|---|
| committer | Keun Soo Yim <yim@google.com> | 2018-04-16 17:02:11 +0000 |
| commit | 48a7dde3f183ae0761e55260ed3747f443841eab (patch) | |
| tree | 2e3e30eb3a82720b09f624f9efc0b34d9405f631 /gae/script | |
| parent | bca5550f5e6c335f4ab275a4fc75077e2fd40e02 (diff) | |
| download | platform_test_vti_test_serving-48a7dde3f183ae0761e55260ed3747f443841eab.tar.gz platform_test_vti_test_serving-48a7dde3f183ae0761e55260ed3747f443841eab.tar.bz2 platform_test_vti_test_serving-48a7dde3f183ae0761e55260ed3747f443841eab.zip | |
extend scripts for public
Test: mma
Change-Id: Iebe682fd3d9872f8c26aa0907c651ac94162f83f
Diffstat (limited to 'gae/script')
| -rwxr-xr-x | gae/script/build.sh | 4 | ||||
| -rwxr-xr-x | gae/script/deploy-endpoint.sh | 4 | ||||
| -rwxr-xr-x | gae/script/deploy-webapp.sh | 6 |
3 files changed, 10 insertions, 4 deletions
diff --git a/gae/script/build.sh b/gae/script/build.sh index d4015b7..6cc6a97 100755 --- a/gae/script/build.sh +++ b/gae/script/build.sh @@ -15,12 +15,14 @@ # limitations under the License. if [ "$#" -ne 1 ]; then - echo "usage: build.sh prod|test" + echo "usage: build.sh prod|test|public" exit 1 fi if [ $1 = "prod" ]; then SERVICE="vtslab-schedule-prod.appspot.com" +elif [ $1 = "public" ]; then + SERVICE="vtslab-schedule.appspot.com" else SERVICE="vtslab-schedule-test.appspot.com" fi diff --git a/gae/script/deploy-endpoint.sh b/gae/script/deploy-endpoint.sh index fb8f4c1..45ce9ac 100755 --- a/gae/script/deploy-endpoint.sh +++ b/gae/script/deploy-endpoint.sh @@ -15,12 +15,14 @@ # limitations under the License. if [ "$#" -ne 1 ]; then - echo "usage: deploy-endpoint.sh prod|test" + echo "usage: deploy-endpoint.sh prod|test|public" exit 1 fi if [ $1 = "prod" ]; then SERVICE="vtslab-schedule-prod.appspot.com" +elif [ $1 = "public" ]; then + SERVICE="vtslab-schedule.appspot.com" else SERVICE="vtslab-schedule-test.appspot.com" fi diff --git a/gae/script/deploy-webapp.sh b/gae/script/deploy-webapp.sh index a8c9da8..7b3856c 100755 --- a/gae/script/deploy-webapp.sh +++ b/gae/script/deploy-webapp.sh @@ -15,7 +15,7 @@ # limitations under the License. if [ "$#" -ne 1 ]; then - echo "usage: deploy-webapp.sh prod|test|local" + echo "usage: deploy-webapp.sh prod|test|public|local" exit 1 fi @@ -23,6 +23,8 @@ if [ $1 = "prod" ]; then SERVICE="vtslab-schedule-prod" elif [ $1 = "test" ]; then SERVICE="vtslab-schedule-test" +elif [ $1 = "public" ]; then + SERVICE="vtslab-schedule" else dev_appserver.py ./ exit 0 @@ -30,6 +32,6 @@ fi echo "Deploying the web app to $SERVICE ..." -gcloud app deploy app.yaml index.yaml cron.yaml --project=$SERVICE +gcloud app deploy app.yaml cron.yaml index.yaml queue.yaml worker.yaml --project=$SERVICE echo "Deployment done!" |
