Skip to content

Commit

Permalink
Update the renovate config
Browse files Browse the repository at this point in the history
  • Loading branch information
drmatthews committed Jan 5, 2024
1 parent 14dcdaa commit 9894cb6
Showing 1 changed file with 141 additions and 1 deletion.
142 changes: 141 additions & 1 deletion .renovaterc.json
Original file line number Diff line number Diff line change
@@ -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?(?<currentValue>.*?)\\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?(?<currentValue>.*?)\\n"],
"depNameTemplate": "xnatdev/xnat-web",
"datasourceTemplate": "bitbucket-tags",
"versioningTemplate": "regex:(?<major>\\d+).(?<minor>\\d+).(?<build>\\d+).(?<revision>\\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-(?<currentValue>.*?).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-(?<currentValue>.*?).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-(?<currentValue>.*?)-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-(?<currentValue>.*?).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-(?<currentValue>.*?).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-(?<currentValue>.*?).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-(?<currentValue>.*?).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-(?<currentValue>.*?).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(?<currentValue>.*?).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-(?<currentValue>.*?).jar"],
"depNameTemplate": "xnatx/xnatx-dxm-settings-plugin",
"datasourceTemplate": "bitbucket-tags",
"versioningTemplate": "regex:(?<major>\\d+).(?<minor>\\d+)"
},
{
"customType": "regex",
"description": "Update XNAT pipeline version specfied in roles/xnat/defaults/main.yml",
"fileMatch": ["(^|/)*defaults/main.yml$"],
"matchStrings": ["xnat_pipeline_version:\\s?(?<currentValue>.*?)\\n"],
"depNameTemplate": "NrgXnat/xnat-pipeline-engine",
"datasourceTemplate": "github-releases"
}
]
}

0 comments on commit 9894cb6

Please sign in to comment.