--- - kind: pipeline name: Test on centos7 services: - image: docker:dind name: docker privileged: true volumes: name: dockersock path: /var/run steps: - - commands: - sleep 10 - mkdir ${DRONE_REPO_NAME} - rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME} - cd ${DRONE_REPO_NAME} - molecule test environment: MOLECULE_DISTRO: centos7 image: guisea/ansible-molecule:latest name: Test on centos7 volumes: name: dockersock path: /var/run - image: drillster/drone-email name: notify by email settings: from: drone@guise.net.nz host: mail.guise.net.nz password: from_secret: EMAIL_PASS username: from_secret: EMAIL_USER when: status: - changed - failure type: docker volumes: name: dockersock temp: {} - kind: pipeline name: Test on debian10 services: - image: docker:dind name: docker privileged: true volumes: name: dockersock path: /var/run steps: - - commands: - sleep 10 - mkdir ${DRONE_REPO_NAME} - rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME} - cd ${DRONE_REPO_NAME} - molecule test environment: MOLECULE_DISTRO: debian10 image: guisea/ansible-molecule:latest name: Test on debian10 volumes: name: dockersock path: /var/run - image: drillster/drone-email name: notify by email settings: from: drone@guise.net.nz host: mail.guise.net.nz password: from_secret: EMAIL_PASS username: from_secret: EMAIL_USER when: status: - changed - failure type: docker volumes: name: dockersock temp: {} - kind: pipeline name: Test on debian11 services: - image: docker:dind name: docker privileged: true volumes: name: dockersock path: /var/run steps: - - commands: - sleep 10 - mkdir ${DRONE_REPO_NAME} - rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME} - cd ${DRONE_REPO_NAME} - molecule test environment: MOLECULE_DISTRO: debian11 image: guisea/ansible-molecule:latest name: Test on debian11 volumes: name: dockersock path: /var/run - image: drillster/drone-email name: notify by email settings: from: drone@guise.net.nz host: mail.guise.net.nz password: from_secret: EMAIL_PASS username: from_secret: EMAIL_USER when: status: - changed - failure type: docker volumes: name: dockersock temp: {}