Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove DAX plugin #163

Merged
merged 9 commits into from
Feb 4, 2025
2 changes: 1 addition & 1 deletion .github/workflows/molecule-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:
jobs:
molecule-docker:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we run into errors running sudo commands on Rocky 9 containers if we use ubuntu-latest

strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-firewalld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-firewalld:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-install-omero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
molecule-install-omero:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
MOLECULE_RUN_TAGS: all
PY_COLORS: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-install-xnat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:

jobs:
molecule-install-xnat:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-java:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-monitoring:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-nginx:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-postgresql:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-postgresql_upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
molecule-postgresql-upgrade:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-provision.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-provision:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-provision_accounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-provision-accounts:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-python:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/molecule-tomcat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
molecule-tomcat:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: true
matrix:
Expand Down
62 changes: 34 additions & 28 deletions .renovaterc.json5
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"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",
"xnatdev/container-service",
"xnatx/xnatx-batch-launch-plugin",
"VUIIS/dax",
Comment on lines +22 to +24
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved these to the bottom as they're no longer in the default list of plugins (they're only used in testing with molecule)

],
groupName: "xnat",
versioning: "loose",
Expand All @@ -46,7 +46,7 @@
"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 ])}}',
'{"releases": $.{"version": $match(name, /(\\d+\\.)?(\\d+\\.)?(\\*|\\d+)/ ).match }}',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing the v in the version name (i.e. 1.4.2 rather than v1.4.1) to match the format of currentValue

],
},
},
Expand Down Expand Up @@ -83,30 +83,6 @@
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",
Expand Down Expand Up @@ -155,5 +131,35 @@
depNameTemplate: "NrgXnat/xnat-pipeline-engine",
datasourceTemplate: "github-releases",
},
{
customType: "regex",
description: "Update XNAT Container Service plugin version used for testing with molecule",
fileMatch: [
"playbooks/molecule/resources/xnat/inventory/group_vars/all/server.yml$",
],
matchStrings: ["container-service-(?<currentValue>.*?)-fat.jar"],
depNameTemplate: "xnatdev/container-service",
datasourceTemplate: "bitbucket-tags",
},
{
customType: "regex",
description: "Update XNAT batch launch plugin version used for testing with molecule",
fileMatch: [
"playbooks/molecule/resources/xnat/inventory/group_vars/all/server.yml$",
],
matchStrings: ["batch-launch-(?<currentValue>.*?).jar"],
depNameTemplate: "xnatx/xnatx-batch-launch-plugin",
datasourceTemplate: "bitbucket-tags",
},
{
customType: "regex",
description: "Update XNAT dax plugin used for testing with molecule",
fileMatch: [
"playbooks/molecule/resources/xnat/inventory/group_vars/all/server.yml$",
],
matchStrings: ["dax-plugin-genProcData-(?<currentValue>.*?).jar"],
depNameTemplate: "VUIIS/dax",
datasourceTemplate: "custom.VUIIS-dax",
},
],
}
2 changes: 2 additions & 0 deletions molecule_configs/centos7_base_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ provisioner:
verify: ../resources/verify.yml
env:
ANSIBLE_VERBOSITY: "1"
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../../:~/.ansible/collections

verifier:
name: ansible
Expand Down
2 changes: 2 additions & 0 deletions molecule_configs/rocky9_base_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ provisioner:
verify: ../resources/verify.yml
env:
ANSIBLE_VERBOSITY: "1"
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../../:~/.ansible/collections

verifier:
name: ansible
Expand Down
2 changes: 2 additions & 0 deletions playbooks/molecule/centos7_monitoring/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ provisioner:
verify: ../resources/monitoring/verify.yml
env:
ANSIBLE_VERBOSITY: "1"
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../:~/.ansible/collections

verifier:
name: ansible
Expand Down
2 changes: 2 additions & 0 deletions playbooks/molecule/centos7_xnat/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ provisioner:
verify: ../resources/xnat/verify.yml
env:
ANSIBLE_VERBOSITY: 1
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../:~/.ansible/collections

lint: |
set -e
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@ xnat_config:
site_name: MIRSG_XNAT
site_description: <h1>MIRSG XNAT</h1><p>A test instance of XNAT.
admin_password: "{{ vault_admin_password }}"

xnat_server_specific_plugin_urls:
- https://api.bitbucket.org/2.0/repositories/xnatdev/container-service/downloads/container-service-3.6.2-fat.jar
- https://api.bitbucket.org/2.0/repositories/xnatx/xnatx-batch-launch-plugin/downloads/batch-launch-0.7.0.jar
- https://github.com/VUIIS/dax/raw/main/misc/xnat-plugins/dax-plugin-genProcData-1.4.2.jar
2 changes: 2 additions & 0 deletions playbooks/molecule/rocky8_omero/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ provisioner:
verify: ../resources/omero/verify.yml
env:
ANSIBLE_VERBOSITY: "1"
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../:~/.ansible/collections

verifier:
name: ansible
Expand Down
2 changes: 2 additions & 0 deletions playbooks/molecule/rocky9_monitoring/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ provisioner:
verify: ../resources/monitoring/verify.yml
env:
ANSIBLE_VERBOSITY: "1"
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../:~/.ansible/collections

verifier:
name: ansible
Expand Down
2 changes: 2 additions & 0 deletions playbooks/molecule/rocky9_xnat/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ provisioner:
verify: ../resources/xnat/verify.yml
env:
ANSIBLE_VERBOSITY: "1"
ANSIBLE_ROLES_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../roles/:~/.ansible/roles
ANSIBLE_COLLECTIONS_PATH: ${MOLECULE_SCENARIO_DIRECTORY}/../../../../../../:~/.ansible/collections

verifier:
name: ansible
Expand Down
1 change: 0 additions & 1 deletion roles/xnat/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ xnat_plugin_urls:
- https://api.bitbucket.org/2.0/repositories/xnatx/ldap-auth-plugin/downloads/ldap-auth-plugin-1.1.0.jar
- https://api.bitbucket.org/2.0/repositories/xnatdev/container-service/downloads/container-service-3.6.2-fat.jar
- https://api.bitbucket.org/2.0/repositories/xnatx/xnatx-batch-launch-plugin/downloads/batch-launch-0.7.0.jar
- https://github.com/VUIIS/dax/raw/main/misc/xnat-plugins/dax-plugin-genProcData-1.4.2.jar
- https://api.bitbucket.org/2.0/repositories/icrimaginginformatics/ohif-viewer-xnat-plugin/downloads/ohif-viewer-3.7.0-XNAT-1.8.10.jar
- https://api.bitbucket.org/2.0/repositories/xnatx/ml-schema-plugin/downloads/ml-schema-plugin-1.0.0.jar
- https://api.bitbucket.org/2.0/repositories/xnatx/datasets-schema-plugin/downloads/datasets-schema-plugin-1.0.0.jar
Expand Down
Loading