Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ansible/group_vars/omero-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ zarrreader_jars:
zarrpixelbuffer_jars:
- name: omero-zarr-pixel-buffer
group: com/glencoesoftware/omero
version: "0.4.1"
version: "0.6.0-rc1"

zarrpixelbuffer_dep_jars:
- name: caffeine
Expand All @@ -70,6 +70,9 @@ zarrpixelbuffer_dep_jars:
- name: aws-java-sdk-s3
group: com/amazonaws
version: "1.12.659"
- name: tika-core
group: org/apache/tika
version: "1.28.5"

ice_install_devel: false
ice_install_python: false
Expand Down
17 changes: 17 additions & 0 deletions ansible/idr-omero-readonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,24 @@
force: yes
with_items: "{{ zarrpixelbuffer_dep_jars }}"
notify: restart omero-server

- name: Override microservice JARs (omero-zarr-pixel-buffer)
become: yes
get_url:
url: "{{ glencoe_artifactory_baseurl }}/{{ item.group }}/{{ item.name }}/{{ item.version }}/{{ item.name }}-{{ item.version }}.jar"
dest: "{{ omero_ms_image_region_folder }}/lib/{{ item.name }}.jar"
Copy link
Member

Choose a reason for hiding this comment

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

As mentioned at the weekly IDR meeting, the JARs under the micro-service lib folder are versioned so the existing omero-zarr-pixel-buffer JAR might need to be removed as well to ensure the correct version is picked up at deployment time.

Alternatively https://github.com/ome/omero-ms-image-region could be updated to consume the 0.6.0-rc1 version of omero-zarr-pixel-buffer and cut a release candidate that could be used in these playbooks

Copy link
Member Author

@dominikl dominikl Oct 21, 2025

Choose a reason for hiding this comment

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

Thanks. Yes, I think the alternative approach makes actually more sense than this PR. I'll remove the last commit again.

force: yes
with_items: "{{ zarrpixelbuffer_jars }}"

- name: Override microservice JARs (dependencies of omero-zarr-pixel-buffer)
become: yes
get_url:
url: "{{ maven_artifactory_url }}/{{ item.group }}/{{ item.name }}/{{ item.version }}/{{ item.name }}-{{ item.version }}.jar"
dest: "{{ omero_ms_image_region_folder }}/lib/{{ item.name }}.jar"
force: yes
with_items: "{{ zarrpixelbuffer_dep_jars }}"
notify: restart omero-server

- name: Remove OMERO scripts
become: yes
file:
Expand Down
Loading