mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-22 21:21:20 +01:00
Update tests for optimum efficiency.
This commit is contained in:
parent
705983ae63
commit
b235d4165f
@ -7,15 +7,12 @@ env:
|
||||
- ROLE_NAME: php
|
||||
matrix:
|
||||
- MOLECULE_DISTRO: centos7
|
||||
MOLECULE_DOCKER_COMMAND: /usr/lib/systemd/systemd
|
||||
- MOLECULE_DISTRO: ubuntu1804
|
||||
- MOLECULE_DISTRO: ubuntu1604
|
||||
- MOLECULE_DISTRO: ubuntu1404
|
||||
MOLECULE_DOCKER_COMMAND: /sbin/init
|
||||
- MOLECULE_DISTRO: debian9
|
||||
|
||||
- MOLECULE_DISTRO: centos7
|
||||
MOLECULE_DOCKER_COMMAND: /usr/lib/systemd/systemd
|
||||
MOLECULE_PLAYBOOK: playbook-source.yml
|
||||
|
||||
install:
|
||||
|
@ -9,8 +9,10 @@ lint:
|
||||
config-file: molecule/default/yaml-lint.yml
|
||||
platforms:
|
||||
- name: instance
|
||||
image: geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
|
||||
command: ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}
|
||||
image: "geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible:latest"
|
||||
command: ${MOLECULE_DOCKER_COMMAND:-""}
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||||
privileged: true
|
||||
pre_build_image: true
|
||||
provisioner:
|
||||
|
Loading…
Reference in New Issue
Block a user