## Summary - `renovate.json` now only extends `local>labeex/renovateex`, the shared preset that holds the settings common to the 9 repositories. - Pilot for the migration: the behaviour must stay exactly the same. ## Test plan - [x] Resolved Renovate config compared before/after: no rule lost, same order, only rules for managers this repo does not use are added - [x] Renovate simulation before/after: same 13 dependencies, same updates - [x] Package rule decisions (automerge, release age, labels, digest pinning) compared for every dependency and update type: identical - [ ] CI green on this PR - [ ] After merge and a Renovate run: Dependency Dashboard identical to the one before, no config error issue Reviewed-on: #15 Co-authored-by: Djeex <[email protected]>
This commit was merged in pull request #15.
This commit is contained in:
1 parent
2610857d48
commit
b3dc6e33d1
1 file changed
+1
-43
+1
-43
@@ -1,46 +1,4 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:recommended", "docker:pinDigests"],
|
||||
"timezone": "Europe/Paris",
|
||||
"minimumReleaseAge": "3 days",
|
||||
"labels": ["bot"],
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Docker images pinned in CI 'docker run' / 'docker create' commands",
|
||||
"managerFilePatterns": ["/^\\.gitea/workflows/.+\\.ya?ml$/"],
|
||||
"matchStrings": [
|
||||
"(?<depName>(?:zricethezav/gitleaks|hadolint/hadolint|aquasec/trivy)):(?<currentValue>v?\\d+\\.\\d+\\.\\d+(?:-[a-z]+)?)"
|
||||
],
|
||||
"datasourceTemplate": "docker"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchManagers": ["custom.regex"],
|
||||
"pinDigests": false
|
||||
},
|
||||
{
|
||||
"matchManagers": ["dockerfile"],
|
||||
"matchUpdateTypes": ["patch"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"matchManagers": ["dockerfile"],
|
||||
"matchUpdateTypes": ["pin", "digest"],
|
||||
"automerge": true
|
||||
},
|
||||
{
|
||||
"matchUpdateTypes": ["major"],
|
||||
"addLabels": ["major"]
|
||||
},
|
||||
{
|
||||
"matchUpdateTypes": ["minor"],
|
||||
"addLabels": ["minor"]
|
||||
}
|
||||
],
|
||||
"vulnerabilityAlerts": {
|
||||
"enabled": true,
|
||||
"addLabels": ["bug"]
|
||||
}
|
||||
"extends": ["local>labeex/renovateex"]
|
||||
}
|
||||
Reference in new issue
Block a user