mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Put integration.sh pip reqs in separate file. (#17338)
This commit is contained in:
parent
93443bad2f
commit
6e65ebda26
2 changed files with 4 additions and 2 deletions
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" \
|
||||||
|
|
Loading…
Reference in a new issue