fix drone config
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Robert Kaussow 2019-04-28 16:48:42 +02:00
parent 29511d6830
commit e36018ba4b
2 changed files with 6 additions and 6 deletions

View File

@ -6,9 +6,9 @@ local AnsibleVersions(version="latest", package="ansible") = {
PY_COLORS: 1 PY_COLORS: 1
}, },
commands: [ commands: [
"pip install " + package + " ansible-later -qq", "pip install " + package + " ansible-later~=0.2.0 -qq",
"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,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini" "ansible-later -c ~/policy/config.yml"
], ],
depends_on: [ depends_on: [
"clone", "clone",

View File

@ -11,9 +11,9 @@ steps:
pull: always pull: always
image: python:3.7 image: python:3.7
commands: commands:
- pip install ansible ansible-later -qq - pip install ansible ansible-later~=0.2.0 -qq
- 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,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini" - ansible-later -c ~/policy/config.yml
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on:
@ -23,9 +23,9 @@ steps:
pull: always pull: always
image: python:3.7 image: python:3.7
commands: commands:
- "pip install git+https://github.com/ansible/ansible.git@devel ansible-later -qq" - "pip install git+https://github.com/ansible/ansible.git@devel ansible-later~=0.2.0 -qq"
- 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,molecule,.ini] | xargs ansible-later -c ~/policy/config.ini" - ansible-later -c ~/policy/config.yml
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
depends_on: depends_on: