Skip to content

Commit 2e5c2f9

Browse files
authored
fix(renovate): posttask instead of grouping, and security-only RPMs (#200)
* fix(renovate): use posttask instead of group for docker/rpm combo * feat(renovate): disable non-security rpm updates
1 parent 62c8662 commit 2e5c2f9

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

renovate/foreman_satellite/renovate.json

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,30 @@
2222
{
2323
"matchBaseBranches": ["/^foreman-.*$/", "/^SATELLITE-.*$/"],
2424
"description": "Updates of Dockerfile and RPMs for foreman/satellite branches with immediate schedule",
25-
"matchManagers": ["dockerfile", "rpm-lockfile"],
26-
"groupName": "foreman-satellite-base-updates",
25+
"matchManagers": ["dockerfile"],
26+
"enabled": true,
27+
"postUpgradeTasks": {
28+
"commands": ["rpm-lockfile-prototype rpms.in.yaml"],
29+
"fileFilters": ["**/rpms.lock.yaml"]
30+
},
31+
"schedule": ["at any time"]
32+
},
33+
{
34+
"matchBaseBranches": ["/^foreman-.*$/", "/^SATELLITE-.*$/"],
35+
"description": "Disable non-security RPM updates for foreman/satellite branches",
36+
"matchManagers": ["rpm-lockfile"],
37+
"matchJsonata": [
38+
"$not($exists(isVulnerabilityAlert)) or isVulnerabilityAlert = false"
39+
],
40+
"enabled": false
41+
},
42+
{
43+
"matchBaseBranches": ["/^foreman-.*$/", "/^SATELLITE-.*$/"],
44+
"description": "Updates of security RPMs for foreman/satellite branches with immediate schedule",
45+
"matchManagers": ["rpm-lockfile"],
46+
"matchJsonata": [
47+
"$exists(isVulnerabilityAlert) and isVulnerabilityAlert = true"
48+
],
2749
"enabled": true,
2850
"schedule": ["at any time"]
2951
},

0 commit comments

Comments
 (0)