Commit 61435065 authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

Merge branch 'renovate/configure' into 'main'

Configure Renovate

See merge request to-be-continuous/tools/tbc-commons!2
parents 2da76b18 5413dc5e
Loading
Loading
Loading
Loading
Loading

renovate.json

0 → 100644
+55 −0
Original line number Diff line number Diff line
{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": [
    "config:recommended",
    ":dependencyDashboard"
  ],
  "labels": [
    "dependencies"
  ],
  "packageRules": [
    {
      "matchDatasources": [
        "gitlab-tags"
      ],
      "versioning": "docker"
    },
    {
      "groupName": "to-be-continuous dependencies",
      "groupSlug": "tbc-deps",
      "matchPackagePatterns": [
        "to-be-continuous/*"
      ],
      "matchUpdateTypes": [
        "minor",
        "patch"
      ],
      "automerge": true,
      "automergeType": "pr",
      "platformAutomerge": true,
      "rebaseWhen": "auto"
    }
  ],
  "customManagers": [
    {
      "customType": "regex",
      "fileMatch": [
        "\\.gitlab-ci\\.ya?ml$"
      ],
      "matchStrings": [
        "\\s?_IMAGE:\\s['\"](?<registryUrls>.*?)\\/(?<depName>.*?):(?<currentValue>.*)['\"]"
      ],
      "datasourceTemplate": "docker"
    },
    {
      "customType": "regex",
      "fileMatch": [
        "\\.gitlab-ci\\.ya?ml$"
      ],
      "matchStrings": [
        "\\s?image:\\s['\"](?<registryUrls>.*?)\\/(?<depName>.*?):(?<currentValue>.*)['\"]"
      ],
      "datasourceTemplate": "docker"
    }
  ]
}