You've already forked ansible-role-common
..
This commit is contained in:
47
.drone.yml
47
.drone.yml
@@ -3,29 +3,30 @@ 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
|
- python3 --version
|
||||||
- ansible --version
|
- ansible --version
|
||||||
- molecule --version
|
- molecule --version
|
||||||
- molecule test
|
- molecule test
|
||||||
- name: notify by email
|
|
||||||
image: drillster/drone-email
|
- name: notify by email
|
||||||
host: mail.guise.net.nz
|
image: drillster/drone-email
|
||||||
username:
|
host: mail.guise.net.nz
|
||||||
from_secret: EMAIL_USER
|
username:
|
||||||
password:
|
from_secret: EMAIL_USER
|
||||||
from_secret: EMAIL_PASS
|
password:
|
||||||
from: drone@guise.net.nz
|
from_secret: EMAIL_PASS
|
||||||
when:
|
from: drone@guise.net.nz
|
||||||
status: [ changed, failure ]
|
when:
|
||||||
|
status: [ changed, failure ]
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
|||||||
Reference in New Issue
Block a user