CI: Bump ansible-lint to <26
Remove yamllint usage - it duplicates what reno lint/ansible-lint do. Change-Id: If8ad229281b2dca565570d651065779c2c871528
This commit is contained in:
@ -36,3 +36,6 @@ skip_list:
|
||||
- command-instead-of-module
|
||||
- ignore-errors
|
||||
- jinja[spacing]
|
||||
- yaml[truthy]
|
||||
- yaml[line-length]
|
||||
- yaml[octal-values]
|
||||
|
16
.yamllint
16
.yamllint
@ -1,16 +0,0 @@
|
||||
---
|
||||
extends: default
|
||||
ignore: |
|
||||
.tox/
|
||||
|
||||
rules:
|
||||
line-length: disable
|
||||
truthy: disable
|
||||
braces:
|
||||
max-spaces-inside: 1
|
||||
comments:
|
||||
require-starting-space: true
|
||||
# Ignore comment validation in globals.yml - we break the
|
||||
# require-starting-space rule.
|
||||
ignore: |
|
||||
etc/kolla/globals.yml
|
@ -1,5 +1,5 @@
|
||||
ansible>=10,<12 # GPLv3
|
||||
ansible-lint>=6.22.0,<7.0.0 # MIT
|
||||
ansible-lint<26 # MIT
|
||||
bandit>=1.1.0 # Apache-2.0
|
||||
bashate>=0.5.1 # Apache-2.0
|
||||
codespell<3 # GPLv2
|
||||
|
5
tox.ini
5
tox.ini
@ -108,7 +108,6 @@ commands =
|
||||
{[testenv:bandit]commands}
|
||||
{[testenv:bashate]commands}
|
||||
{[testenv:j2lint]commands}
|
||||
{[testenv:yamllint]commands}
|
||||
{[testenv:ansible-lint]commands}
|
||||
|
||||
[testenv:pep8]
|
||||
@ -160,7 +159,3 @@ deps = {[testenv:linters]deps}
|
||||
commands =
|
||||
python {toxinidir}/tools/validate-all-file.py
|
||||
ansible-lint -p --exclude tests --exclude roles --exclude etc --exclude zuul.d
|
||||
|
||||
[testenv:yamllint]
|
||||
deps = {[testenv:linters]deps}
|
||||
commands = yamllint -s .
|
||||
|
Reference in New Issue
Block a user