switch to new drone syntax
This commit is contained in:
parent
05a7e30553
commit
15d474ebfb
22
.drone.yml
Normal file
22
.drone.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: ansible-latest
|
||||||
|
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 ]
|
||||||
|
|
||||||
|
- 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 ]
|
Loading…
Reference in New Issue
Block a user