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

[pull] master from ome:master #40

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
999c499
Point out that the playbooks work on CentOS 7 only, remove ome-ansibl…
pwalczysko Aug 23, 2024
adc782f
Merge pull request #376 from pwalczysko/fix-readme
joshmoore Aug 26, 2024
feec0b3
Adjust demo playbook,requirements.yml, delete the rest, adjust README
pwalczysko Aug 26, 2024
c1461fe
Adjust the demo email message for websockets
pwalczysko Nov 18, 2024
44efe72
Bump versions server,web,figure,tagsearch
pwalczysko Nov 18, 2024
25533d4
Pin role versions cf. Seb's comment
pwalczysko Nov 18, 2024
efd4d1f
Rename omero folder to playbooks
pwalczysko Nov 18, 2024
98f4036
Add tests
pwalczysko Nov 20, 2024
07c606d
Reformat requirements.yml
pwalczysko Nov 20, 2024
2c28f48
Add tests
pwalczysko Nov 19, 2024
ef36d3c
Implement changes of ssl protocol and ciphers
pwalczysko Nov 20, 2024
fee1fde
Bump to v5 cf. J-M's comment
pwalczysko Nov 26, 2024
cbd713d
Merge pull request #379 from pwalczysko/only-demo-on-prod-playbooks
pwalczysko Nov 26, 2024
05580ce
Bump iviewer 0.15.0
will-moore Nov 26, 2024
1bc8e6e
Fix cd playbooks in README
will-moore Nov 27, 2024
4d7c2f6
Merge pull request #380 from will-moore/bump_iviewer_0.15.0
pwalczysko Nov 29, 2024
cab5ad8
Bump omero-figure 7.2.0
will-moore Dec 16, 2024
1f622f2
Merge pull request #382 from will-moore/bump_figure_7.2.0
pwalczysko Dec 16, 2024
19c0dfb
Adjust protocols and ciphers as per workshop&outreach
pwalczysko Dec 13, 2024
f806daf
Remove unused jinja files for sls-gallery and learning
pwalczysko Dec 13, 2024
02723b4
Introduce nginx_version: 1.26.2 variable in demo playbook
pwalczysko Dec 13, 2024
9005c5f
Bump web and server on demo
pwalczysko Dec 16, 2024
57171f3
Change the target owner of the figure_scripts dir to be omero-server
pwalczysko Dec 16, 2024
c01729a
Merge pull request #381 from pwalczysko/demo-web
jburel Dec 17, 2024
f61fe85
Bump omero-figure 7.2.1
will-moore Jan 10, 2025
b4890db
Merge pull request #383 from ome/bump_figure_7.2.1
pwalczysko Jan 10, 2025
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
13 changes: 6 additions & 7 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,33 @@ on:
jobs:

list-scenarios:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.listscenarios.outputs.scenarios }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: listscenarios
uses: ome/action-ansible-molecule-list-scenarios@main

test:
name: Test
needs:
- list-scenarios
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
# Keep running so we can see if other tests pass
fail-fast: false
matrix:
scenario: ${{fromJson(needs.list-scenarios.outputs.matrix)}}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.9'
- name: Install Ansible & Molecule
run: |
pip install "ansible<8" "ansible-lint<6.13" flake8
pip install "molecule<5" "ansible-compat<4"
pip install molecule-plugins[docker] pytest-testinfra
pip3.8 install jmespath
- name: Run molecule
run: molecule test -s "${{ matrix.scenario }}"
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ OME production services playbooks
=================================

These playbooks encapsulate the running of various production servers run by the OME team.

At the moment, only the `ome-demoserver.yml` playbook is available here. This is a playbook for OMERO.demo server on https://demo.openmicroscopy.org OMERO.server and OMERO.web. You can read more about this [OMERO.demo server on our website](https://www.openmicroscopy.org/explore/).

We are in the process of adding more OME team's production playbooks here.

If you are looking for examples of running your own production OMERO.server see

https://github.com/ome/omero-deployment-examples
Expand All @@ -10,13 +15,20 @@ If you are looking for examples of running your own production OMERO.server see
Details
-------

- Install `Ansible` and dependencies using the [ome-ansible-molecule package](https://pypi.org/project/ome-ansible-molecule/).
- Install `Ansible` >2.10
- Install required roles: `ansible-galaxy install -r requirements.yml`
- Run the [`site.yml` playbook](site.yml).
- Run the `ome-demoserver.yml` playbook:

```
cd playbooks
ansible-playbook --ask-become --become -i $PATH/TO/INVENTORY ome-demoserver.yml -l $YOUR-HOST-ADDRESS-OR-IP --diff
```


For details of individual playbooks see the comments in [`site.yml`](site.yml).

Testing
-------

All server playbooks have a corresponding [molecule](https://molecule.readthedocs.io/) test scenario under [`molecule`](molecule).
We test the playbooks here on Rocky Linux 9 platform via [Ansible Molecule](https://molecule.readthedocs.io/), see test scenarios under [`molecule`](molecule).

The main components of the playbooks (roles) are being independently tested on both Rocky Linux 9 and Ubuntu 22.04. See e.g. [ome.omero_server role](https://github.com/ome/ansible-role-omero-server/tree/master/molecule).
24 changes: 0 additions & 24 deletions Vagrantfile

This file was deleted.

2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[defaults]
# Galaxy roles
roles_path = ./vendor
roles_path = ./playbooks/roles

# These tend to be annoying.
retry_files_enabled = False
36 changes: 0 additions & 36 deletions bootstrap/playbook.yml

This file was deleted.

17 changes: 0 additions & 17 deletions k8s/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions k8s/bootstrap/playbook.yml

This file was deleted.

6 changes: 0 additions & 6 deletions k8s/prerequisites/playbook.yml

This file was deleted.

28 changes: 0 additions & 28 deletions molecule/bootstrap/molecule.yml

This file was deleted.

22 changes: 0 additions & 22 deletions molecule/docker-prod/Dockerfile.j2

This file was deleted.

19 changes: 0 additions & 19 deletions molecule/docker-prod/converge.yml

This file was deleted.

56 changes: 0 additions & 56 deletions molecule/docker-prod/molecule.yml

This file was deleted.

22 changes: 0 additions & 22 deletions molecule/docker-prod/prepare.yml

This file was deleted.

39 changes: 0 additions & 39 deletions molecule/docker-prod/tests/test_default.py

This file was deleted.

Loading