mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
project: upgrade test dependencies and drop ansible-core 2.11 (#10034)
Molecule 5.0 require ansible-core 2.12.10. So this commit we update ansible-core from 2.12.5 to 2.12.10. We also drop supporting two ansible-core version. Also we now use the "oldest" still supported ansible-core version as both 2.11 is EOL and not supported by molecule. tests/molecule: remove linting in molecule to support molecule 5 tests/molecule: remove role name check for molecule 5 support Kubespray doesn't use ansible galaxy style naming so we have to disable that check. contrib/inventory_builder: fix tox.ini for tox4 tests/molecule: fix get_playbook in testinfra tests tests: upgrade most tests requirements Exclude ansible-lint for now, I will do that in a separate PR. tests/molecule: force kvm driver option If we don't do this it fallbacks to qemu emulated on our CI for some reasons. Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@proton.ch>
This commit is contained in:
committed by
GitHub
parent
b7fa2d7b87
commit
edc73bc3c8
@@ -1 +0,0 @@
|
||||
requirements-2.12.txt
|
||||
11
tests/requirements.txt
Normal file
11
tests/requirements.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
-r ../requirements.txt
|
||||
ansible-lint==5.4.0
|
||||
apache-libcloud==3.7.0
|
||||
ara[server]==1.6.1
|
||||
dopy==0.3.7
|
||||
molecule==5.0.1
|
||||
molecule-plugins[vagrant]==23.4.1
|
||||
python-vagrant==1.0.0
|
||||
pytest-testinfra==7.0.0
|
||||
tox==4.5.1
|
||||
yamllint==1.31.0
|
||||
Reference in New Issue
Block a user