From c68029dae7f1896f466cc7a00112adb6d20923b8 Mon Sep 17 00:00:00 2001 From: Meng Sen Date: Sat, 12 Oct 2024 12:55:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=91=E6=8E=A7=20=E9=95=9C=E5=83=8F?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Meng Sen --- .github/renovate.json | 77 +++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 2ee2763a..ebc3bc5c 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -16,28 +16,23 @@ "rebaseWhen": "never", "packageRules": [ { - "matchDatasources": [ - "docker" - ], - "registryUrls": [ - "https://ghcr.io" - ] - }, - { - "matchDatasources": [ - "docker" - ], - "registryUrls": [ - "https://index.docker.io/v1/" - ] - }, - { - "matchPackageNames": [ - "actions/checkout", - "renovatebot/github-action" + "packageNames": [ + "docker-compose" ], "automerge": true }, + { + "matchFileNames": [ + "apps/postgresql/pg*/*.yml" + ], + "allowedVersions": "/^pg12*/" + }, + { + "matchFileNames": [ + "apps/postgresql/pg*/*.yml" + ], + "allowedVersions": "/^pg13*/" + }, { "matchFileNames": [ "apps/postgresql/pg*/*.yml" @@ -58,15 +53,27 @@ }, { "matchFileNames": [ - "apps/redis/6.2.*/*.yml" + "apps/postgresql/pg*/*.yml" ], - "allowedVersions": "/^6.2.*/" + "allowedVersions": "/^pg17*/" }, { "matchFileNames": [ - "apps/redis/7.2.*/*.yml" + "apps/redis/6.*/*.yml" ], - "allowedVersions": "/^7.2.*/" + "allowedVersions": "/^6.*/" + }, + { + "matchFileNames": [ + "apps/redis/7.*/*.yml" + ], + "allowedVersions": "/^7.*/" + }, + { + "matchFileNames": [ + "apps/mysql/5.6.*/*.yml" + ], + "allowedVersions": "/^5.6.*/" }, { "matchFileNames": [ @@ -76,9 +83,15 @@ }, { "matchFileNames": [ - "apps/mysql/8.*/*.yml" + "apps/mysql/8.0.*/*.yml" ], - "allowedVersions": "/^8.*/" + "allowedVersions": "/^8.0.*/" + }, + { + "matchFileNames": [ + "apps/mysql/8.4.*/*.yml" + ], + "allowedVersions": "/^8.4.*/" }, { "matchFileNames": [ @@ -117,19 +130,5 @@ "versioning": "regex:^(?\\d{2})(?\\d{2})(?\\d{2})$" } ], - "regexManagers": [ - { - "fileMatch": [ - "^docker-compose\\.yml$" - ], - "matchStrings": [ - "minio/minio:(?RELEASE\\.[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}-[0-9]{2}-[0-9]{2}Z)" - ], - "datasourceTemplate": "docker", - "versioningTemplate": "loose", - "depNameTemplate": "minio/minio", - "currentValueTemplate": "{{{currentValue}}}" - } - ], "prCreation": "immediate" }