From 9ffadf7c3afd0304029b904e683ff31ee0a22fcf Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Thu, 17 Oct 2024 15:30:41 +0200 Subject: [PATCH] Add renovate.json for automated dependency updates --- renovate.json | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/renovate.json b/renovate.json index 9de56b9..4100064 100644 --- a/renovate.json +++ b/renovate.json @@ -1,4 +1,45 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["local>NethServer/.github:ns8"] + "extends": ["config:base"], + "ignorePaths": ["**/ui/**"], + "regexManagers": [ + { + "fileMatch": ["build-images.sh"], + "matchStrings": ["docker\\.io/node:(?[^\\s]+)"], + "depNameTemplate": "node", + "datasourceTemplate": "docker" + }, + { + "fileMatch": ["build-images.sh"], + "matchStrings": ["docker\\.io/drakkan/sftpgo:(?[^\\s]+)"], + "depNameTemplate": "drakkan/sftpgo", + "datasourceTemplate": "docker" + }, + { + "fileMatch": ["build-images.sh"], + "matchStrings": ["docker\\.io/nginx:(?[^\\s]+)"], + "depNameTemplate": "nginx", + "datasourceTemplate": "docker" + }, + { + "fileMatch": ["test-module.sh"], + "matchStrings": [ + "ghcr\\.io/marketsquare/robotframework-browser/rfbrowser-stable:(?[^\\s]+)" + ], + "depNameTemplate": "MarketSquare/robotframework-browser", + "datasourceTemplate": "github-releases" + } + ], + "packageRules": [ + { + "matchPackageNames": ["node"], + "allowedVersions": "<= 18" + }, + { + "matchPackageNames": [ + "ghcr.io/marketsquare/robotframework-browser/rfbrowser-stable" + ], + "allowedVersions": "<= 10.0" + } + ] }