mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
ci: Fix non failing integration tests
Remove { } from runme.sh files to avoid failures being masked.
Re-add install of ansible.posix to have the
ansible.posix.profile_task callback available.
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
@@ -7,7 +7,6 @@ export ANSIBLE_ROLES_PATH="../"
|
||||
USER_CREDENTIALS_DIR=$(pwd)
|
||||
export USER_CREDENTIALS_DIR
|
||||
|
||||
{
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_INVENTORY_ENABLED=kubevirt.core.kubevirt,yaml
|
||||
export ANSIBLE_PYTHON_INTERPRETER=auto_silent
|
||||
@@ -21,7 +20,3 @@ ansible-inventory -i test.label.kubevirt.yml -y --list --output label.yml "$@"
|
||||
ansible-inventory -i test.net.kubevirt.yml -y --list --output net.yml "$@"
|
||||
|
||||
ansible-playbook verify.yml "$@"
|
||||
|
||||
} || {
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
{
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_INVENTORY_ENABLED=kubevirt.core.kubevirt,yaml
|
||||
export ANSIBLE_CALLBACKS_ENABLED=ansible.posix.profile_tasks
|
||||
export ANSIBLE_INVENTORY_ENABLED=kubevirt.core.kubevirt
|
||||
|
||||
[ -d files ] || mkdir files
|
||||
[ -f files/priv_key ] || (ssh-keygen -t ed25519 -C test@test -f files/priv_key ; ssh-keygen -y -f files/priv_key > files/pub_key)
|
||||
@@ -16,6 +15,3 @@ ansible-inventory -i test.kubevirt.yml -y --list "$@"
|
||||
ansible-playbook verify.yml -i test.kubevirt.yml --private-key=files/priv_key "$@"
|
||||
|
||||
rm "$HOME/.ssh/known_hosts"
|
||||
} || {
|
||||
exit 1
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
{
|
||||
export ANSIBLE_CALLBACKS_ENABLED=profile_tasks
|
||||
export ANSIBLE_CALLBACKS_ENABLED=ansible.posix.profile_tasks
|
||||
|
||||
ansible-playbook playbook.yml "$@"
|
||||
} || {
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user