mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
k8s_drain new module SUMMARY new module to drain, cordon or uncordon node from k8s cluster. #141 ISSUE TYPE New Module Pull Request COMPONENT NAME k8s_drain Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: None <None> Reviewed-by: Mike Graves <mgraves@redhat.com> Reviewed-by: None <None>
47 lines
888 B
INI
47 lines
888 B
INI
[tox]
|
|
minversion = 1.4.2
|
|
skipsdist = True
|
|
|
|
[testenv:molecule]
|
|
install_command = pip install {opts} {packages}
|
|
|
|
deps = ansible
|
|
kubernetes
|
|
molecule<3.3.0
|
|
yamllint
|
|
flake8
|
|
|
|
passenv =
|
|
HOME
|
|
|
|
commands=
|
|
{posargs}
|
|
|
|
[testenv:integration]
|
|
install_command = pip install {opts} {packages}
|
|
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
https://github.com/ansible/ansible/archive/devel.tar.gz
|
|
|
|
passenv =
|
|
HOME
|
|
|
|
commands=
|
|
ansible-test integration --docker -v --color --retry-on-error --diff --coverage --continue-on-error --python {posargs}
|
|
|
|
[testenv:add_docs]
|
|
deps = git+https://github.com/ansible-network/collection_prep
|
|
commands = collection_prep_add_docs -p .
|
|
|
|
[testenv:linters]
|
|
deps = yamllint
|
|
flake8
|
|
|
|
commands =
|
|
yamllint -s {toxinidir}
|
|
flake8 {toxinidir}
|
|
|
|
[flake8]
|
|
exclude = .git,.tox,tests/output
|