|
7 | 7 | ":semanticCommits", |
8 | 8 | ":timezone(Europe/Rome)" |
9 | 9 | ], |
| 10 | + |
| 11 | + "assignees": ["ildoc"], |
| 12 | + |
10 | 13 | "automerge": false, |
11 | 14 | "platformAutomerge": false, |
12 | | - "separateMajorMinor": true, |
13 | | - "separateMinorPatch": true, |
14 | | - "separateMultipleMajor": true, |
15 | | - "groupName": null, |
16 | | - "assignees": [ |
17 | | - "ildoc" |
18 | | - ], |
| 15 | + |
19 | 16 | "prConcurrentLimit": 50, |
20 | 17 | "prHourlyLimit": 0, |
21 | 18 | "prCreation": "not-pending", |
22 | 19 | "internalChecksFilter": "flexible", |
| 20 | + |
| 21 | + "separateMajorMinor": false, |
| 22 | + "separateMinorPatch": false, |
| 23 | + "separateMultipleMajor": false, |
| 24 | + |
| 25 | + "rollupType": "highest", |
| 26 | + |
23 | 27 | "ignorePaths": [ |
24 | 28 | "**/archived/**", |
25 | 29 | "docs/**" |
26 | 30 | ], |
| 31 | + |
| 32 | + "schedule": [ |
| 33 | + "after 10pm every weekday", |
| 34 | + "every weekend", |
| 35 | + "before 5am every weekday" |
| 36 | + ], |
| 37 | + |
27 | 38 | "docker-compose": { |
28 | | - "fileMatch": [ |
| 39 | + "managerFilePatterns": [ |
29 | 40 | "(^|/)docker-compose[^/]*\\.ya?ml$", |
30 | 41 | "(^|/)docker-compose[^/]*\\.ya?ml\\.j2$", |
31 | 42 | "(^|/)compose[^/]*\\.ya?ml$", |
32 | 43 | "(^|/)compose[^/]*\\.ya?ml\\.j2$" |
33 | 44 | ] |
34 | 45 | }, |
| 46 | + |
35 | 47 | "kubernetes": { |
36 | | - "fileMatch": [ |
| 48 | + "managerFilePatterns": [ |
37 | 49 | "kubernetes/.+\\.ya?ml$" |
38 | 50 | ] |
39 | 51 | }, |
| 52 | + |
40 | 53 | "customManagers": [ |
41 | 54 | { |
42 | 55 | "customType": "regex", |
43 | | - "description": "Aggiorna immagini Docker in template Jinja2/Ansible con variabili", |
44 | | - "fileMatch": [ |
| 56 | + "description": "Aggiorna immagini Docker in template Jinja2/Ansible - versione base", |
| 57 | + "managerFilePatterns": [ |
45 | 58 | "(^|/)docker-compose[^/]*\\.ya?ml\\.j2$", |
46 | 59 | "(^|/)compose[^/]*\\.ya?ml\\.j2$" |
47 | 60 | ], |
|
50 | 63 | ], |
51 | 64 | "datasourceTemplate": "docker", |
52 | 65 | "versioningTemplate": "docker" |
| 66 | + }, |
| 67 | + { |
| 68 | + "customType": "regex", |
| 69 | + "description": "Aggiorna immagini Docker con commenti Renovate espliciti", |
| 70 | + "managerFilePatterns": [ |
| 71 | + "(^|/)docker-compose[^/]*\\.ya?ml\\.j2$", |
| 72 | + "(^|/)compose[^/]*\\.ya?ml\\.j2$" |
| 73 | + ], |
| 74 | + "matchStrings": [ |
| 75 | + "# renovate: datasource=(?<datasource>\\S+)(?: depName=(?<depName>\\S+))?(?: versioning=(?<versioning>\\S+))?\\s+image:\\s+[\"']?(?<packageName>[^:\"'\\s]+):(?<currentValue>[^\"'\\s@]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?" |
| 76 | + ] |
53 | 77 | } |
54 | 78 | ], |
| 79 | + |
55 | 80 | "packageRules": [ |
56 | 81 | { |
57 | | - "description": "Pin digests per tutte le immagini Docker - raggruppate", |
58 | | - "matchCategories": [ |
59 | | - "docker" |
60 | | - ], |
61 | | - "pinDigests": true, |
62 | | - "matchUpdateTypes": [ |
63 | | - "pin" |
64 | | - ], |
65 | | - "groupName": "Docker digest pins" |
| 82 | + "description": "Disabilita tutti gli aggiornamenti di default", |
| 83 | + "matchPackagePatterns": ["*"], |
| 84 | + "enabled": false |
66 | 85 | }, |
| 86 | + |
67 | 87 | { |
68 | | - "description": "Raggruppa aggiornamenti digest Docker", |
69 | | - "matchDatasources": [ |
70 | | - "docker" |
71 | | - ], |
72 | | - "matchUpdateTypes": [ |
73 | | - "digest" |
74 | | - ], |
75 | | - "groupName": "Docker digest updates" |
| 88 | + "description": "Abilita solo aggiornamenti Docker per singola immagine", |
| 89 | + "matchDatasources": ["docker"], |
| 90 | + "enabled": true, |
| 91 | + "recreateWhen": "always", |
| 92 | + "rebaseWhen": "auto", |
| 93 | + "rollupType": "highest", |
| 94 | + "groupName": null |
76 | 95 | }, |
| 96 | + |
77 | 97 | { |
78 | | - "description": "Invidious - usa versioning loose per tag inconsistenti", |
79 | | - "matchPackageNames": [ |
80 | | - "quay.io/invidious/invidious" |
81 | | - ], |
| 98 | + "description": "Pin digests per tutte le immagini Docker - una MR unica", |
| 99 | + "matchDatasources": ["docker"], |
| 100 | + "pinDigests": true, |
| 101 | + "matchUpdateTypes": ["pin", "digest"], |
| 102 | + "groupName": "Docker SHA256 digest pins", |
| 103 | + "groupSlug": "docker-digests", |
| 104 | + "commitMessageTopic": "Docker digest updates", |
| 105 | + "commitMessageExtra": "(grouped)", |
| 106 | + "separateMultipleMajor": false, |
| 107 | + "separateMinorPatch": false |
| 108 | + }, |
| 109 | + |
| 110 | + { |
| 111 | + "description": "Invidious - versioning loose per tag inconsistenti", |
| 112 | + "matchPackageNames": ["quay.io/invidious/invidious"], |
82 | 113 | "versioning": "loose", |
83 | 114 | "followTag": "master" |
84 | 115 | }, |
| 116 | + |
85 | 117 | { |
86 | | - "description": "Invidious Companion - usa versioning loose per tag inconsistenti", |
87 | | - "matchPackageNames": [ |
88 | | - "quay.io/invidious/invidious-companion" |
89 | | - ], |
| 118 | + "description": "Invidious Companion - versioning loose per tag inconsistenti", |
| 119 | + "matchPackageNames": ["quay.io/invidious/invidious-companion"], |
90 | 120 | "versioning": "loose", |
91 | 121 | "followTag": "latest" |
92 | 122 | }, |
| 123 | + |
93 | 124 | { |
94 | | - "description": "Disabilita automerge per tutto", |
95 | | - "matchPackagePatterns": [ |
96 | | - "*" |
97 | | - ], |
98 | | - "automerge": false, |
99 | | - "platformAutomerge": false, |
100 | | - "groupName": null |
101 | | - }, |
102 | | - { |
103 | | - "description": "Security updates - senza stability days", |
104 | | - "matchUpdateTypes": [ |
105 | | - "patch" |
106 | | - ], |
| 125 | + "description": "Security patches - priorità immediata", |
| 126 | + "matchUpdateTypes": ["patch"], |
| 127 | + "matchDatasources": ["docker"], |
107 | 128 | "minimumReleaseAge": null, |
108 | | - "prCreation": "immediate" |
| 129 | + "prCreation": "immediate", |
| 130 | + "prPriority": 5 |
109 | 131 | }, |
| 132 | + |
110 | 133 | { |
111 | | - "description": "Major updates - più giorni di stability", |
112 | | - "matchUpdateTypes": [ |
113 | | - "major" |
114 | | - ], |
115 | | - "minimumReleaseAge": "7 days" |
| 134 | + "description": "Major updates - stability period esteso", |
| 135 | + "matchUpdateTypes": ["major"], |
| 136 | + "matchDatasources": ["docker"], |
| 137 | + "minimumReleaseAge": "7 days", |
| 138 | + "prPriority": 1 |
116 | 139 | }, |
| 140 | + |
117 | 141 | { |
118 | | - "description": "Minor updates - periodo standard", |
119 | | - "matchUpdateTypes": [ |
120 | | - "minor" |
121 | | - ], |
122 | | - "minimumReleaseAge": "3 days" |
| 142 | + "description": "Minor updates - stability period standard", |
| 143 | + "matchUpdateTypes": ["minor"], |
| 144 | + "matchDatasources": ["docker"], |
| 145 | + "minimumReleaseAge": "3 days", |
| 146 | + "prPriority": 3 |
123 | 147 | } |
124 | | - ], |
125 | | - "schedule": [ |
126 | | - "after 10pm every weekday", |
127 | | - "every weekend", |
128 | | - "before 5am every weekday" |
129 | 148 | ] |
130 | 149 | } |
0 commit comments