Skip to content

Commit b632a8e

Browse files
committed
ci: Add renovate5
Right now we're not using a `Cargo.lock`, but we should. Let's try out renovate like some other Rust containers/ GH repos. e.g. containers/netavark@67b7da4 I commented out the assignee thing as we don't have a dedicated team yet. Signed-off-by: Colin Walters <[email protected]>
1 parent 8969314 commit b632a8e

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

.github/renovate.json5

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
Renovate is a service similar to GitHub Dependabot, but with
3+
(fantastically) more configuration options. So many options
4+
in fact, if you're new I recommend glossing over this cheat-sheet
5+
prior to the official documentation:
6+
7+
https://www.augmentedmind.de/2021/07/25/renovate-bot-cheat-sheet
8+
9+
Configuration Update/Change Procedure:
10+
1. Make changes
11+
2. Manually validate changes (from repo-root):
12+
13+
podman run -it \
14+
-v ./.github/renovate.json5:/usr/src/app/renovate.json5:z \
15+
docker.io/renovate/renovate:latest \
16+
renovate-config-validator
17+
3. Commit.
18+
19+
Configuration Reference:
20+
https://docs.renovatebot.com/configuration-options/
21+
22+
Monitoring Dashboard:
23+
https://app.renovatebot.com/dashboard#github/containers
24+
25+
Note: The Renovate bot will create/manage it's business on
26+
branches named 'renovate/*'. Otherwise, and by
27+
default, the only the copy of this file that matters
28+
is the one on the `main` branch. No other branches
29+
will be monitored or touched in any way.
30+
*/
31+
32+
{
33+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
34+
35+
/*************************************************
36+
****** Global/general configuration options *****
37+
*************************************************/
38+
39+
// Re-use predefined sets of configuration options to DRY
40+
"extends": [
41+
// https://github.com/containers/automation/blob/main/renovate/defaults.json5
42+
"github>containers/automation//renovate/defaults.json5"
43+
],
44+
45+
// Permit automatic rebasing when base-branch changes by more than
46+
// one commit.
47+
"rebaseWhen": "behind-base-branch",
48+
49+
/*************************************************
50+
*** Repository-specific configuration options ***
51+
*************************************************/
52+
53+
// Don't leave dep. update. PRs "hanging", assign them to people.
54+
// "assignees": ["containers/netavark-maintainers"],
55+
56+
/**************************************************
57+
***** Manager-specific configuration options *****
58+
**************************************************/
59+
60+
"dockerfile": {
61+
// Renovate has a hard-time managing base images for
62+
// Fedora and CentOS (see contrib/container_images/). Disable
63+
// all Dockerfile baes-image management.
64+
"enabled": false
65+
},
66+
}

0 commit comments

Comments
 (0)