mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
* Replace the container used in the nsenter tests.
* Improve connection tests.g
* Use quay.io/ansible/ansible-runner:devel instead.
(cherry picked from commit ab2d33aa99)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
75faaff9dc
commit
2bda93a682
@ -4,7 +4,7 @@ set -euo pipefail
|
||||
|
||||
[[ -n "${DEBUG:-}" || -n "${ANSIBLE_DEBUG:-}" ]] && set -x
|
||||
|
||||
readonly IMAGE="quay.io/ansible/toolset:latest"
|
||||
readonly IMAGE="quay.io/ansible/ansible-runner:devel"
|
||||
readonly PYTHON="$(command -v python3 python | head -n1)"
|
||||
|
||||
# Determine collection root
|
||||
|
||||
@ -5,7 +5,9 @@ set -eux
|
||||
# Connection tests for POSIX platforms use this script by linking to it from the appropriate 'connection_' target dir.
|
||||
# The name of the inventory group to test is extracted from the directory name following the 'connection_' prefix.
|
||||
|
||||
group=$(python -c \
|
||||
PYTHON="$(command -v python3 python | head -n1)"
|
||||
|
||||
group=$(${PYTHON} -c \
|
||||
"from os import path; print(path.basename(path.abspath(path.dirname('$0'))).replace('connection_', ''))")
|
||||
|
||||
cd ../connection
|
||||
|
||||
Loading…
Reference in New Issue
Block a user