mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Put integration.sh pip reqs in separate file. (#17338)
This commit is contained in:
1
test/utils/shippable/integration-requirements.txt
Normal file
1
test/utils/shippable/integration-requirements.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
jmespath
|
||||||
@@ -94,12 +94,13 @@ if [ "${test_python3}" ]; then
|
|||||||
test_flags="--skip-tags ${skip_tags} ${test_flags}"
|
test_flags="--skip-tags ${skip_tags} ${test_flags}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker exec "${container_id}" pip install jmespath
|
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
docker exec "${container_id}" \
|
||||||
|
pip install -r "${test_ansible_dir}/test/utils/shippable/integration-requirements.txt" --upgrade
|
||||||
|
|
||||||
if [ "${test_python3}" ]; then
|
if [ "${test_python3}" ]; then
|
||||||
docker exec "${container_id}" sed -i -f \
|
docker exec "${container_id}" sed -i -f \
|
||||||
"${test_ansible_dir}/test/utils/shippable/python3-test-target-blacklist.txt" \
|
"${test_ansible_dir}/test/utils/shippable/python3-test-target-blacklist.txt" \
|
||||||
|
|||||||
Reference in New Issue
Block a user