From 0685c13ec753c601ce114826678c5dbef32fa3e9 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Fri, 23 Aug 2024 09:01:57 -0700 Subject: [PATCH] Fix dependency for OTEL collector (#208) --- tests/exporter_test.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/exporter_test.go b/tests/exporter_test.go index 75c5f64..0d27e7a 100644 --- a/tests/exporter_test.go +++ b/tests/exporter_test.go @@ -76,15 +76,17 @@ var _ = Describe("Exporter", func() { ctx = context.Background() // Run the collector container - // renovate: datasource=docker - image := "otel/opentelemetry-collector-contrib:0.106.1" + + collectorImage := "otel/opentelemetry-collector-contrib" + // renovate: datasource=docker depName=otel/opentelemetry-collector-contrib + collectorImageVersion := "0.106.1" const collectorCfgName = "collector.yaml" lc = &matchingLogConsumer{} req := testcontainers.ContainerRequest{ - Image: image, + Image: collectorImage + ":" + collectorImageVersion, Files: []testcontainers.ContainerFile{ { HostFilePath: "./" + collectorCfgName,