system-config/playbooks/roles/grafana/templates/update-grafana-dashboards.sh.j2
Ian Wienand 409482cc64 grafana: pull the grafyaml image before running
Nothing pulls this image, so if we update anything the production
server never gets the new container image.  Add pull step to the
update script.

Change-Id: I4a0fae28141e1e367734316a30a4af0b05c24bb3
2022-08-04 23:37:48 +00:00

8 lines
217 B
Django/Jinja

#!/bin/bash
docker pull opendevorg/grafyaml && \
docker run --rm -t --network=host \
--env-file /etc/grafana/secrets/grafyaml.env \
-v /opt/project-config/grafana:/grafana:ro \
opendevorg/grafyaml