Skip to content

Commit 02abebb

Browse files
committed
print out level of parallelism
1 parent 6bc3549 commit 02abebb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/orca_generate.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ deterministic_shuffle()
2020
shuf --random-source=<(get_seeded_random "0")
2121
}
2222

23+
if [ -z "$CI"]
24+
then
25+
echo "Work split accross $CIRCLE_NODE_TOTAL nodes"
26+
echo "Currently $CIRCLE_NODE_INDEX"
27+
sleep 1
28+
else
29+
echo "Running locally"
30+
fi
31+
2332
echo "Generating test images"
2433
ls $MOCKS/*.json | awk '!/mapbox/' | \
2534
# Shuffle to distribute randomly slow and fast mocks

0 commit comments

Comments
 (0)