renovate.json 5.5 KB

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