mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-18 04:49:55 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user