From a399cc1f4f82ead9295ecd11b416d6be6e33ce29 Mon Sep 17 00:00:00 2001 From: Edward Welch Date: Mon, 16 Sep 2019 11:10:45 -0400 Subject: [PATCH] updating the image version for loki-canary and adding the version increment to the release_prepare script --- production/ksonnet/loki-canary/config.libsonnet | 4 ++-- tools/release_prepare.sh | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/production/ksonnet/loki-canary/config.libsonnet b/production/ksonnet/loki-canary/config.libsonnet index d1043c450e2d2..e5366d7576e64 100644 --- a/production/ksonnet/loki-canary/config.libsonnet +++ b/production/ksonnet/loki-canary/config.libsonnet @@ -1,5 +1,5 @@ { _images+:: { - loki_canary: 'grafana/loki-canary:latest', + loki_canary: 'grafana/loki-canary:v0.3.0', }, -} \ No newline at end of file +} diff --git a/tools/release_prepare.sh b/tools/release_prepare.sh index 7c9ffe38f0bd2..be601f42e12a1 100755 --- a/tools/release_prepare.sh +++ b/tools/release_prepare.sh @@ -50,6 +50,7 @@ fi echo "Updating helm and ksonnet image versions" sed -i '' "s/.*promtail:.*/ promtail: 'grafana\/promtail:${VERSION}',/" production/ksonnet/promtail/config.libsonnet +sed -i '' "s/.*loki_canary:.*/ loki_canary: 'grafana\/loki-canary:${VERSION}',/" production/ksonnet/loki-canary/config.libsonnet sed -i '' "s/.*loki:.*/ loki: 'grafana\/loki:${VERSION}',/" production/ksonnet/loki/images.libsonnet sed -i '' "s/.*tag:.*/ tag: ${VERSION}/" production/helm/loki/values.yaml sed -i '' "s/.*tag:.*/ tag: ${VERSION}/" production/helm/promtail/values.yaml