From 9a8d4f391bff122a9cd4e1f3c3371f55f563ba91 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 12 Jan 2019 13:51:06 +0100 Subject: [PATCH] switch to new drone syntax --- .drone.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6543d45..289d224 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,18 +1,22 @@ -pipeline: - ansible-latest: - image: python:2.7 - 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 +--- +kind: pipeline +name: default - ansible-master: +steps: + - name: ansible-latest image: python:2.7 - pull: True + 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 - 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 ]