mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-08 01:47:37 -02:30
Merge pull request #11785 from VannTen/cleanup/tests_reqs
Remove ara in CI + some cleanup
This commit is contained in:
@@ -1,12 +1,8 @@
|
|||||||
-r ../requirements.txt
|
-r ../requirements.txt
|
||||||
ansible-lint==24.10.0
|
ansible-lint==24.10.0
|
||||||
apache-libcloud==3.8.0
|
distlib==0.3.9
|
||||||
ara[server]==1.7.2
|
|
||||||
dopy==0.3.7
|
|
||||||
molecule==24.12.0
|
molecule==24.12.0
|
||||||
molecule-plugins[vagrant]==23.5.3
|
molecule-plugins[vagrant]==23.5.3
|
||||||
pytest-testinfra==10.1.1
|
pytest-testinfra==10.1.1
|
||||||
python-vagrant==1.0.0
|
python-vagrant==1.0.0
|
||||||
tox==4.23.2
|
|
||||||
tzdata==2024.2
|
|
||||||
yamllint==1.35.1
|
yamllint==1.35.1
|
||||||
|
|||||||
@@ -2,8 +2,3 @@
|
|||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
|
|
||||||
make -C tests delete-${CI_PLATFORM} -s
|
make -C tests delete-${CI_PLATFORM} -s
|
||||||
|
|
||||||
if [ -d ~/.ara ] ; then
|
|
||||||
tar czvf ${CI_PROJECT_DIR}/cluster-dump/ara.tgz ~/.ara
|
|
||||||
rm -fr ~/.ara
|
|
||||||
fi
|
|
||||||
|
|||||||
@@ -23,13 +23,9 @@ if [ "${UPGRADE_TEST}" != "false" ]; then
|
|||||||
git checkout "${CI_COMMIT_SHA}" -- tests/
|
git checkout "${CI_COMMIT_SHA}" -- tests/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# needed for ara not to complain
|
|
||||||
export TZ=UTC
|
|
||||||
|
|
||||||
export ANSIBLE_REMOTE_USER=$SSH_USER
|
export ANSIBLE_REMOTE_USER=$SSH_USER
|
||||||
export ANSIBLE_BECOME=true
|
export ANSIBLE_BECOME=true
|
||||||
export ANSIBLE_BECOME_USER=root
|
export ANSIBLE_BECOME_USER=root
|
||||||
export ANSIBLE_CALLBACK_PLUGINS="$(python -m ara.setup.callback_plugins)"
|
|
||||||
export ANSIBLE_INVENTORY=${CI_PROJECT_DIR}/inventory/sample/
|
export ANSIBLE_INVENTORY=${CI_PROJECT_DIR}/inventory/sample/
|
||||||
|
|
||||||
make -C tests INVENTORY_DIR=${ANSIBLE_INVENTORY} create-${CI_PLATFORM} -s
|
make -C tests INVENTORY_DIR=${ANSIBLE_INVENTORY} create-${CI_PLATFORM} -s
|
||||||
|
|||||||
Reference in New Issue
Block a user