Skip to content

Commit

Permalink
⬆️ Update mantium to pass tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anarion80 committed Sep 7, 2024
1 parent ec12543 commit a2c416c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions roles/mantium/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ mantium_dashboard_memory: 1g
# docker
mantium_api_container_name: mantium-api
mantium_api_image_name: ghcr.io/diogovalentte/mantium-api
mantium_api_image_version: "v0.3.4"
mantium_api_image_version: latest
mantium_db_container_name: mantium-db
mantium_db_image_name: postgres
mantium_db_image_version: 16-alpine
mantium_dashboard_container_name: mantium-dashboard
mantium_dashboard_image_name: ghcr.io/diogovalentte/mantium-dashboard
mantium_dashboard_image_version: "v0.3.4"
mantium_dashboard_image_version: latest
mantium_user_id: "1000"
mantium_group_id: "1000"

Expand Down
10 changes: 10 additions & 0 deletions roles/mantium/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
---
platforms:
- name: instance
image: geerlingguy/docker-ubuntu2204-ansible:latest
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp:rw
privileged: true
pre_build_image: true
provisioner:
inventory:
group_vars:
all:
mantium_enabled: true
mantium_data_directory: "/tmp"
2 changes: 1 addition & 1 deletion roles/mantium/molecule/default/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ansible.builtin.include_vars:
file: ../../defaults/main.yml

- name: Get mantium dbp container state
- name: Get mantium db container state
community.docker.docker_container:
name: "{{ mantium_db_container_name }}"
register: result_db
Expand Down

0 comments on commit a2c416c

Please sign in to comment.