|
|
@ -60,6 +60,7 @@ function cleanup
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
trap cleanup EXIT INT TERM
|
|
|
|
trap cleanup EXIT INT TERM
|
|
|
|
|
|
|
|
docker images ansible/ansible
|
|
|
|
show_environment
|
|
|
|
show_environment
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${controller_shared_dir}" ]; then
|
|
|
|
if [ "${controller_shared_dir}" ]; then
|
|
|
@ -79,8 +80,6 @@ container_id=$(docker run -d \
|
|
|
|
|
|
|
|
|
|
|
|
show_environment
|
|
|
|
show_environment
|
|
|
|
|
|
|
|
|
|
|
|
docker exec "${container_id}" pip install junit-xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${copy_source}" ]; then
|
|
|
|
if [ "${copy_source}" ]; then
|
|
|
|
docker exec "${container_id}" cp -a "${test_shared_dir}" "${test_ansible_dir}"
|
|
|
|
docker exec "${container_id}" cp -a "${test_shared_dir}" "${test_ansible_dir}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|