test default

This commit is contained in:
2022-03-11 15:29:57 +13:00
parent 9524607053
commit d3b7f59d42

View File

@@ -1,21 +1,16 @@
---
kind: pipeline
name: molecule_run
name: default
steps:
- name: test
image: guisea/ansible-molecule:latest
image: docker:dind
volumes:
- name: dockersock
path: /var/run
commands:
- mkdir ${DRONE_REPO_NAME}
- rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}
- cd ${DRONE_REPO_NAME}
- python3 --version
- ansible --version
- molecule --version
- docker info
- molecule test
- sleep 5 # give docker enough time to start
- docker info
services:
- name: docker
@@ -27,4 +22,4 @@ services:
volumes:
- name: dockersock
temp: {}
temp: {}