Skip to content

Commit

Permalink
chore: Configure Renovate (#2)
Browse files Browse the repository at this point in the history
* Add renovate.json
* Configure renovate
* Configure renovate

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stephan Huber <[email protected]>
  • Loading branch information
renovate[bot] and stmh authored Oct 18, 2024
1 parent b79a6dc commit 22abc7c
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": ["dependencies", "renovate"],
"packageRules": [
{
"matchManagers": ["cargo"],
"addLabels": ["rust"]
},
{
"packageNames": ["capnp", "capnpc"],
"groupName": "capnp packages"
},
{
"packagePatterns": ["^futures[-_]?"],
"groupName": "futures packages"
},
{
"packagePatterns": [
"^opentelemetry[-_]?",
"^tracing-opentelemetry$",
"^init-tracing-opentelemetry$",
"^axum-tracing-opentelemetry$"
],
"groupName": "opentelemetry packages"
},
{
"packagePatterns": ["^prost[-_]?", "^tonic[-_]?"],
"groupName": "gRPC-related packages"
},
{
"packagePatterns": ["^rusoto[-_]?"],
"groupName": "rusoto packages"
},
{
"packagePatterns": ["^serde[-_]?"],
"groupName": "serde packages"
},
{
"packagePatterns": ["^tokio[-_]?"],
"groupName": "tokio packages"
},
{
"packagePatterns": ["^tracing[-_]?"],
"excludePackageNames": ["tracing-opentelemetry"],
"groupName": "tracing packages"
},
{
"matchPackageNames": [
"hyper-rustls",
"rustls",
"rustls-native-certs",
"tokio-rustls",
"webpki",
"webpki-roots"
],
"groupName": "rustls packages"
},
{
"matchManagers": ["cargo"],
"automerge": true,
"platformAutomerge": true,
"gitLabIgnoreApprovals": true,
"updateTypes": ["patch"],
"groupName": "Rust dependencies auto-merge (patch)"
},
{
"matchDatasources": ["docker"],
"addLabels": ["docker"]
},
{
"matchDatasources": ["docker"],
"matchPackagePatterns": ["^uselagoon/"],
"updateTypes": ["patch", "minor", "major"],
"groupName": "Lagoon Base images",
"rebaseWhen": "behind-base-branch"
}
],
"extends": ["config:recommended"]
}

0 comments on commit 22abc7c

Please sign in to comment.