Skip to content

Commit 974398e

Browse files
Copilottrask
andcommitted
Pin otel/opentelemetry-collector-contrib:latest to 0.137.0
Co-authored-by: trask <[email protected]>
1 parent 4b82da5 commit 974398e

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/renovate.json5

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
'config:best-practices',
55
'helpers:pinGitHubActionDigestsToSemver',
66
],
7+
ignorePaths: [], // overwrite default ignore which includes **/test/**
8+
// used to update docker image versions used in Java test files
79
ignorePresets: [
810
':ignoreModulesAndTests', // needed to keep maven-extension test pom files up-to-date
911
'workarounds:javaLTSVersions', // Allow all Java major versions, not just LTS
@@ -243,5 +245,17 @@
243245
'"https://github.com/(?<depName>[^/]+/[^/]+)/zipball/(?<currentValue>.+?)"',
244246
],
245247
},
248+
{
249+
customType: 'regex',
250+
datasourceTemplate: 'docker',
251+
managerFilePatterns: [
252+
'**/*.java',
253+
],
254+
matchStrings: [
255+
'"(?<depName>otel/opentelemetry-collector-contrib):(?<currentValue>[^@"]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?\"',
256+
],
257+
autoReplaceStringTemplate: '"{{depName}}:{{newValue}}{{#if newDigest}}@{{newDigest}}{{/if}}"',
258+
versioningTemplate: 'docker',
259+
},
246260
],
247261
}

aws-xray/src/awsTest/java/io/opentelemetry/contrib/aws/xray/AwsXrayRemoteSamplerIntegrationTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ class AwsXrayRemoteSamplerIntegrationTest {
3939

4040
@Container
4141
private static final GenericContainer<?> otelCollector =
42-
new GenericContainer<>(DockerImageName.parse("otel/opentelemetry-collector-contrib:latest"))
42+
new GenericContainer<>(
43+
DockerImageName.parse(
44+
"otel/opentelemetry-collector-contrib:0.137.0@sha256:886722fe0f37af9d1fe24d29529253ec59fbf263b3b1df4facaf221373e19d23"))
4345
.withExposedPorts(13133, 2000)
4446
.waitingFor(Wait.forHttp("/").forPort(13133))
4547
.withLogConsumer(new Slf4jLogConsumer(LoggerFactory.getLogger("otel-collector")))

0 commit comments

Comments
 (0)