From 9894cb63f4ecd44e2903e6ce1a7df6b90020dd51 Mon Sep 17 00:00:00 2001 From: Daniel Matthews Date: Fri, 5 Jan 2024 14:10:52 +0000 Subject: [PATCH] Update the renovate config --- .renovaterc.json | 142 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 141 insertions(+), 1 deletion(-) diff --git a/.renovaterc.json b/.renovaterc.json index 663f3025..b20f9c46 100644 --- a/.renovaterc.json +++ b/.renovaterc.json @@ -1,4 +1,144 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>UCL-MIRSG/.github//renovate/default-config.json"] + "extends": ["github>UCL-MIRSG/.github//renovate/default-config.json"], + "packageRules": [ + { + "description": "Check Maven Central for updates to Tomcat 9", + "matchPackageNames": ["org.apache.tomcat:tomcat"], + "allowedVersions": "<10" + }, + { + "matchPackageNames": [ + "xnatdev/xnat-web", + "xnatdev/xsync", + "xnatx/ldap-auth-plugin", + "xnatdev/container-service", + "xnatx/xnatx-batch-launch-plugin", + "VUIIS/dax", + "icrimaginginformatics/ohif-viewer-xnat-plugin", + "xnatx/ml-plugin", + "xnatx/datasets-plugin", + "xnatdev/xnat-image-viewer-plugin", + "xnatx/xnatx-dxm-settings-plugin", + "NrgXnat/xnat-pipeline-engine" + ], + "groupName": "xnat" + } + ], + "customDatasources": { + "VUIIS-dax": { + "defaultRegistryUrlTemplate": "https://api.github.com/repos/VUIIS/dax/contents/misc/xnat-plugins", + "transformTemplates": [ + "{\"releases\": $.{\"version\": $join([\"v\", $match(name, /(\\d+\\.)?(\\d+\\.)?(\\*|\\d+)/ ).match ])}}" + ] + } + }, + "customManagers": [ + { + "customType": "regex", + "description": "Update Tomcat version specfied in playbooks/group_vars/web.yml", + "fileMatch": ["(^|/)*web.yml$"], + "matchStrings": ["tomcat_version:\\s?(?.*?)\\n"], + "depNameTemplate": "org.apache.tomcat:tomcat", + "datasourceTemplate": "maven" + }, + { + "customType": "regex", + "description": "Update XNAT version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["(^|/)*defaults/main.yml$"], + "matchStrings": ["xnat_version:\\s?(?.*?)\\n"], + "depNameTemplate": "xnatdev/xnat-web", + "datasourceTemplate": "bitbucket-tags", + "versioningTemplate": "regex:(?\\d+).(?\\d+).(?\\d+).(?\\d+)" + }, + { + "customType": "regex", + "description": "Update XNAT-sync plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["xsync-plugin-all-(?.*?).jar"], + "depNameTemplate": "xnatdev/xsync", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT ldap-auth plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["ldap-auth-plugin-(?.*?).jar"], + "depNameTemplate": "xnatx/ldap-auth-plugin", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT Container Service plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["container-service-(?.*?)-fat.jar"], + "depNameTemplate": "xnatdev/container-service", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT batch launch plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["batch-launch-(?.*?).jar"], + "depNameTemplate": "xnatx/xnatx-batch-launch-plugin", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT dax plugin specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["dax-plugin-genProcData-(?.*?).jar"], + "depNameTemplate": "VUIIS/dax", + "datasourceTemplate": "custom.VUIIS-dax" + }, + { + "customType": "regex", + "description": "Update OHIF Viewer plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["ohif-viewer-(?.*?).jar"], + "depNameTemplate": "icrimaginginformatics/ohif-viewer-xnat-plugin", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT ML plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["ml-plugin-(?.*?).jar"], + "depNameTemplate": "xnatx/ml-plugin", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT datasets plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["datasets-plugin-(?.*?).jar"], + "depNameTemplate": "xnatx/datasets-plugin", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT image viewer plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["ximgview-plugin(?.*?).jar"], + "depNameTemplate": "xnatdev/xnat-image-viewer-plugin", + "datasourceTemplate": "bitbucket-tags" + }, + { + "customType": "regex", + "description": "Update XNAT dxm plugin version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["roles/xnat/defaults/main.yml$"], + "matchStrings": ["dxm-settings-plugin-(?.*?).jar"], + "depNameTemplate": "xnatx/xnatx-dxm-settings-plugin", + "datasourceTemplate": "bitbucket-tags", + "versioningTemplate": "regex:(?\\d+).(?\\d+)" + }, + { + "customType": "regex", + "description": "Update XNAT pipeline version specfied in roles/xnat/defaults/main.yml", + "fileMatch": ["(^|/)*defaults/main.yml$"], + "matchStrings": ["xnat_pipeline_version:\\s?(?.*?)\\n"], + "depNameTemplate": "NrgXnat/xnat-pipeline-engine", + "datasourceTemplate": "github-releases" + } + ] }