Skip to content

Commit

Permalink
[Documentation] Move cloud build up in page. (#368)
Browse files Browse the repository at this point in the history
Emphasize that public dashboard is built with cloud build, and not
manually, by moving cloud build above manual build in dashboard README.
  • Loading branch information
paulosjca authored Jul 31, 2023
1 parent 210da1a commit e9653db
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ here:
[psmgrafanaconfig]: config/grafana/dashboards/psm/
[replicatorconfig]: config/postgres_replicator/default/config.yaml

## Cloud build

The continuous integration dashboard is built and deployed with [Cloud
Build][cloudbuild], using the configuration specified in
[cloudbuild.yaml](cloudbuild.yaml).

The use of Cloud Build allows the dashboard to be redeployed automatically on
configuration changes. In addition, it allows passwords such as `PG_PASS` and
`GRAFANA_ADMIN_PASS` to be stored as secrets in the cloud project.

[cloudbuild]: https://cloud.google.com/build

## Manual build

Several environment variables must be set before building and deploying. The
Expand Down Expand Up @@ -77,15 +89,3 @@ Grafana dashboard are then created with the following commands:
make configure-replicator
make configure-grafana
```

## Cloud build

The continuous integration dashboard is built and deployed with [Cloud
Build][cloudbuild], using the configuration specified in
[cloudbuild.yaml](cloudbuild.yaml).

The use of Cloud Build allows the dashboard to be redeployed automatically on
configuration changes. In addition, it allows passwords such as `PG_PASS` and
`GRAFANA_ADMIN_PASS` to be stored as secrets in the cloud project.

[cloudbuild]: https://cloud.google.com/build

0 comments on commit e9653db

Please sign in to comment.