This repo houses all the GCP code for the chromeos-prebuilts
project.
We have two Cloud SQL instances:
prebuilts
- the production instanceprebuilts-staging
- the staging instanceEach instance currently contains a lookup_service
database for the project.
To manually deploy changes:
cloudsql-manual-deployments
bucket.IMPORT
.lookup_service
as the database destination.Import
and wait a few minutes for the import to complete.The following steps can be used to connect to the database and verify deployments and/or query data:
cloudsql-connection
instance../cloud_sql_proxy -instances=chromeos-prebuilts:us-central1:prebuilts-staging=tcp:5432
.psql "host=127.0.0.1 port=5432 sslmode=disable dbname=lookup_service user=postgres"
.