Files
ansible-role-common/.drone.yml
2022-03-11 15:10:08 +13:00

32 lines
607 B
YAML

---
kind: pipeline
name: default
steps:
- name: Test with Molecule
image: guisea/ansible-molecule:latest
volumes:
- name: dockersock
path: /var/run
commands:
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
- cd ${DRONE_REPO_NAME}
- ping -4 -c 1 mail.guise.net.nz
- python3 --version
- ansible --version
- molecule --version
- docker info
- molecule test
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}