switch to new drone syntax
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-01-12 13:46:45 +01:00
parent e880dd7f11
commit a6317fd1cf

View File

@ -1,18 +1,22 @@
pipeline: ---
ansible-latest: kind: pipeline
image: python:2.7 name: default
pull: True
commands:
- pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
group: test
ansible-master: steps:
- name: ansible-latest
image: python:2.7 image: python:2.7
pull: True pull: always
commands: commands:
- pip install ansible ansible-later -q - pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy - git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini - git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
group: test depends_on: [ clone ]
- name: ansible-master
image: python:2.7
pull: always
commands:
- pip install ansible ansible-later -q
- git clone https://gitea.rknet.org/ansible/ansible-later-policy.git ~/policy
- git ls-files *[^LICENSE,.md] | xargs ansible-later -c ~/policy/config.ini
depends_on: [ clone ]