Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

156 Zeilen
6.5 KiB

  1. {
  2. "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  3. "extends": [
  4. "config:recommended",
  5. "helpers:pinGitHubActionDigests"
  6. ],
  7. "labels": [
  8. "dependencies"
  9. ],
  10. "branchConcurrentLimit": 3,
  11. "hostRules": [
  12. {
  13. "matchHost": "https://mau.dev",
  14. "concurrentRequestLimit": 2,
  15. "maxRequestsPerSecond": 2
  16. },
  17. {
  18. "matchHost": "https://dock.mau.dev",
  19. "concurrentRequestLimit": 4,
  20. "maxRequestsPerSecond": 4
  21. }
  22. ],
  23. "customManagers": [
  24. {
  25. "customType": "regex",
  26. "managerFilePatterns": [
  27. "/defaults/main.yml$/"
  28. ],
  29. "matchStrings": [
  30. "# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (?:lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s+[A-Za-z0-9_]+?(?:_version|_tag)\\s*:\\s*[\"']?(?<currentValue>.+?)[\"']?\\s"
  31. ]
  32. },
  33. {
  34. "description": "Helper container images used by the Molecule scenarios. They are pinned once in molecule-shared/vars.yml rather than inline in each role's verify.yml, so this manager keeps that single pin current.",
  35. "customType": "regex",
  36. "managerFilePatterns": [
  37. "/^molecule-shared/vars\\.yml$/"
  38. ],
  39. "matchStrings": [
  40. "# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)\\s+[A-Za-z0-9_]+?\\s*:\\s*[\"'][^:]+:(?<currentValue>[^\"']+)[\"']"
  41. ]
  42. },
  43. {
  44. "customType": "regex",
  45. "description": "Update the self-hosted Renovate runner version",
  46. "managerFilePatterns": [
  47. "/^\\.github\\/workflows\\/renovate\\.yml$/"
  48. ],
  49. "matchStrings": [
  50. "# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) packageName=(?<packageName>\\S+)\\s+MATRIX_RENOVATE_VERSION: '(?<currentValue>[^']+)'"
  51. ]
  52. }
  53. ],
  54. "packageRules": [
  55. {
  56. "ignoreUnstable": false,
  57. "versioning": "loose",
  58. "matchSourceUrls": [
  59. "https://github.com/devture/com.devture.ansible.role{/,}**",
  60. "https://github.com/mother-of-all-self-hosting{/,}**"
  61. ]
  62. },
  63. {
  64. "description": "mautrix images are dual-tagged (v0.YYMM.PATCH and vYY.MM[.PATCH]). Stick to the v0 scheme: it matches the git tags (needed for self-building) and has a consistent number of components (the calver tags do not, which makes Renovate stop offering updates).",
  65. "matchPackageNames": [
  66. "dock.mau.dev/mautrix/**"
  67. ],
  68. "allowedVersions": "/^v0\\./"
  69. },
  70. {
  71. "description": "Automerge version bumps of roles maintained in the MASH organization and of devture roles (via branch push - no PR)",
  72. "matchManagers": [
  73. "ansible-galaxy"
  74. ],
  75. "matchSourceUrls": [
  76. "https://github.com/devture/com.devture.ansible.role{/,}**",
  77. "https://github.com/mother-of-all-self-hosting{/,}**"
  78. ],
  79. "automerge": true,
  80. "automergeType": "branch"
  81. },
  82. {
  83. "description": "Housekeeping updates merge via branch push (no PR, no email); a failure on the branch still surfaces as a PR. i18n/requirements.txt bumps are exercised by the Matrix i18n workflow before merging.",
  84. "matchFileNames": [
  85. ".github/workflows/close-stale-issues.yml",
  86. ".github/workflows/i18n.yml",
  87. ".github/workflows/lock-threads.yml",
  88. ".github/workflows/matrix.yml",
  89. ".github/workflows/renovate.yml",
  90. ".github/workflows/update-translations.yml",
  91. "flake.lock",
  92. "i18n/requirements.txt",
  93. "mise.toml"
  94. ],
  95. "automerge": true,
  96. "automergeType": "branch"
  97. },
  98. {
  99. "description": "Automerge updates of the self-hosted Renovate runner (via branch push - no PR)",
  100. "matchManagers": [
  101. "custom.regex"
  102. ],
  103. "matchDepNames": [
  104. "matrix-renovate-runner"
  105. ],
  106. "automerge": true,
  107. "automergeType": "branch"
  108. },
  109. {
  110. "description": "Molecule's own dependencies merge via branch push (no PR, no email). Anything under molecule-shared/ - the helper container images, Postgres, and the Python pins - triggers the Molecule workflow, and a change to a shared file makes it run every scenario, so an update only merges once the whole suite has passed on it. A failure surfaces as a PR instead. This is how a new Postgres major reaches us: the bump runs every scenario against it before anything is merged.",
  111. "matchFileNames": [
  112. "molecule-shared/**",
  113. ".github/workflows/molecule.yml"
  114. ],
  115. "automerge": true,
  116. "automergeType": "branch"
  117. },
  118. {
  119. "description": "Automerge patch bumps of components whose role has a Molecule scenario (via branch push - no PR). A bump touches that role's defaults/main.yml, which makes the Molecule workflow run that role's scenario, so the update only merges once the component has been started on the configuration the role renders. Patch only: a minor carries behaviour changes no static rule can judge, and reading the release notes to decide is a job for a human or an agent. Keep this list in step with the roles that have a scenario - bin/check-molecule-automerge-list.py enforces that.",
  120. "matchFileNames": [
  121. "roles/custom/matrix-alertmanager-receiver/defaults/main.yml",
  122. "roles/custom/matrix-bot-baibot/defaults/main.yml",
  123. "roles/custom/matrix-bot-draupnir/defaults/main.yml",
  124. "roles/custom/matrix-bot-maubot/defaults/main.yml",
  125. "roles/custom/matrix-bot-matrix-reminder-bot/defaults/main.yml",
  126. "roles/custom/matrix-bridge-heisenbridge/defaults/main.yml",
  127. "roles/custom/matrix-bridge-hookshot/defaults/main.yml",
  128. "roles/custom/matrix-bridge-mautrix-discord/defaults/main.yml",
  129. "roles/custom/matrix-bridge-mautrix-meta-instagram/defaults/main.yml",
  130. "roles/custom/matrix-bridge-mautrix-meta-messenger/defaults/main.yml",
  131. "roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml",
  132. "roles/custom/matrix-bridge-mautrix-telegram/defaults/main.yml",
  133. "roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml",
  134. "roles/custom/matrix-bridge-postmoogle/defaults/main.yml",
  135. "roles/custom/matrix-client-element/defaults/main.yml",
  136. "roles/custom/matrix-ketesa/defaults/main.yml",
  137. "roles/custom/matrix-synapse/defaults/main.yml"
  138. ],
  139. "matchUpdateTypes": [
  140. "patch"
  141. ],
  142. "automerge": true,
  143. "automergeType": "branch"
  144. }
  145. ],
  146. "pre-commit": {
  147. "enabled": true
  148. },
  149. "nix": {
  150. "enabled": true,
  151. "lockFileMaintenance": {
  152. "enabled": true
  153. }
  154. }
  155. }