Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit db341e9

Browse files
authored
Merge pull request #226 from staticdev/tests/molecule-podman
Add podman tests
2 parents 62f94e0 + 4e9576f commit db341e9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
6868
- name: Install test dependencies
6969
run: |
70-
python3 -m pip install --constraint=.github/workflows/constraints.txt ansible molecule[docker] docker
70+
python3 -m pip install --constraint=.github/workflows/constraints.txt ansible 'molecule-plugins[podman]' podman
7171
7272
- name: Run Molecule tests
7373
run: molecule test

molecule/default/molecule.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ dependency:
44
options:
55
role-file: requirements.yml
66
driver:
7-
name: docker
7+
name: podman
88
platforms:
99
- name: instance
10-
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
11-
command: ${MOLECULE_DOCKER_COMMAND:-""}
10+
image: "docker.io/geerlingguy/docker-${MOLECULE_DISTRO:-debian11}-ansible:latest"
11+
command: ${MOLECULE_COMMAND:-""}
1212
volumes:
1313
- /sys/fs/cgroup:/sys/fs/cgroup:ro
1414
privileged: true

requirements.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
roles:
33
- name: staticdev.pyenv
4-
version: 2.8.2
4+
version: 2.9.0

0 commit comments

Comments
 (0)