webcomponents / webcomponents.org

Home of the web components community
https://www.webcomponents.org
Apache License 2.0
363 stars 84 forks source link

Deploy to cloud run on push to main #1394

Closed aomarks closed 1 year ago

aomarks commented 1 year ago

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:

Open issues (non-blocking for this PR):

Part of https://github.com/webcomponents/webcomponents.org/issues/1340 Part of https://github.com/webcomponents/webcomponents.org/issues/1339