ansible-woodpecker-role/.woodpecker.yml

22 lines
523 B
YAML
Raw Normal View History

2021-12-19 23:44:51 +01:00
---
pipeline:
molecule:
2021-12-20 16:58:13 +01:00
image: docker:dind
2021-12-19 23:44:51 +01:00
pull: true
commands:
2021-12-20 16:58:13 +01:00
- sleep 15
2021-12-19 23:44:51 +01:00
- 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
- molecule test
2021-12-20 16:58:13 +01:00
services:
dind:
image: docker:dind
privileged: true