Use version for GAE

This commit is contained in:
Ben Grant 2021-04-23 12:34:16 +10:00
parent 5c0b0031cd
commit 468a19e8f3
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ The browser extension in `crabfit-browser-extension` can be tested by first runn
2. Run `./deploy.sh` to compile and deploy.
### Backend
1. Deploy the backend `cd crabfit-backend && gcloud app deploy --project=crabfit`
1. Deploy the backend `cd crabfit-backend && gcloud app deploy --project=crabfit --version=v1`
2. Deploy the endpoints service `cd crabfit-backend && gcloud endpoints services deploy swagger.yaml`
### Browser extension

View file

@ -4,7 +4,7 @@ env: flex
automatic_scaling:
min_num_instances: 1
max_num_instances: 4
max_num_instances: 2
endpoints_api_service:
name: api-dot-crabfit.appspot.com

View file

@ -20,4 +20,4 @@ handlers:
redirect_http_response_code: 301
EOF
gcloud app deploy --project=crabfit
gcloud app deploy --project=crabfit --version=v1