File tree Expand file tree Collapse file tree 4 files changed +2
-27
lines changed
exporters/prometheus/src/test/java/io/opentelemetry/exporter/prometheus
integration-tests/otlp/src/main/java/io/opentelemetry/integrationtest Expand file tree Collapse file tree 4 files changed +2
-27
lines changed Original file line number Diff line number Diff line change 33 extends : [
44 'config:best-practices' ,
55 'helpers:pinGitHubActionDigestsToSemver' ,
6- 'customManagers:githubActionsVersions'
76 ] ,
87 packageRules : [
98 {
Original file line number Diff line number Diff line change 88 pull_request :
99 workflow_dispatch :
1010
11- env :
12- # renovate: datasource=github-releases depName=opentelemetry-collector packageName=open-telemetry/opentelemetry-collector-releases
13- OTEL_COLLECTOR_VERSION : v0.132.2
14-
1511concurrency :
1612 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
1713 cancel-in-progress : true
Original file line number Diff line number Diff line change 6060class CollectorIntegrationTest {
6161
6262 private static final String COLLECTOR_IMAGE =
63- "otel/opentelemetry-collector-contrib" + collectorVersion ();
64-
65- private static String collectorVersion () {
66- String otelCollectorVersion = System .getenv ("OTEL_COLLECTOR_VERSION" );
67- if (otelCollectorVersion != null ) {
68- // strip the leading 'v'
69- return ":" + otelCollectorVersion .substring (1 );
70- }
71- // Default to latest if not set
72- return ":latest" ;
73- }
63+ "otel/opentelemetry-collector-contrib:latest" ;
7464
7565 private static final Integer COLLECTOR_HEALTH_CHECK_PORT = 13133 ;
7666
Original file line number Diff line number Diff line change @@ -115,17 +115,7 @@ abstract class OtlpExporterIntegrationTest {
115115 private static final AttributeKey <String > SERVICE_NAME = AttributeKey .stringKey ("service.name" );
116116
117117 private static final String COLLECTOR_IMAGE =
118- "otel/opentelemetry-collector-contrib" + collectorVersion ();
119-
120- private static String collectorVersion () {
121- String otelCollectorVersion = System .getenv ("OTEL_COLLECTOR_VERSION" );
122- if (otelCollectorVersion != null ) {
123- // strip the leading 'v'
124- return ":" + otelCollectorVersion .substring (1 );
125- }
126- // Default to latest if not set
127- return ":latest" ;
128- }
118+ "otel/opentelemetry-collector-contrib:latest" ;
129119
130120 private static final Integer COLLECTOR_OTLP_GRPC_PORT = 4317 ;
131121 private static final Integer COLLECTOR_OTLP_HTTP_PORT = 4318 ;
You can’t perform that action at this time.
0 commit comments