6 Commits

Author SHA1 Message Date
Clark Boylan
f06b263740 Revert "Pull grafyaml from quay.io"
This reverts commit 01cbb2cdabe647d488493632f24afdfed214074e.

OpenDev is moving back to docker.io to preserve speculative container
image testing.

Depends-On: https://review.opendev.org/c/opendev/grafyaml/+/884291
Change-Id: I37061889efe876511b21209295d9a8124a6f5bcb
2023-05-24 13:54:28 -07:00
Clark Boylan
01cbb2cdab Pull grafyaml from quay.io
The grafyaml image is being published to quay.io now. Update our
location for this image to ensure we pull it from the correct location.

Depends-On: https://review.opendev.org/c/opendev/grafyaml/+/882493
Change-Id: I28a5a735b4e60281ec96c95887ba8d96d106063c
2023-05-08 08:55:09 -07:00
Ian Wienand
081f477991 grafana: pull grafyaml in helper script
Make sure before running the grafana image is pulled so we get any
updates before trying to load the dashboards.

Change-Id: I01d1a2874cc96926ff60746af617e75c19f99b1b
2022-08-04 13:58:52 +10:00
Ian Wienand
3bebc2d0dd grafana: better loop for container start
Make this more reliable by probing for the service

Change-Id: I8a7d1577d416e4833cc5925667600f7a0540fc68
2022-08-04 11:16:41 +10:00
Ian Wienand
3dbb32adb3 grafana: helper script updates
Responding to comments from Ibbc2b116d0c496655a7ce6bb6971e8270ac32647

Make the script run in the grafana .yaml directory so you don't have
working-directory issues.

Put the secrets in this directory and add them to .gitignore

No need for a tty on the loading call

Additionally make it executable, and have a short pause to let the
container start.

Change-Id: Icf0a2cfb1a0f5599704d6c8c9e85345d61884cd5
2022-08-04 10:03:34 +10:00
Ian Wienand
859005d497 grafana: add helper script
Add a helper script and assocated README.rst to explain the
interactive development process.

Depends-On: https://review.opendev.org/c/opendev/grafyaml/+/833212
Change-Id: Ibbc2b116d0c496655a7ce6bb6971e8270ac32647
2022-06-30 14:37:01 +10:00