renovate.json 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. {
  2. "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  3. "extends": [
  4. "config:recommended",
  5. ":dependencyDashboard",
  6. ":enableVulnerabilityAlertsWithLabel('security')",
  7. ":preserveSemverRanges",
  8. ":rebaseStalePrs",
  9. "group:recommended"
  10. ],
  11. "labels": [
  12. "renovate"
  13. ],
  14. "useBaseBranchConfig": "merge",
  15. "kubernetes": {
  16. "managerFilePatterns": [
  17. "/(^|/)kubernetes/.+/[^/]+\\.ya?ml$/"
  18. ]
  19. },
  20. "packageRules": [
  21. {
  22. "groupName": "devDependencies (non-major)",
  23. "matchDepTypes": [
  24. "devDependencies",
  25. "require-dev"
  26. ],
  27. "matchUpdateTypes": [
  28. "digest",
  29. "minor",
  30. "patch"
  31. ]
  32. },
  33. {
  34. "description": "Update MariaDB or MySQL on a patch level only, bumps to major and minor versions might break compatibilty with an application",
  35. "enabled": false,
  36. "matchManagers": [
  37. "docker-compose",
  38. "dockerfile"
  39. ],
  40. "matchUpdateTypes": [
  41. "major",
  42. "minor"
  43. ],
  44. "matchPackageNames": [
  45. "/^([^/]+\\/)*(mariadb|mysql)(:.+)?$/"
  46. ]
  47. },
  48. {
  49. "description": "Update PostgreSQL on a minor version or patch level only, bumps to major versions might break compatibilty with an application",
  50. "enabled": false,
  51. "matchManagers": [
  52. "docker-compose",
  53. "dockerfile"
  54. ],
  55. "matchUpdateTypes": [
  56. "major"
  57. ],
  58. "matchPackageNames": [
  59. "/^([^/]+\\/)*postgres(:.+)?$/"
  60. ]
  61. },
  62. {
  63. "description": "Update MariaDB or PostgreSQL to the most recent release if they are standalone and not part of an application stack",
  64. "enabled": true,
  65. "matchManagers": [
  66. "docker-compose",
  67. "dockerfile"
  68. ],
  69. "matchFileNames": [
  70. "docker-compose/mariadb/**",
  71. "docker-compose/postgres/**"
  72. ],
  73. "matchUpdateTypes": [
  74. "major",
  75. "minor",
  76. "patch"
  77. ],
  78. "matchPackageNames": [
  79. "/^([^/]+\\/)*(mariadb|postgres)(:.+)?$/"
  80. ]
  81. },
  82. {
  83. "description": "Do not match Canonical's Ubuntu version suffix as a compatibility hint",
  84. "matchManagers": [
  85. "docker-compose",
  86. "dockerfile"
  87. ],
  88. "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?(?:-\\d+(?:\\.\\d+)+_edge)?$",
  89. "matchPackageNames": [
  90. "/^([^/]+\\/)*ubuntu/bind9(:.+)?$/"
  91. ]
  92. },
  93. {
  94. "description": "Catch a potential `security` suffix as part of the patch release as Grafana does not follow semver for security releases",
  95. "matchManagers": [
  96. "docker-compose",
  97. "dockerfile"
  98. ],
  99. "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+(?:-security-\\d+)?)$",
  100. "matchPackageNames": [
  101. "/^([^/]+\\/)*grafana/grafana-oss(:.+)?$/"
  102. ]
  103. },
  104. {
  105. "description": "Over time Heimdall changed its versioning schema several times, ensure we only consider the current style",
  106. "matchManagers": [
  107. "docker-compose",
  108. "dockerfile"
  109. ],
  110. "versioning": "regex:^(?<major>\\d{1,2})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$",
  111. "matchPackageNames": [
  112. "/^([^/]+\\/)*heimdall(:.+)?$/"
  113. ]
  114. },
  115. {
  116. "description": "Track stable releases of Nginx only",
  117. "matchManagers": [
  118. "docker-compose",
  119. "dockerfile"
  120. ],
  121. "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d*[02468])(\\.(?<patch>\\d+))?(?:-(?<compatibility>.*))?$",
  122. "matchPackageNames": [
  123. "/^([^/]+\\/)*nginx(:.+)?$/"
  124. ]
  125. },
  126. {
  127. "description": "Ignore erroneous version tags of Semaphore",
  128. "matchManagers": [
  129. "docker-compose",
  130. "dockerfile"
  131. ],
  132. "allowedVersions": "!/^v?2\\.19\\.10$/",
  133. "matchPackageNames": [
  134. "/^([^/]+\\/)*semaphore(:.+)?$/"
  135. ]
  136. }
  137. ],
  138. "customManagers": [
  139. {
  140. "customType": "regex",
  141. "description": "Update Longhorn images in Helm",
  142. "managerFilePatterns": [
  143. "/(^|/)kubernetes/longhorn/helm/values.yaml$/"
  144. ],
  145. "matchStrings": [
  146. "engine:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  147. "manager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  148. "ui:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  149. "instanceManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  150. "shareManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  151. "backingImageManager:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  152. "supportBundleKit:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  153. "attacher:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  154. "provisioner:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  155. "nodeDriverRegistrar:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  156. "resizer:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  157. "snapshotter:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?",
  158. "livenessProbe:\\s*repository:\\s*\"?(?<depName>[^\"]+)\"?\\s*tag:\\s*\"?(?<currentValue>[^\"]+)\"?"
  159. ],
  160. "datasourceTemplate": "docker"
  161. }
  162. ],
  163. "prConcurrentLimit": 30,
  164. "prHourlyLimit": 5,
  165. "separateMinorPatch": true,
  166. "stopUpdatingLabel": "renovate/stop_updating"
  167. }