Skip to content

Commit a61ab14

Browse files
authored
chore: configure renovate to bump image deps (#1599)
* chore: configure renovate to bump image deps * chore: add tracetest and opensearch to renovate
1 parent 6202972 commit a61ab14

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.102.1
1010
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.10.2
1111
GRAFANA_IMAGE=grafana/grafana:10.4.3
1212
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.57
13-
# must also update version field in ./src/grafana/provisioning/datasources/opensearch.yml
13+
# must also update version field in ./src/grafana/provisioning/datasources/opensearch.yaml
1414
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.14.0
1515
POSTGRES_IMAGE=postgres:16.3
1616
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.52.0

renovate.json5

+34-1
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,38 @@
100100
"matchPackageNames": ["eclipse-temurin"],
101101
"enabled": false
102102
}
103+
],
104+
105+
"regexManagers": [
106+
{
107+
// Parse image version from .env file.
108+
"fileMatch": [
109+
".env$"
110+
],
111+
"datasourceTemplate": "docker",
112+
"matchStrings": [
113+
"IMAGE=(?<depName>.+):(?<currentValue>.+)"
114+
]
115+
},
116+
{
117+
"fileMatch": [
118+
"test/tracetesting/Dockerfile$"
119+
],
120+
"datasourceTemplate": "docker",
121+
"depNameTemplate": "kubeshop/tracetest",
122+
"matchStrings": [
123+
"IMAGE_VERSION=(?<currentValue>.+)"
124+
]
125+
},
126+
{
127+
"fileMatch": [
128+
"src/grafana/provisioning/datasources/opensearch.yaml$"
129+
],
130+
"datasourceTemplate": "docker",
131+
"depNameTemplate": "opensearchproject/opensearch",
132+
"matchStrings": [
133+
"version: (?<currentValue>.+)"
134+
]
135+
}
103136
]
104-
}
137+
}

0 commit comments

Comments
 (0)