Skip to content

Commit

Permalink
Upload build on the same node where it happens (#11666)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Nov 26, 2017
1 parent 53ef71b commit 0c164bb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 0 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,3 @@ test:
override:
- ./scripts/circleci/test_entry_point.sh:
parallel: true

deployment:
staging:
branch: /.*/
commands:
- ./scripts/circleci/upload_build.sh
1 change: 1 addition & 0 deletions scripts/circleci/test_entry_point.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
COMMANDS_TO_RUN+=('./scripts/circleci/build.sh')
COMMANDS_TO_RUN+=('yarn test-build --runInBand')
COMMANDS_TO_RUN+=('yarn test-build-prod --runInBand')
COMMANDS_TO_RUN+=('./scripts/circleci/upload_build.sh')
fi

if [ $((3 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
Expand Down

0 comments on commit 0c164bb

Please sign in to comment.