1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

DNM: test CI for connections

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sagi Shnaidman 2025-03-19 20:48:08 +02:00
parent 40d320d8f6
commit 4c30976555
3 changed files with 5 additions and 4 deletions

View file

@ -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 </dev/urandom >/tmp/local_file

View file

@ -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

View file

@ -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