Skip to content

Commit

Permalink
extra/in_parallel.sh: call the right python version
Browse files Browse the repository at this point in the history
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
weaveworks/build-tools#73
  • Loading branch information
Alessandro Puccetti committed Feb 21, 2017
1 parent fabafec commit e81f674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/in_parallel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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

0 comments on commit e81f674

Please sign in to comment.