From e31ed170ca937ffa8d56d043c8eebbca16790638 Mon Sep 17 00:00:00 2001 From: Al Marks Date: Thu, 2 Mar 2023 18:47:44 -0800 Subject: [PATCH] Switch to the new Cloud project and URLs (#1445) --- .github/workflows/pr-preview-url-comment.yml | 11 +---------- cloud-build/deploy-main.yaml | 4 ++-- cloud-build/deploy-pr.yaml | 4 ++-- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/pr-preview-url-comment.yml b/.github/workflows/pr-preview-url-comment.yml index 9c1f964e..4e36121b 100644 --- a/.github/workflows/pr-preview-url-comment.yml +++ b/.github/workflows/pr-preview-url-comment.yml @@ -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 diff --git a/cloud-build/deploy-main.yaml b/cloud-build/deploy-main.yaml index 7f1f9df2..99e2b3c1 100644 --- a/cloud-build/deploy-main.yaml +++ b/cloud-build/deploy-main.yaml @@ -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. diff --git a/cloud-build/deploy-pr.yaml b/cloud-build/deploy-pr.yaml index 526ca985..bfd6f994 100644 --- a/cloud-build/deploy-pr.yaml +++ b/cloud-build/deploy-pr.yaml @@ -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.