geekoops-pureftpd/molecule/default/molecule.yml
Felix Niederwanger 88b1306386
Revive the role
Update the role to Leap 15.3 and 15.4 and switch the molecule test from
using foreign images to building the test images using custom
Dockerfiles.
2022-06-27 15:30:31 +02:00

44 lines
907 B
YAML

---
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: leap15_3
image: registry.opensuse.org/opensuse/leap:15.3
dockerfile: Dockerfile.leap15_3
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /run
- /tmp
- name: leap15_4
image: registry.opensuse.org/opensuse/leap:15.4
dockerfile: Dockerfile.leap15_4
command: ${MOLECULE_DOCKER_COMMAND:-"/usr/sbin/init"}
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /run
- /tmp
provisioner:
name: ansible
inventory:
host_vars:
leap15_3:
ftp_dir: "/srv/ftp"
config_firewall: true
leap15_4:
ftp_dir: "/srv/ftp"
config_firewall: true
verifier:
name: testinfra
lint:
name: flake8
lint: |
set -e
yamllint .