Upgrade python, ansiblelint and yamllint

This commit is contained in:
Yohann D'ANELLO 2020-11-04 18:50:10 +01:00
parent 0daaf14f62
commit d60b75109a

View file

@ -1,5 +1,5 @@
--- ---
image: python:3.6 image: python:3.9
stages: stages:
- lint - lint
@ -7,12 +7,12 @@ stages:
yamllint: yamllint:
stage: lint stage: lint
script: script:
- pip install yamllint==1.15.0 - pip install yamllint==1.25.0
- yamllint -c .yamllint.yml . - yamllint -c .yamllint.yml .
ansible-lint: ansible-lint:
stage: lint stage: lint
script: script:
- pip install ansible-lint==4.0.0 - pip install ansible-lint==4.3.7
- ansible-lint *.yml - ansible-lint *.yml
... ...