Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Add renovate config for xnat plugins (#14)
Browse files Browse the repository at this point in the history
- renovate all defaults plugin version using custom managers
  • Loading branch information
p-j-smith authored Jan 2, 2024
1 parent 6b9ec3b commit 577e443
Showing 1 changed file with 104 additions and 3 deletions.
107 changes: 104 additions & 3 deletions .renovaterc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,31 @@
"allowedVersions": "<10"
},
{
"description": "MIRSG Ansible roles",
"matchPackagePatterns": ["^mirsg"],
"versioning": "loose"
"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",
Expand All @@ -31,6 +51,87 @@
"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",
Expand Down

0 comments on commit 577e443

Please sign in to comment.