renovate.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. "ignorePaths": [],
  15. "kubernetes": {
  16. "managerFilePatterns": [
  17. "/(^|/)library/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. "custom.regex"
  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. "custom.regex"
  52. ],
  53. "matchUpdateTypes": [
  54. "major"
  55. ],
  56. "matchPackageNames": [
  57. "/^([^/]+\\/)*postgres(:.+)?$/"
  58. ]
  59. },
  60. {
  61. "description": "Update MariaDB or PostgreSQL to the most recent release if they are standalone and not part of an application stack",
  62. "enabled": true,
  63. "matchManagers": [
  64. "custom.regex"
  65. ],
  66. "matchFileNames": [
  67. "library/compose/mariadb/**",
  68. "library/compose/postgres/**"
  69. ],
  70. "matchUpdateTypes": [
  71. "major",
  72. "minor",
  73. "patch"
  74. ],
  75. "matchPackageNames": [
  76. "/^([^/]+\\/)*(mariadb|postgres)(:.+)?$/"
  77. ]
  78. },
  79. {
  80. "description": "Do not match Canonical's Ubuntu version suffix as a compatibility hint",
  81. "matchManagers": [
  82. "custom.regex"
  83. ],
  84. "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?(?:-\\d+(?:\\.\\d+)+_edge)?$",
  85. "matchPackageNames": [
  86. "/^([^/]+\\/)*ubuntu/bind9(:.+)?$/"
  87. ]
  88. },
  89. {
  90. "description": "Catch a potential `security` suffix as part of the patch release as Grafana does not follow semver for security releases",
  91. "matchManagers": [
  92. "custom.regex"
  93. ],
  94. "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+(?:-security-\\d+)?)$",
  95. "matchPackageNames": [
  96. "/^([^/]+\\/)*grafana/grafana-oss(:.+)?$/"
  97. ]
  98. },
  99. {
  100. "description": "Over time Heimdall changed its versioning schema several times, ensure we only consider the current style",
  101. "matchManagers": [
  102. "custom.regex"
  103. ],
  104. "versioning": "regex:^(?<major>\\d{1,2})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$",
  105. "matchPackageNames": [
  106. "/^([^/]+\\/)*heimdall(:.+)?$/"
  107. ]
  108. },
  109. {
  110. "description": "Track stable releases of Nginx only",
  111. "matchManagers": [
  112. "custom.regex"
  113. ],
  114. "versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d*[02468])(\\.(?<patch>\\d+))?(?:-(?<compatibility>.*))?$",
  115. "matchPackageNames": [
  116. "/^([^/]+\\/)*nginx(:.+)?$/"
  117. ]
  118. },
  119. {
  120. "description": "Ignore erroneous version tags of Semaphore",
  121. "matchManagers": [
  122. "custom.regex"
  123. ],
  124. "allowedVersions": "!/^v?2\\.19\\.10$/",
  125. "matchPackageNames": [
  126. "/^([^/]+\\/)*semaphore(:.+)?$/"
  127. ]
  128. }
  129. ],
  130. "customManagers": [
  131. {
  132. "customType": "regex",
  133. "description": "Update Docker images in Jinja2 compose templates",
  134. "fileMatch": [
  135. "library/compose/.*/compose\\.(yaml|yml)\\.j2$"
  136. ],
  137. "matchStrings": [
  138. "image:\\s*(?<depName>[^:\\s]+):(?<currentValue>[^\\s\\n{]+)"
  139. ],
  140. "datasourceTemplate": "docker"
  141. }
  142. ],
  143. "postUpgradeTasks": {
  144. "commands": [
  145. ".renovate/sync-template-version.sh"
  146. ],
  147. "fileFilters": [
  148. "library/compose/**/template.yaml"
  149. ],
  150. "executionMode": "update"
  151. },
  152. "prConcurrentLimit": 30,
  153. "prHourlyLimit": 5,
  154. "separateMinorPatch": true,
  155. "stopUpdatingLabel": "renovate/stop_updating"
  156. }