mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 20:08:41 +00:00
Avoid extra '/' in CI names to avoid breakin coverage. (#349)
ci_coverage
This commit is contained in:
parent
155a8b4ba9
commit
3a7c5551d7
@ -251,7 +251,7 @@ stages:
|
|||||||
testFormat: devel/rhel/{0}
|
testFormat: devel/rhel/{0}
|
||||||
targets:
|
targets:
|
||||||
- test: '7.9'
|
- test: '7.9'
|
||||||
- test: '8.5/pypi-latest'
|
- test: '8.5-pypi-latest'
|
||||||
groups:
|
groups:
|
||||||
- 1
|
- 1
|
||||||
- 2
|
- 2
|
||||||
|
|||||||
@ -9,22 +9,20 @@ platform="${args[0]}"
|
|||||||
version="${args[1]}"
|
version="${args[1]}"
|
||||||
target="shippable/posix/"
|
target="shippable/posix/"
|
||||||
|
|
||||||
force_python=""
|
if [ "${#args[@]}" -gt 2 ]; then
|
||||||
|
|
||||||
if [ "${#args[@]}" -gt 3 ]; then
|
|
||||||
if [ "${args[2]}" == "pypi-latest" ]; then
|
|
||||||
echo 'force_docker_sdk_for_python_pypi: true' >> tests/integration/interation_config.yml
|
|
||||||
if [ "${platform}" == "rhel" ] && [[ "${version}" =~ ^8\. ]]; then
|
|
||||||
# Use Python 3.8 on RHEL 8.x - TODO: this might be no longer necessary for high enough minor version! Check!
|
|
||||||
force_python="--python 3.8"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo "Invalid Docker SDK for Python version: '${args[2]}'"
|
|
||||||
exit 254
|
|
||||||
fi
|
|
||||||
target="shippable/posix/group${args[3]}/"
|
|
||||||
elif [ "${#args[@]}" -gt 2 ]; then
|
|
||||||
target="shippable/posix/group${args[2]}/"
|
target="shippable/posix/group${args[2]}/"
|
||||||
|
else
|
||||||
|
target="shippable/posix/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
force_python=""
|
||||||
|
if [[ "${version}" =~ -pypi-latest$ ]]; then
|
||||||
|
version="${version/-pypi-latest}"
|
||||||
|
echo 'force_docker_sdk_for_python_pypi: true' >> tests/integration/interation_config.yml
|
||||||
|
if [ "${platform}" == "rhel" ] && [[ "${version}" =~ ^8\. ]]; then
|
||||||
|
# Use Python 3.8 on RHEL 8.x - TODO: this might be no longer necessary for high enough minor version! Check!
|
||||||
|
force_python="--python 3.8"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
stage="${S:-prod}"
|
stage="${S:-prod}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user