Skip to content
Snippets Groups Projects
Unverified Commit f184725c authored by Kenichi Omichi's avatar Kenichi Omichi Committed by GitHub
Browse files

Use ansible 2.12 for testcases_prepare (#8763)

tests/requirements.txt links to tests/requirements-2.12.txt, so
Kubespray uses ansible 2.12 by default for testing. However we
forgot to update testcases_prepare.sh to use ansible 2.12.
This updates testcases_prepare to use ansible 2.12.
parent 26a0b0f1
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
set -euxo pipefail set -euxo pipefail
: ${ANSIBLE_MAJOR_VERSION:=2.10} : ${ANSIBLE_MAJOR_VERSION:=2.12}
/usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core /usr/bin/python -m pip uninstall -y ansible ansible-base ansible-core
/usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt /usr/bin/python -m pip install -r tests/requirements-${ANSIBLE_MAJOR_VERSION}.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment