Skip to content

Commit

Permalink
Add dispatch.yaml for production deployment of dashboards.measurement…
Browse files Browse the repository at this point in the history
…lab.net (#8)

* Add dispatch.yaml for production configuration

* Move dispatch.yaml

* Deploy dispatch only in production
  • Loading branch information
stephen-soltesz authored Mar 18, 2024
1 parent 54da76e commit 5f29e3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,9 @@ steps:
- PROJECT_IN=mlab-sandbox,mlab-staging,measurement-lab
args:
- gcloud app deploy grafana-public/app.yaml --project $PROJECT_ID

- name: us-central1-docker.pkg.dev/${_IMAGE_PROJECT}/build-images/gcloud-jsonnet-cbif:1.1
env:
- PROJECT_IN=measurement-lab
args:
- gcloud app deploy grafana-public/dispatch.yaml --project $PROJECT_ID
4 changes: 4 additions & 0 deletions grafana-public/dispatch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dispatch:
# Route all requests to the grafana-public service.
- service: grafana-public
url: "dashboards.measurementlab.net/*"

0 comments on commit 5f29e3f

Please sign in to comment.