1
0
Fork 0

Rework to make systemd start
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Daniele Tricoli 2021-09-11 19:54:04 +02:00
parent 5ae198dfad
commit 3e0bbbdd5c
1 changed files with 8 additions and 1 deletions

View File

@ -4,16 +4,23 @@ type: docker
name: default
steps:
- name: test
- name: start-systemd
image: jrei/systemd-debian:11
privileged: true
detach: true
# NOTE: It's important to not add a commands section since it prevents
# systemd from starting.
volumes:
- name: cgroup
path: /sys/fs/cgroup
- name: test
image: jrei/systemd-debian:11
commands:
- apt update && apt install -y ansible python3-pip
- python3 -m pip install "molecule[lint]"
- molecule --debug test
volumes:
- name: cgroup
host: