mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 18:20:02 -03:30
[CI] add ara to collect CI job logs (#8545)
This commit is contained in:
@@ -10,3 +10,4 @@ molecule==3.0.6
|
||||
molecule-vagrant==0.3
|
||||
testinfra==5.2.2
|
||||
python-vagrant==0.5.15
|
||||
ara[server]==1.5.7
|
||||
|
||||
@@ -10,3 +10,4 @@ molecule==3.0.6
|
||||
molecule-vagrant==0.3
|
||||
testinfra==5.2.2
|
||||
python-vagrant==0.5.15
|
||||
ara[server]==1.5.7
|
||||
|
||||
@@ -13,3 +13,4 @@ molecule-vagrant==0.3
|
||||
testinfra==5.2.2 ; python_version >= '3.0'
|
||||
testinfra==3.4.0 ; python_version < '3.0'
|
||||
python-vagrant==0.5.15
|
||||
ara[server]==1.5.7
|
||||
|
||||
@@ -2,3 +2,8 @@
|
||||
set -euxo pipefail
|
||||
|
||||
cd tests && make delete-${CI_PLATFORM} -s ; cd -
|
||||
|
||||
if [ -d ~/.ara ] ; then
|
||||
tar czvf ${CI_PROJECT_DIR}/cluster-dump/ara.tgz ~/.ara
|
||||
rm -fr ~/.ara
|
||||
fi
|
||||
|
||||
@@ -16,10 +16,13 @@ else
|
||||
fi
|
||||
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)"
|
||||
|
||||
cd tests && make create-${CI_PLATFORM} -s ; cd -
|
||||
ansible-playbook tests/cloud_playbooks/wait-for-ssh.yml
|
||||
|
||||
Reference in New Issue
Block a user