mirror of
https://github.com/GeekOops/geekoops-pureftpd.git
synced 2024-05-19 22:12:23 +00:00
Felix Niederwanger
88b1306386
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.
44 lines
907 B
YAML
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 .
|