Merge "CI: Bump ansible-core and ansible-lint"
This commit is contained in:
commit
71a828d604
12
.yamllint
12
.yamllint
@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
extends: default
|
|
||||||
ignore: |
|
|
||||||
.tox/
|
|
||||||
|
|
||||||
rules:
|
|
||||||
line-length: disable
|
|
||||||
truthy: disable
|
|
||||||
braces:
|
|
||||||
max-spaces-inside: 1
|
|
||||||
comments:
|
|
||||||
require-starting-space: true
|
|
@ -1,5 +1,5 @@
|
|||||||
# linting
|
# linting
|
||||||
ansible-lint>=6.0.0,<7.0.0 # MIT
|
ansible-lint>=24.0.0,<25.0.0 # MIT
|
||||||
bandit>=1.1.0 # Apache-2.0
|
bandit>=1.1.0 # Apache-2.0
|
||||||
bashate>=0.5.1 # Apache-2.0
|
bashate>=0.5.1 # Apache-2.0
|
||||||
doc8>=0.6.0 # Apache-2.0
|
doc8>=0.6.0 # Apache-2.0
|
||||||
@ -16,4 +16,4 @@ stestr>=1.0.0 # Apache-2.0
|
|||||||
testtools>=1.4.0 # MIT
|
testtools>=1.4.0 # MIT
|
||||||
|
|
||||||
# sanity testing
|
# sanity testing
|
||||||
ansible-core>=2.15.0,<2.16.0 # GPL3
|
ansible-core>=2.16.0,<2.17.0 # GPL3
|
||||||
|
5
tox.ini
5
tox.ini
@ -87,7 +87,6 @@ commands =
|
|||||||
{[testenv:pep8]commands}
|
{[testenv:pep8]commands}
|
||||||
{[testenv:doc8]commands}
|
{[testenv:doc8]commands}
|
||||||
{[testenv:bandit]commands}
|
{[testenv:bandit]commands}
|
||||||
{[testenv:yamllint]commands}
|
|
||||||
{[testenv:ansible-sanity]commands}
|
{[testenv:ansible-sanity]commands}
|
||||||
{[testenv:ansible-lint]commands}
|
{[testenv:ansible-lint]commands}
|
||||||
|
|
||||||
@ -117,10 +116,6 @@ commands =
|
|||||||
deps = {[testenv:linters]deps}
|
deps = {[testenv:linters]deps}
|
||||||
commands = bandit --skip B303 -r plugins tests
|
commands = bandit --skip B303 -r plugins tests
|
||||||
|
|
||||||
[testenv:yamllint]
|
|
||||||
deps = {[testenv:linters]deps}
|
|
||||||
commands = yamllint -s .
|
|
||||||
|
|
||||||
[testenv:ansible-sanity]
|
[testenv:ansible-sanity]
|
||||||
deps = {[testenv:linters]deps}
|
deps = {[testenv:linters]deps}
|
||||||
commands = bash {toxinidir}/tools/run-ansible-sanity.sh {toxinidir}
|
commands = bash {toxinidir}/tools/run-ansible-sanity.sh {toxinidir}
|
||||||
|
Loading…
Reference in New Issue
Block a user