Merge pull request 'Fix and update CI' (#18) from fix_and_update_ci into master
continuous-integration/drone/push Build is failing Details

Reviewed-on: Aurore/ansible#18
pull/19/head
otthorn 3 years ago
commit 96be03ca22

@ -1,5 +1,5 @@
skip_list:
- '301'
- 'no-changed-when'
warn_list:
- experimental # all rules tagged as experimental

@ -7,13 +7,14 @@ steps:
- name: yamllint
image: python:3.9-alpine
commands:
- pip install yamllint==1.25.0
- pip install "yamllint>=1.26.0,<2.0"
- yamllint -c .yamllint.yml .
- name: ansible-lint
image: python:3.9-alpine
commands:
- apk add --no-cache gcc libc-dev libffi-dev openssl-dev
- pip install ansible-lint==4.3.7
- apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo
- pip install "ansible-lint==5.0.0"
- pip install "ansible>=2.10,<2.11"
- ansible-lint
...

@ -1,19 +0,0 @@
---
image: python:3.9-alpine
stages:
- lint
yamllint:
stage: lint
script:
- pip install yamllint==1.25.0
- yamllint -c .yamllint.yml .
ansible-lint:
stage: lint
script:
- apk add gcc libc-dev libffi-dev openssl-dev
- pip install ansible-lint==4.3.7
- ansible-lint *.yml
...
Loading…
Cancel
Save