Skip to content
Snippets Groups Projects
Commit 63ad6b0c authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

ci: adjust the starting port range to runner concurrency

If multiple job runs on the same runner, they should not use the port range.
parent d6ed4da8
No related branches found
No related tags found
2 merge requests!1083Merge stable into default,!1039don't use /tmp/ in CI
Pipeline #91934 passed
......@@ -105,6 +105,9 @@
- echo "$FILTER"
- echo "$FLAVOR"
- echo "$WHEEL_TYPE"
- PORT_START=`expr 19051 + 1009 '*' $CI_CONCURRENT_ID`
- PORT_ARG="--port $PORT_START"
- echo $PORT_ARG
- WHEEL_ARG=""
- if test -n "$WHEEL_TYPE"; then
PY_TAG=`$PYTHON -c 'import sys; v=sys.version_info; t=f"cp{v.major}{v.minor}"; print(f"{t}-{t}")'`;
......@@ -122,6 +125,7 @@
- HGTESTS_ALLOW_NETIO="$TEST_HGTESTS_ALLOW_NETIO"
"$PYTHON" tests/run-tests.py
--color=always
$PORT_ARG
$WHEEL_ARG
$FLAVOR
$FILTER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment