linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
104 stars 59 forks source link

ci: tox-lsr 3.4.0 - fix py27 tests; move other checks to py310 #445

Closed richm closed 5 months ago

richm commented 5 months ago

The latest version of virtualenv does not support creating python 2.7 virtualenvs. Change our CI tests to restrict the version of virtualenv<20.22.0 and tox<4.15 for py27 environments

Move pylint, flake8, and black checks to the py310 environment which is currently supported by ansible-core 2.17 and its related checkers such as ansible-lint and ansible-test

pylint now uses ansible-core 2.17 and restricts the version of pylint to 3.1.0 which is the version used by ansible-test 2.17

Remove extends: default for .yamllint.yml. The latest version of ansible-lint will automatically incorporate local yamllint settings unless there is an extends:.

The above changes require some fixes to the role code.

For more information, see https://github.com/linux-system-roles/tox-lsr/pull/168 and https://github.com/linux-system-roles/tox-lsr/pull/170

Signed-off-by: Rich Megginson rmeggins@redhat.com