-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move region after at the end of gcloud run deploy
Since the region is generic, and can be set as default in gcloud CLI
- Loading branch information
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
- Push Docker image to GCR | ||
- `docker push gcr.io/nodejs-org/index-generator:latest` | ||
- Deploy Cloud Run service | ||
- `gcloud run deploy index-generator --image gcr.io/nodejs-org/index-generator:latest --service-account [email protected] --region us-central1 --no-allow-unauthenticated` | ||
- `gcloud run deploy index-generator --image gcr.io/nodejs-org/index-generator:latest --service-account [email protected] --no-allow-unauthenticated --region us-central1 ` | ||
- If traffic is not routed to the new revision, update the service to send all traffic to the new revision | ||
- `gcloud run services update-traffic index-generator --to-latest --region us-central1` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
- Push Docker image to GCR | ||
- `docker push gcr.io/nodejs-org/processcloudflare:latest` | ||
- Deploy Cloud Run service | ||
- `gcloud run deploy processlogs --image gcr.io/nodejs-org/processcloudflare:latest --service-account [email protected] --region us-central1 --no-allow-unauthenticated` | ||
- `gcloud run deploy processlogs --image gcr.io/nodejs-org/processcloudflare:latest --service-account [email protected] --no-allow-unauthenticated --region us-central1 ` | ||
- If traffic is not routed to the new revision, update the service to send all traffic to the new revision | ||
- `gcloud run services update-traffic processlogs --to-latest --region us-central1` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
- Push Docker image to GCR | ||
- `docker push gcr.io/nodejs-org/producesummaries:latest` | ||
- Deploy Cloud Run service | ||
- `gcloud run deploy produce-summaries --image gcr.io/nodejs-org/producesummaries:latest --service-account [email protected] --region us-central1 --no-allow-unauthenticated` | ||
- `gcloud run deploy produce-summaries --image gcr.io/nodejs-org/producesummaries:latest --service-account [email protected] --no-allow-unauthenticated --region us-central1 ` | ||
- If traffic is not routed to the new revision, update the service to send all traffic to the new revision | ||
- `gcloud run services update-traffic produce-summaries --to-latest --region us-central1` | ||
|
||
|