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