diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 3ee2d2c..04013e5 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -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 diff --git a/grafana-public/dispatch.yaml b/grafana-public/dispatch.yaml new file mode 100644 index 0000000..a65c655 --- /dev/null +++ b/grafana-public/dispatch.yaml @@ -0,0 +1,4 @@ +dispatch: +# Route all requests to the grafana-public service. +- service: grafana-public + url: "dashboards.measurementlab.net/*"