Skip to content

Commit f17ad9a

Browse files
authored
fix: pin grafana/otel-lgtm to 0.7.2 in OATs acceptance test (#1992)
`grafana/otel-lgtm:latest` pointed to `0.7.3` which breaks the `service_instance_id_check` in the OTel acceptance test. `0.7.2` is confirmed working. Pin to `0.7.2` for reproducible builds and add a renovate annotation so the pin is kept up to date automatically. Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 0fa1ad7 commit f17ad9a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/renovate-tracked-deps.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"protoc",
140140
"ubi:google/google-java-format"
141141
],
142-
"regex": ["ghcr.io/super-linter/super-linter", "grafana/flint"]
142+
"regex": ["ghcr.io/super-linter/super-linter", "grafana/docker-otel-lgtm", "grafana/flint"]
143143
},
144144
"mvnw": {
145145
"maven-wrapper": ["maven-wrapper"]

mise.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ protoc = "34.0"
1212
RENOVATE_TRACKED_DEPS_EXCLUDE="github-actions,github-runners"
1313
# renovate: datasource=docker depName=ghcr.io/super-linter/super-linter
1414
SUPER_LINTER_VERSION="slim-v8.5.0@sha256:857dcc3f0bf5dd065fdeed1ace63394bb2004238a5ef02910ea23d9bcd8fd2b8"
15+
# renovate: datasource=github-releases depName=grafana/docker-otel-lgtm
16+
LGTM_VERSION="0.7.2"
1517

1618
[tasks.ci]
1719
description = "CI Build"
@@ -107,7 +109,7 @@ run = "mise generate git-pre-commit --write --task=pre-commit"
107109
[tasks.acceptance-test]
108110
description = "Run OATs acceptance tests"
109111
depends = "build"
110-
run = "oats -timeout 5m examples/"
112+
run = "oats -lgtm-version $LGTM_VERSION -timeout 5m examples/"
111113

112114
[tasks.javadoc]
113115
description = "Generate Javadoc"

0 commit comments

Comments
 (0)