Merge pull request #11785 from VannTen/cleanup/tests_reqs

Remove ara in CI + some cleanup
This commit is contained in:
Kubernetes Prow Robot 2024-12-12 12:24:28 +01:00 committed by GitHub
commit 45847ce052
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 14 deletions

View File

@ -1,12 +1,8 @@
-r ../requirements.txt
ansible-lint==24.10.0
apache-libcloud==3.8.0
ara[server]==1.7.2
dopy==0.3.7
distlib==0.3.9
molecule==24.12.0
molecule-plugins[vagrant]==23.5.3
pytest-testinfra==10.1.1
python-vagrant==1.0.0
tox==4.23.2
tzdata==2024.2
yamllint==1.35.1

View File

@ -2,8 +2,3 @@
set -euxo pipefail
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

View File

@ -23,13 +23,9 @@ if [ "${UPGRADE_TEST}" != "false" ]; then
git checkout "${CI_COMMIT_SHA}" -- tests/
fi
# needed for ara not to complain
export TZ=UTC
export ANSIBLE_REMOTE_USER=$SSH_USER
export ANSIBLE_BECOME=true
export ANSIBLE_BECOME_USER=root
export ANSIBLE_CALLBACK_PLUGINS="$(python -m ara.setup.callback_plugins)"
export ANSIBLE_INVENTORY=${CI_PROJECT_DIR}/inventory/sample/
make -C tests INVENTORY_DIR=${ANSIBLE_INVENTORY} create-${CI_PLATFORM} -s