File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
aws-xray/src/awsTest/java/io/opentelemetry/contrib/aws/xray Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 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
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}
Original file line number Diff line number Diff 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" )))
You can’t perform that action at this time.
0 commit comments