@samitouri / QOS-React / commits / 0c164bb485

Upload build on the same node where it happens (#11666)

Dan Abramov committed Nov 26, 2017 at 18:03 UTC 0c164bb4851e78e5f789dd8619f17ffcfee0221f
2 files changed +1 -6
circle.yml
-6
@@ -32,9 +32,3 @@ test:
32 override:
33 - ./scripts/circleci/test_entry_point.sh:
34 parallel: true
35 -
36 -deployment:
37 - staging:
38 - branch: /.*/
39 - commands:
40 - - ./scripts/circleci/upload_build.sh
scripts/circleci/test_entry_point.sh
+1
@@ -23,6 +23,7 @@ if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
23 COMMANDS_TO_RUN+=('./scripts/circleci/build.sh')
24 COMMANDS_TO_RUN+=('yarn test-build --runInBand')
25 COMMANDS_TO_RUN+=('yarn test-build-prod --runInBand')
26 + COMMANDS_TO_RUN+=('./scripts/circleci/upload_build.sh')
27 fi
28
29 if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then