From 4c30976555d0a2b23bb65445a39a3a4acd010124 Mon Sep 17 00:00:00 2001 From: Sagi Shnaidman Date: Wed, 19 Mar 2025 20:48:08 +0200 Subject: [PATCH] DNM: test CI for connections Signed-off-by: Sagi Shnaidman --- ci/run_connection_test.sh | 1 + tests/integration/targets/connection_buildah/runme.sh | 4 ++-- tests/integration/targets/connection_podman/runme.sh | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ci/run_connection_test.sh b/ci/run_connection_test.sh index 2aba80b8..2d63849b 100755 --- a/ci/run_connection_test.sh +++ b/ci/run_connection_test.sh @@ -28,6 +28,7 @@ pushd "tests/integration/targets/connection_${CON_TYPE}" ANSIBLECMD=${ANSIBLECMD} SUDO="${SUDO}" ./runme.sh popd +echo # Create a big file for uploading to container [[ ! -f /tmp/local_file ]] && head -c 5M /tmp/local_file diff --git a/tests/integration/targets/connection_buildah/runme.sh b/tests/integration/targets/connection_buildah/runme.sh index b7fbcff4..f1f2b4ef 100755 --- a/tests/integration/targets/connection_buildah/runme.sh +++ b/tests/integration/targets/connection_buildah/runme.sh @@ -8,7 +8,7 @@ export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 function run_ansible { - ${SUDO:-} ${ANSIBLECMD:-ansible-playbook} ../connection/test_connection.yml -i "test_connection.inventory" \ + ${SUDO:-} ${ANSIBLECMD:-ansible-playbook} -vv ../connection/test_connection.yml -i "test_connection.inventory" \ -e target_hosts="buildah" \ -e action_prefix= \ -e local_tmp=/tmp/ansible-local \ @@ -16,7 +16,7 @@ function run_ansible { "$@" } - +echo "test" # Issue in buildah: https://github.com/containers/buildah/issues/3126 # Hack is from: https://github.com/containers/buildah/issues/3120#issuecomment-815889314 # PR is merged here: https://github.com/containers/storage/pull/871 diff --git a/tests/integration/targets/connection_podman/runme.sh b/tests/integration/targets/connection_podman/runme.sh index 598794e7..f980b109 100755 --- a/tests/integration/targets/connection_podman/runme.sh +++ b/tests/integration/targets/connection_podman/runme.sh @@ -4,7 +4,7 @@ set -o pipefail set -eux function run_ansible { - ${SUDO:-} ${ANSIBLECMD:-ansible-playbook} ../connection/test_connection.yml -i "test_connection.inventory" \ + ${SUDO:-} ${ANSIBLECMD:-ansible-playbook} -vv ../connection/test_connection.yml -i "test_connection.inventory" \ -e target_hosts="podman" \ -e action_prefix= \ -e local_tmp=/tmp/ansible-local \ @@ -12,7 +12,7 @@ function run_ansible { "$@" } - +echo "test" run_ansible "$@" LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 run_ansible "$@" ANSIBLE_VERBOSITY=4 ANSIBLE_REMOTE_TMP="/tmp" ANSIBLE_REMOTE_USER="1000" run_ansible "$@" | tee check_log