From 92c0aec762b1aa9d9041e3717030c7e1466a46d9 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Mon, 14 Mar 2022 14:42:46 +1300 Subject: [PATCH] .. --- .drone.yml | 208 ++++++++++++++++++++++++++--------------------------- 1 file changed, 104 insertions(+), 104 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7797a2b..1aa83dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,32 +9,32 @@ services: 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 +- 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 @@ -50,32 +50,32 @@ services: 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: centos8 - image: guisea/ansible-molecule:latest - name: Test on centos8 - 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 +- 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: centos8 + image: guisea/ansible-molecule:latest + name: Test on centos8 + 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 @@ -91,32 +91,32 @@ services: 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 +- 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 @@ -132,32 +132,32 @@ services: 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 +- 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