Try to delagate on the same container we create
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
997b1dd8d3
commit
788d8f4d58
14
.drone.yml
14
.drone.yml
|
@ -5,15 +5,9 @@ name: default
|
|||
|
||||
steps:
|
||||
- name: test
|
||||
image: docker:stable-dind
|
||||
image: debian:11
|
||||
privileged: true
|
||||
commands:
|
||||
- apk add --no-cache
|
||||
python3 python3-dev py3-pip gcc git curl build-base
|
||||
autoconf automake py3-cryptography linux-headers
|
||||
musl-dev libffi-dev openssl-dev openssh
|
||||
- docker info
|
||||
- python3 --version
|
||||
- python3 -m pip install ansible molecule[docker]
|
||||
- ansible --version
|
||||
- molecule --version
|
||||
- apt update && apt install -y ansible python3-pip
|
||||
- python3 -m pip install "molecule[lint]"
|
||||
- molecule --debug test
|
||||
|
|
|
@ -5,9 +5,13 @@ dependency:
|
|||
name: galaxy
|
||||
enabled: false
|
||||
driver:
|
||||
name: podman
|
||||
name: delegated
|
||||
options:
|
||||
managed: false
|
||||
ansible_connection_options:
|
||||
ansible_connection: local
|
||||
platforms:
|
||||
- name: podman-in-docker
|
||||
- name: instance
|
||||
image: jrei/systemd-debian:11
|
||||
command: /lib/systemd/systemd
|
||||
privileged: true
|
||||
|
|
Loading…
Reference in New Issue