Skip to content

Commit

Permalink
Update from template
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Dec 19, 2024
1 parent 4d2a025 commit 618eb05
Show file tree
Hide file tree
Showing 18 changed files with 164 additions and 145 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: links

on:
push:
branches:
- main
- renovate/**
pull_request:

jobs:
links:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Check links
uses: UCL-MIRSG/.github/actions/links@1287e3a2d7a0a513066b1b04d3d2814b44e96ac9 # v0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Add issue to project
name: Manage issues on the projects board

on:
issues:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
144 changes: 0 additions & 144 deletions .renovaterc.json

This file was deleted.

144 changes: 144 additions & 0 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["github>UCL-MIRSG/.github//renovate/default-config.json5"],
packageRules: [
{
description: "Check Maven Central for updates to Tomcat 9",
matchPackageNames: ["org.apache.tomcat:tomcat"],
allowedVersions: "<10",
},
{
description: "Update XNAT and associated plugins at the same time",
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",
versioning: "loose",
},
],
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 specified in playbooks/group_vars/xnat.yml",
fileMatch: ["(^|/)*xnat.yml$"],
matchStrings: ["tomcat_version:\\s?(?<currentValue>.*?)\\n"],
depNameTemplate: "org.apache.tomcat:tomcat",
datasourceTemplate: "maven",
},
{
customType: "regex",
description: "Update XNAT version specified in roles/xnat/defaults/main.yml",
fileMatch: ["(^|/)*defaults/main.yml$"],
matchStrings: ["xnat_version:\\s?(?<currentValue>.*?)\\n"],
depNameTemplate: "xnatdev/xnat-web",
datasourceTemplate: "bitbucket-tags",
},
{
customType: "regex",
description: "Update XNAT-sync plugin version specified 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 specified 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 specified 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 specified 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 specified 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 specified 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 specified 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 specified 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 specified 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 specified 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",
},
{
customType: "regex",
description: "Update XNAT pipeline version specified 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 618eb05

Please sign in to comment.