We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a21d0e7 commit d23f8edCopy full SHA for d23f8ed
.circleci/orca_generate.sh
@@ -32,11 +32,13 @@ else
32
fi
33
34
ls $MOCKS/*.json | deterministic_shuffle > /tmp/all
35
-split -d -a1 -n l/$CIRCLE_NODE_TOTAL /tmp/all /tmp/queue
+split -d -a3 -n l/$CIRCLE_NODE_TOTAL /tmp/all /tmp/queue
36
+
37
+NODE_QUEUE="/tmp/queue$(printf "%03d" $CIRCLE_NODE_INDEX)"
38
39
echo ""
40
echo "Generating test images"
-cat /tmp/queue$CIRCLE_NODE_INDEX | awk '!/mapbox/' | \
41
+cat $NODE_QUEUE | awk '!/mapbox/' | \
42
# Shuffle to distribute randomly slow and fast mocks
43
deterministic_shuffle | \
44
# head -n 10 | \
0 commit comments