Skip to content

Commit

Permalink
chore: configure renovate to bump image deps (open-telemetry#1599)
Browse files Browse the repository at this point in the history
* chore: configure renovate to bump image deps

* chore: add tracetest and opensearch to renovate
  • Loading branch information
rogercoll authored Jun 13, 2024
1 parent 6202972 commit a61ab14
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.102.1
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.10.2
GRAFANA_IMAGE=grafana/grafana:10.4.3
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.57
# must also update version field in ./src/grafana/provisioning/datasources/opensearch.yml
# must also update version field in ./src/grafana/provisioning/datasources/opensearch.yaml
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.14.0
POSTGRES_IMAGE=postgres:16.3
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.52.0
Expand Down
35 changes: 34 additions & 1 deletion renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,38 @@
"matchPackageNames": ["eclipse-temurin"],
"enabled": false
}
],

"regexManagers": [
{
// Parse image version from .env file.
"fileMatch": [
".env$"
],
"datasourceTemplate": "docker",
"matchStrings": [
"IMAGE=(?<depName>.+):(?<currentValue>.+)"
]
},
{
"fileMatch": [
"test/tracetesting/Dockerfile$"
],
"datasourceTemplate": "docker",
"depNameTemplate": "kubeshop/tracetest",
"matchStrings": [
"IMAGE_VERSION=(?<currentValue>.+)"
]
},
{
"fileMatch": [
"src/grafana/provisioning/datasources/opensearch.yaml$"
],
"datasourceTemplate": "docker",
"depNameTemplate": "opensearchproject/opensearch",
"matchStrings": [
"version: (?<currentValue>.+)"
]
}
]
}
}

0 comments on commit a61ab14

Please sign in to comment.