From ebe11554d28899dddda004e82ac874d2918810bb Mon Sep 17 00:00:00 2001
From: pwalczysko
Date: Thu, 14 Nov 2024 17:36:22 +0000
Subject: [PATCH] Prepare for full test
---
molecule/ome-demoserver/molecule.yml | 29 ++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/molecule/ome-demoserver/molecule.yml b/molecule/ome-demoserver/molecule.yml
index 9964c028..6569df3c 100644
--- a/molecule/ome-demoserver/molecule.yml
+++ b/molecule/ome-demoserver/molecule.yml
@@ -12,12 +12,34 @@ lint: |
platforms:
- name: ome-demoserver
image: eniocarboni/docker-rockylinux-systemd:9
+ image_version: latest
+ command: /sbin/init
+ privileged: true
+ cgroupns_mode: host
+ tmpfs:
+ - /sys/fs/cgroup
groups:
+ - docker-hosts
+ - omero-py3
- ome-demoservers
provisioner:
name: ansible
playbooks:
converge: ../../omero/ome-demoserver.yml
+ options:
+ v: true
+ diff: true
+ inventory:
+ host_vars:
+ ome-demoserver:
+ postgresql_version: "16"
+ omero_server_selfsigned_certificates: true
+ omero_server_dbhost: localhost
+ omero_server_dbuser: demo
+ omero_server_dbname: omero
+ omero_server_dbpassword: omero
+ omero_server_mail_from: example.com
+ omero_server_mail_host: localhost
lint:
name: ansible-lint
scenario:
@@ -29,5 +51,12 @@ scenario:
# This might be fixed by https://github.com/ansible/molecule/pull/1739
- dependency
- syntax
+ - create
+ - prepare
+ - converge
+ # FIXME: Some tasks are not idempotent
+ # - idempotence
+ - verify
+ # - destroy
verifier:
name: testinfra