Skip to content

Commit e31ed17

Browse files
authored
Switch to the new Cloud project and URLs (#1445)
1 parent dec2e56 commit e31ed17

3 files changed

Lines changed: 5 additions & 14 deletions

File tree

.github/workflows/pr-preview-url-comment.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,5 @@ jobs:
2222
A live preview of this PR will be available at the URL below and will update on each commit. =
2323
The build takes ~5-10 minutes, and will 404 until finished.
2424
25-
https://pr${{ github.event.number }}---site-khswqo4xea-wl.a.run.app/
26-
27-
> **Warning**
28-
> Until our Cloud Run project is public, only authorized users can view the above URL.
29-
> The easiest way to view it authenticated is to run the following proxy command and visit http://localhost:5453
30-
>
31-
> ```
32-
> (gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr${{ github.event.number }} --port=5453 site \
33-
> & gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr${{ github.event.number }} --port=6453 catalog)
34-
> ```
25+
https://pr${{ github.event.number }}---site-24wnpwhcla-uc.a.run.app/
3526
reactions: eyes

cloud-build/deploy-main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ substitutions:
1313
_IMAGE_URL_CATALOG: us.gcr.io/${PROJECT_ID}/main/catalog:${SHORT_SHA}
1414
_IMAGE_URL_SITE: us.gcr.io/${PROJECT_ID}/main/site:${SHORT_SHA}
1515
_IMAGE_CACHE_TTL: 168h # 1 week
16-
_CATALOG_SERVER_AUTH_ID: https://catalog-khswqo4xea-wl.a.run.app
17-
_CATALOG_GRAPHQL_URL: https://${_TAG}---catalog-khswqo4xea-wl.a.run.app/graphql
16+
_CATALOG_SERVER_AUTH_ID: https://catalog-24wnpwhcla-uc.a.run.app
17+
_CATALOG_GRAPHQL_URL: https://new-catalog.webcomponents.org/graphql
1818

1919
steps:
2020
# Build catalog Docker image.

cloud-build/deploy-pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ substitutions:
1313
_IMAGE_URL_CATALOG: us.gcr.io/${PROJECT_ID}/pr/catalog:${SHORT_SHA}
1414
_IMAGE_URL_SITE: us.gcr.io/${PROJECT_ID}/pr/site:${SHORT_SHA}
1515
_IMAGE_CACHE_TTL: 168h # 1 week
16-
_CATALOG_SERVER_AUTH_ID: https://catalog-khswqo4xea-wl.a.run.app
17-
_CATALOG_GRAPHQL_URL: https://${_TAG}---catalog-khswqo4xea-wl.a.run.app/graphql
16+
_CATALOG_SERVER_AUTH_ID: https://catalog-24wnpwhcla-uc.a.run.app
17+
_CATALOG_GRAPHQL_URL: https://${_TAG}---catalog-24wnpwhcla-uc.a.run.app/graphql
1818

1919
steps:
2020
# Build catalog Docker image.

0 commit comments

Comments
 (0)