Skip to content

Commit

Permalink
us-west2 -> us-central1 (#1446)
Browse files Browse the repository at this point in the history
* us-west2 -> us-central1

* Lower max instances
  • Loading branch information
aomarks authored Mar 3, 2023
1 parent e31ed17 commit 4db94a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cloud-build/deploy-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ options:
dynamic_substitutions: true

substitutions:
_REGION: us-west2
_REGION: us-central1
_TAG: main-${SHORT_SHA}
_IMAGE_URL_CATALOG: us.gcr.io/${PROJECT_ID}/main/catalog:${SHORT_SHA}
_IMAGE_URL_SITE: us.gcr.io/${PROJECT_ID}/main/site:${SHORT_SHA}
Expand Down Expand Up @@ -58,7 +58,7 @@ steps:
- --cpu=1
- --concurrency=200
- --min-instances=1
- --max-instances=1000
- --max-instances=4
- --update-env-vars=GCP_PROJECT_ID=${PROJECT_ID}

# Create site Cloud Run revision.
Expand All @@ -82,7 +82,7 @@ steps:
- --cpu=1
- --concurrency=200
- --min-instances=1
- --max-instances=1000
- --max-instances=4
- --update-env-vars=CATALOG_GRAPHQL_URL=${_CATALOG_GRAPHQL_URL},CATALOG_SERVER_AUTH_ID=${_CATALOG_SERVER_AUTH_ID}

# Route traffic to new catalog revision.
Expand Down
2 changes: 1 addition & 1 deletion cloud-build/deploy-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ options:
dynamic_substitutions: true

substitutions:
_REGION: us-west2
_REGION: us-central1
_TAG: pr${_PR_NUMBER}
_IMAGE_URL_CATALOG: us.gcr.io/${PROJECT_ID}/pr/catalog:${SHORT_SHA}
_IMAGE_URL_SITE: us.gcr.io/${PROJECT_ID}/pr/site:${SHORT_SHA}
Expand Down

0 comments on commit 4db94a8

Please sign in to comment.