Skip to content

Commit

Permalink
Switch to the new Cloud project and URLs (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
aomarks authored Mar 3, 2023
1 parent dec2e56 commit e31ed17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/pr-preview-url-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,5 @@ jobs:
A live preview of this PR will be available at the URL below and will update on each commit. =
The build takes ~5-10 minutes, and will 404 until finished.
https://pr${{ github.event.number }}---site-khswqo4xea-wl.a.run.app/
> **Warning**
> Until our Cloud Run project is public, only authorized users can view the above URL.
> The easiest way to view it authenticated is to run the following proxy command and visit http://localhost:5453
>
> ```
> (gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr${{ github.event.number }} --port=5453 site \
> & gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr${{ github.event.number }} --port=6453 catalog)
> ```
https://pr${{ github.event.number }}---site-24wnpwhcla-uc.a.run.app/
reactions: eyes
4 changes: 2 additions & 2 deletions cloud-build/deploy-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ substitutions:
_IMAGE_URL_CATALOG: us.gcr.io/${PROJECT_ID}/main/catalog:${SHORT_SHA}
_IMAGE_URL_SITE: us.gcr.io/${PROJECT_ID}/main/site:${SHORT_SHA}
_IMAGE_CACHE_TTL: 168h # 1 week
_CATALOG_SERVER_AUTH_ID: https://catalog-khswqo4xea-wl.a.run.app
_CATALOG_GRAPHQL_URL: https://${_TAG}---catalog-khswqo4xea-wl.a.run.app/graphql
_CATALOG_SERVER_AUTH_ID: https://catalog-24wnpwhcla-uc.a.run.app
_CATALOG_GRAPHQL_URL: https://new-catalog.webcomponents.org/graphql

steps:
# Build catalog Docker image.
Expand Down
4 changes: 2 additions & 2 deletions cloud-build/deploy-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ substitutions:
_IMAGE_URL_CATALOG: us.gcr.io/${PROJECT_ID}/pr/catalog:${SHORT_SHA}
_IMAGE_URL_SITE: us.gcr.io/${PROJECT_ID}/pr/site:${SHORT_SHA}
_IMAGE_CACHE_TTL: 168h # 1 week
_CATALOG_SERVER_AUTH_ID: https://catalog-khswqo4xea-wl.a.run.app
_CATALOG_GRAPHQL_URL: https://${_TAG}---catalog-khswqo4xea-wl.a.run.app/graphql
_CATALOG_SERVER_AUTH_ID: https://catalog-24wnpwhcla-uc.a.run.app
_CATALOG_GRAPHQL_URL: https://${_TAG}---catalog-24wnpwhcla-uc.a.run.app/graphql

steps:
# Build catalog Docker image.
Expand Down

0 comments on commit e31ed17

Please sign in to comment.