extra/in_parallel.sh: call the right python version

We want to use the python installed as dependency to use an updated
version of the requests module (>=v2.4.2).

This regression is caused by
https://github.com/weaveworks/build-tools/pull/73
This commit is contained in:
Alessandro Puccetti
2017-02-21 17:25:39 +01:00
parent fabafecb0c
commit e81f674a02

View File

@@ -19,7 +19,7 @@ shift 1
INPUTS="$*"
SCHED_NAME=parallel-$CIRCLE_PROJECT_USERNAME-$CIRCLE_PROJECT_REPONAME-$CIRCLE_BUILD_NUM
INPUTS=$(echo "$INPUTS" | "../tools/sched" sched "$SCHED_NAME" "$CIRCLE_NODE_TOTAL" "$CIRCLE_NODE_INDEX")
INPUTS=$(echo "$INPUTS" | python "../tools/sched" sched "$SCHED_NAME" "$CIRCLE_NODE_TOTAL" "$CIRCLE_NODE_INDEX")
echo Doing "$INPUTS"
@@ -28,5 +28,5 @@ for INPUT in $INPUTS; do
"$COMMAND" "$INPUT"
RUNTIME=$(($(date +%s) - START))
"../tools/sched" time "$INPUT" "$RUNTIME"
python "../tools/sched" time "$INPUT" "$RUNTIME"
done