Try cgroup volume
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
e77b3e80fb
commit
d6bae1ae80
|
@ -7,9 +7,17 @@ steps:
|
|||
- name: test
|
||||
image: debian:11
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: cgroup
|
||||
- path: /sys/fs/cgroup
|
||||
commands:
|
||||
- apt update && apt install -y dbus ansible podman python3-pip
|
||||
- python3 -m pip install "molecule[lint,podman]"
|
||||
- echo "[registries.search]\nregistries = ['docker.io']" >> /etc/containers/registries.conf
|
||||
- echo "[engine]\nevents_logger = 'file'" >> /etc/containers/containers.conf
|
||||
- molecule --debug test
|
||||
|
||||
volumes:
|
||||
- name: cgroup
|
||||
host:
|
||||
path: /sys/fs/cgroup
|
||||
|
|
Loading…
Reference in a new issue