From 8ae927a02274027bcee3a5cb35366262c87c379a Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 9 Oct 2024 10:54:08 +0200 Subject: [PATCH] CI: Bump ansible-core and ansible-lint Change-Id: I08347655533dfb49d6ecc68ec6ab415302978f2e --- .yamllint | 12 ------------ test-requirements.txt | 4 ++-- tox.ini | 5 ----- 3 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 .yamllint diff --git a/.yamllint b/.yamllint deleted file mode 100644 index 38d1f55..0000000 --- a/.yamllint +++ /dev/null @@ -1,12 +0,0 @@ ---- -extends: default -ignore: | - .tox/ - -rules: - line-length: disable - truthy: disable - braces: - max-spaces-inside: 1 - comments: - require-starting-space: true diff --git a/test-requirements.txt b/test-requirements.txt index 9a51dfa..e9d6d88 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,5 @@ # 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 bashate>=0.5.1 # 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 # sanity testing -ansible-core>=2.15.0,<2.16.0 # GPL3 +ansible-core>=2.16.0,<2.17.0 # GPL3 diff --git a/tox.ini b/tox.ini index 69526a3..613319c 100644 --- a/tox.ini +++ b/tox.ini @@ -87,7 +87,6 @@ commands = {[testenv:pep8]commands} {[testenv:doc8]commands} {[testenv:bandit]commands} - {[testenv:yamllint]commands} {[testenv:ansible-sanity]commands} {[testenv:ansible-lint]commands} @@ -117,10 +116,6 @@ commands = deps = {[testenv:linters]deps} commands = bandit --skip B303 -r plugins tests -[testenv:yamllint] -deps = {[testenv:linters]deps} -commands = yamllint -s . - [testenv:ansible-sanity] deps = {[testenv:linters]deps} commands = bash {toxinidir}/tools/run-ansible-sanity.sh {toxinidir}