Skip to content

Commit 10869b7

Browse files
committed
Clean up the code
1 parent f1e0baf commit 10869b7

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

molecule/resources/playbook.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
---
22
- name: Converge
33
hosts: all
4-
tasks:
5-
6-
#- name: install redis
7-
# ansible.builtin.dnf:
8-
# name: redis
9-
# state: present
10-
# become: yes
11-
12-
#- name: disable installed redis service installed on the host
13-
# ansible.builtin.systemd_service:
14-
# name: redis
15-
# state: stopped
16-
# enabled: false
17-
# become: yes
184

195
roles:
206
- role: ome.omero_searchengine

molecule/resources/tests/test_default.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ def test_search_elastic_connection(host):
1616
'curl -I -k -u "elastic:my_password" https://127.0.0.1:9201/image_keyvalue_pair_metadata_1')
1717
assert '200' in out
1818

19-
#https://127.0.0.1:9201/image_keyvalue_pair_metadata_1
20-
#def test_nginx_gateway(host):
21-
# out = host.check_output('curl -XGET http://127.0.0.1:8080/searchengine/api/v1/resources/')
22-
# assert 'OMERO search engine (API V1)' in out
23-
24-
#def test_redis_connection(host):
25-
# out = host.check_output('redis-cli ping')
26-
# assert 'PONG' in out
27-
2819
def test_searchengine_connection(host):
2920
out = host.check_output('curl -XGET http://127.0.0.1:5577/searchengine/api/v1/resources/')
3021
assert 'OMERO search engine (API V1)' in out

templates/adjust_containers_files.sh.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/bin/sh
2+
13
find {{ data_dump_folder }}/{{ default_datasource }}/csv_bff -type d -exec chmod 755 {} \;
24
find {{ data_dump_folder }}/{{ default_datasource }}/csv_bff -type f -exec chmod 644 {} \;
35
chown -R nginx:nginx {{ data_dump_folder }}/{{ default_datasource }}/csv_bff

0 commit comments

Comments
 (0)