This commit is contained in:
2022-03-11 15:10:08 +13:00
parent dc41146319
commit b03d620c53

View File

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