This commit is contained in:
parent
bc7343a1f3
commit
1df141c48d
12
.drone.yml
12
.drone.yml
@ -54,7 +54,7 @@ steps:
|
||||
image: lerentis/ansible:debian-7
|
||||
commands:
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
|
||||
depends_on:
|
||||
- "prepare_workspace"
|
||||
|
||||
@ -62,7 +62,7 @@ steps:
|
||||
image: lerentis/ansible:ubuntu-16.04
|
||||
commands:
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
|
||||
depends_on:
|
||||
- "prepare_workspace"
|
||||
|
||||
@ -70,7 +70,7 @@ steps:
|
||||
image: lerentis/ansible:ubuntu-18.04
|
||||
commands:
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
|
||||
depends_on:
|
||||
- "prepare_workspace"
|
||||
|
||||
@ -78,7 +78,7 @@ steps:
|
||||
image: lerentis/ansible:ubuntu-20.04
|
||||
commands:
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
|
||||
depends_on:
|
||||
- "prepare_workspace"
|
||||
|
||||
@ -116,7 +116,7 @@ steps:
|
||||
commands:
|
||||
- pacman -Sy python2 glibc --noconfirm
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
|
||||
depends_on:
|
||||
- "prepare_workspace"
|
||||
|
||||
@ -153,7 +153,7 @@ steps:
|
||||
image: lerentis/ansible:centos-7
|
||||
commands:
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml --syntax-check
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "CI_RUN=true"
|
||||
- ansible-playbook -i tests/inventory tests/test-playbook.yml -e "ci_run=yes" --skip-tags "daemon"
|
||||
depends_on:
|
||||
- "prepare_workspace"
|
||||
|
||||
|
@ -24,4 +24,5 @@
|
||||
state: stopped
|
||||
enabled: no
|
||||
with_items: stop_service_list
|
||||
when: "CI_RUN != true"
|
||||
tags: [ 'daemon' ]
|
||||
when: ci_run is not defined
|
||||
|
Loading…
Reference in New Issue
Block a user