Skip to content

Commit

Permalink
chore: move region after at the end of gcloud run deploy
Browse files Browse the repository at this point in the history
Since the region is generic, and can be set as default in gcloud CLI
  • Loading branch information
trivikr committed Jul 1, 2024
1 parent d1daaa4 commit 6e94d95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/metrics/files/index-generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/metrics/files/process-cloudflare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/metrics/files/summaries/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 6e94d95

Please sign in to comment.