This configuration automatically deploys the catalog and site servers to Google Cloud Run whenever a commit is pushed to main.
To test this right now you'll need to have privileges on our GCP project, and then you can run the following command to establish authenticated proxies, and then visit http://localhost:5453 and http://localhost:6453
(gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --port=5453 site \
& gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --port=6453 catalog)
Also:
Fixes another dependency that was in the wrong package.json
Adds the GCP_PROJECT_ID environment variable to the catalog server since it was hard-coded before
Open issues (non-blocking for this PR):
We get Error: 7 PERMISSION_DENIED: Missing or insufficient permissions. errors when trying to use the "bootstrap-packages" endpoint (despite setting up liberal privileges in the firebase console)
This configuration automatically deploys the catalog and site servers to Google Cloud Run whenever a commit is pushed to main.
To test this right now you'll need to have privileges on our GCP project, and then you can run the following command to establish authenticated proxies, and then visit http://localhost:5453 and http://localhost:6453
Also:
package.json
GCP_PROJECT_ID
environment variable to the catalog server since it was hard-coded beforeOpen issues (non-blocking for this PR):
Error: 7 PERMISSION_DENIED: Missing or insufficient permissions.
errors when trying to use the "bootstrap-packages" endpoint (despite setting up liberal privileges in the firebase console)Part of https://github.com/webcomponents/webcomponents.org/issues/1340 Part of https://github.com/webcomponents/webcomponents.org/issues/1339