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

Deploy ms image region #430

Merged
merged 7 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
10 changes: 10 additions & 0 deletions ansible/group_vars/omeroreadonly-hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ idr_omero_web_user_dropdown: false
# Set this to 'ro' to mount /data/BioFormatsCache on read-only servers as
# read-only, default is 'rw'
# idr_bioformatscache_readwrite:

# MS variables

omero_ms_image_region_update_nginx: true
omero_ms_image_region_db_url: {{ omero_db_host_ansible }}
sbesson marked this conversation as resolved.
Show resolved Hide resolved
omero_ms_image_region_db_name: idr
omero_ms_image_region_db_username: omeroreadonly
omero_ms_image_region_db_pass: {{ omero_server_dbpassword }}
sbesson marked this conversation as resolved.
Show resolved Hide resolved
omero_data_dir: /data/OMERO
omero_ms_image_region_session_id: sessionid_{{ idr_environment | default('idr') }}
sbesson marked this conversation as resolved.
Show resolved Hide resolved
12 changes: 12 additions & 0 deletions ansible/idr-omero-readonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,3 +229,15 @@
path: "{{ omero_common_basedir }}/server/OMERO.server/lib/scripts/omero"
state: absent
notify: restart omero-server

# deploy ms
# This will modify the omero web nginx configuration file
# It should be executed after running idr-omero-web.yml
# as it is in idr-01-install-idr.yml
- hosts: "{{ idr_environment | default('idr') }}-omeroreadonly-hosts"
become: true

roles:
- role: ome.omero_ms_image_region

environment: "{{ idr_ANSIBLE_ENVIRONMENT_VARIABLES | default({}) }}"
4 changes: 4 additions & 0 deletions ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@
- src: ome.versioncontrol_utils
version: 1.1.0

# this should be updated after merging the PRs and publich the role
- name: ome.omero_ms_image_region
src: https://github.com/khaledk2/ansible-role-omero-ms-image-region/
version: new_ms_release
Copy link
Member

Choose a reason for hiding this comment

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

For the prod122 update we can certainly use the in-progress version but for future deployments this role will need to be released in order to merge this step


######################################################################
# External IDR roles
Expand Down
Loading