Skip to content

Commit 0c164bb

Browse files
authored
Upload build on the same node where it happens (#11666)
1 parent 53ef71b commit 0c164bb

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

circle.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,3 @@ test:
3232
override:
3333
- ./scripts/circleci/test_entry_point.sh:
3434
parallel: true
35-
36-
deployment:
37-
staging:
38-
branch: /.*/
39-
commands:
40-
- ./scripts/circleci/upload_build.sh

scripts/circleci/test_entry_point.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ if [ $((2 % CIRCLE_NODE_TOTAL)) -eq "$CIRCLE_NODE_INDEX" ]; then
2323
COMMANDS_TO_RUN+=('./scripts/circleci/build.sh')
2424
COMMANDS_TO_RUN+=('yarn test-build --runInBand')
2525
COMMANDS_TO_RUN+=('yarn test-build-prod --runInBand')
26+
COMMANDS_TO_RUN+=('./scripts/circleci/upload_build.sh')
2627
fi
2728

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

0 commit comments

Comments
 (0)