Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

157 linhas
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.nix",
  92. "flake.lock",
  93. "i18n/requirements.txt",
  94. "mise.toml"
  95. ],
  96. "automerge": true,
  97. "automergeType": "branch"
  98. },
  99. {
  100. "description": "Automerge updates of the self-hosted Renovate runner (via branch push - no PR)",
  101. "matchManagers": [
  102. "custom.regex"
  103. ],
  104. "matchDepNames": [
  105. "matrix-renovate-runner"
  106. ],
  107. "automerge": true,
  108. "automergeType": "branch"
  109. },
  110. {
  111. "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.",
  112. "matchFileNames": [
  113. "molecule-shared/**",
  114. ".github/workflows/molecule.yml"
  115. ],
  116. "automerge": true,
  117. "automergeType": "branch"
  118. },
  119. {
  120. "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.",
  121. "matchFileNames": [
  122. "roles/custom/matrix-alertmanager-receiver/defaults/main.yml",
  123. "roles/custom/matrix-bot-baibot/defaults/main.yml",
  124. "roles/custom/matrix-bot-draupnir/defaults/main.yml",
  125. "roles/custom/matrix-bot-maubot/defaults/main.yml",
  126. "roles/custom/matrix-bot-matrix-reminder-bot/defaults/main.yml",
  127. "roles/custom/matrix-bridge-heisenbridge/defaults/main.yml",
  128. "roles/custom/matrix-bridge-hookshot/defaults/main.yml",
  129. "roles/custom/matrix-bridge-mautrix-discord/defaults/main.yml",
  130. "roles/custom/matrix-bridge-mautrix-meta-instagram/defaults/main.yml",
  131. "roles/custom/matrix-bridge-mautrix-meta-messenger/defaults/main.yml",
  132. "roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml",
  133. "roles/custom/matrix-bridge-mautrix-telegram/defaults/main.yml",
  134. "roles/custom/matrix-bridge-mautrix-whatsapp/defaults/main.yml",
  135. "roles/custom/matrix-bridge-postmoogle/defaults/main.yml",
  136. "roles/custom/matrix-client-element/defaults/main.yml",
  137. "roles/custom/matrix-ketesa/defaults/main.yml",
  138. "roles/custom/matrix-synapse/defaults/main.yml"
  139. ],
  140. "matchUpdateTypes": [
  141. "patch"
  142. ],
  143. "automerge": true,
  144. "automergeType": "branch"
  145. }
  146. ],
  147. "pre-commit": {
  148. "enabled": true
  149. },
  150. "nix": {
  151. "enabled": true,
  152. "lockFileMaintenance": {
  153. "enabled": true
  154. }
  155. }
  156. }