Skip to content

Commit 6b2ddd3

Browse files
authored
fix: replace import-node-fetch with createFetch() MONGOSH-1857 (#2128)
1 parent 514b1fb commit 6b2ddd3

28 files changed

+83
-619
lines changed

.evergreen.yml

Lines changed: 0 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,34 +1236,6 @@ functions:
12361236
script: |
12371237
set -e
12381238
tar xvzf nyc-output-darwin_unit-n16_i18n.tgz
1239-
- command: s3.get
1240-
params:
1241-
aws_key: ${aws_key}
1242-
aws_secret: ${aws_secret}
1243-
local_file: src/nyc-output-darwin_unit-n20_import_node_fetch.tgz
1244-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-darwin_unit-n20_import_node_fetch.tgz
1245-
bucket: mciuploads
1246-
- command: shell.exec
1247-
params:
1248-
working_dir: src
1249-
shell: bash
1250-
script: |
1251-
set -e
1252-
tar xvzf nyc-output-darwin_unit-n20_import_node_fetch.tgz
1253-
- command: s3.get
1254-
params:
1255-
aws_key: ${aws_key}
1256-
aws_secret: ${aws_secret}
1257-
local_file: src/nyc-output-darwin_unit-n16_import_node_fetch.tgz
1258-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-darwin_unit-n16_import_node_fetch.tgz
1259-
bucket: mciuploads
1260-
- command: shell.exec
1261-
params:
1262-
working_dir: src
1263-
shell: bash
1264-
script: |
1265-
set -e
1266-
tar xvzf nyc-output-darwin_unit-n16_import_node_fetch.tgz
12671239
- command: s3.get
12681240
params:
12691241
aws_key: ${aws_key}
@@ -3476,34 +3448,6 @@ functions:
34763448
script: |
34773449
set -e
34783450
tar xvzf nyc-output-linux_unit-n16_i18n.tgz
3479-
- command: s3.get
3480-
params:
3481-
aws_key: ${aws_key}
3482-
aws_secret: ${aws_secret}
3483-
local_file: src/nyc-output-linux_unit-n20_import_node_fetch.tgz
3484-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-linux_unit-n20_import_node_fetch.tgz
3485-
bucket: mciuploads
3486-
- command: shell.exec
3487-
params:
3488-
working_dir: src
3489-
shell: bash
3490-
script: |
3491-
set -e
3492-
tar xvzf nyc-output-linux_unit-n20_import_node_fetch.tgz
3493-
- command: s3.get
3494-
params:
3495-
aws_key: ${aws_key}
3496-
aws_secret: ${aws_secret}
3497-
local_file: src/nyc-output-linux_unit-n16_import_node_fetch.tgz
3498-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-linux_unit-n16_import_node_fetch.tgz
3499-
bucket: mciuploads
3500-
- command: shell.exec
3501-
params:
3502-
working_dir: src
3503-
shell: bash
3504-
script: |
3505-
set -e
3506-
tar xvzf nyc-output-linux_unit-n16_import_node_fetch.tgz
35073451
- command: s3.get
35083452
params:
35093453
aws_key: ${aws_key}
@@ -6024,34 +5968,6 @@ functions:
60245968
script: |
60255969
set -e
60265970
tar xvzf nyc-output-win32_unit-n16_i18n.tgz
6027-
- command: s3.get
6028-
params:
6029-
aws_key: ${aws_key}
6030-
aws_secret: ${aws_secret}
6031-
local_file: src/nyc-output-win32_unit-n20_import_node_fetch.tgz
6032-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-win32_unit-n20_import_node_fetch.tgz
6033-
bucket: mciuploads
6034-
- command: shell.exec
6035-
params:
6036-
working_dir: src
6037-
shell: bash
6038-
script: |
6039-
set -e
6040-
tar xvzf nyc-output-win32_unit-n20_import_node_fetch.tgz
6041-
- command: s3.get
6042-
params:
6043-
aws_key: ${aws_key}
6044-
aws_secret: ${aws_secret}
6045-
local_file: src/nyc-output-win32_unit-n16_import_node_fetch.tgz
6046-
remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-win32_unit-n16_import_node_fetch.tgz
6047-
bucket: mciuploads
6048-
- command: shell.exec
6049-
params:
6050-
working_dir: src
6051-
shell: bash
6052-
script: |
6053-
set -e
6054-
tar xvzf nyc-output-win32_unit-n16_import_node_fetch.tgz
60555971
- command: s3.get
60565972
params:
60575973
aws_key: ${aws_key}
@@ -9475,40 +9391,6 @@ tasks:
94759391
mongosh_skip_node_version_check: ""
94769392
mongosh_test_id: "n16_i18n"
94779393
mongosh_run_only_in_package: "i18n"
9478-
- name: test_n20_import_node_fetch
9479-
tags: ["unit-test"]
9480-
depends_on:
9481-
- name: compile_ts
9482-
variant: linux_unit
9483-
commands:
9484-
- func: checkout
9485-
- func: install
9486-
vars:
9487-
node_js_version: "20.16.0"
9488-
- func: test
9489-
vars:
9490-
mongosh_server_test_version: ""
9491-
node_js_version: "20.16.0"
9492-
mongosh_skip_node_version_check: ""
9493-
mongosh_test_id: "n20_import_node_fetch"
9494-
mongosh_run_only_in_package: "import-node-fetch"
9495-
- name: test_n16_import_node_fetch
9496-
tags: ["unit-test"]
9497-
depends_on:
9498-
- name: compile_ts
9499-
variant: linux_unit
9500-
commands:
9501-
- func: checkout
9502-
- func: install
9503-
vars:
9504-
node_js_version: "16.20.2"
9505-
- func: test
9506-
vars:
9507-
mongosh_server_test_version: ""
9508-
node_js_version: "16.20.2"
9509-
mongosh_skip_node_version_check: ""
9510-
mongosh_test_id: "n16_import_node_fetch"
9511-
mongosh_run_only_in_package: "import-node-fetch"
95129394
- name: test_m42xc_n20_java_shell
95139395
tags: ["unit-test"]
95149396
depends_on:
@@ -17395,8 +17277,6 @@ buildvariants:
1739517277
- name: test_n16_history
1739617278
- name: test_n20_i18n
1739717279
- name: test_n16_i18n
17398-
- name: test_n20_import_node_fetch
17399-
- name: test_n16_import_node_fetch
1740017280
- name: test_n20_js_multiline_to_singleline
1740117281
- name: test_n16_js_multiline_to_singleline
1740217282
- name: test_n20_logging
@@ -17583,8 +17463,6 @@ buildvariants:
1758317463
- name: test_n16_history
1758417464
- name: test_n20_i18n
1758517465
- name: test_n16_i18n
17586-
- name: test_n20_import_node_fetch
17587-
- name: test_n16_import_node_fetch
1758817466
- name: test_m42xc_n20_java_shell
1758917467
- name: test_m44xc_n20_java_shell
1759017468
- name: test_m44xe_n20_java_shell
@@ -18165,8 +18043,6 @@ buildvariants:
1816518043
- name: test_n16_history
1816618044
- name: test_n20_i18n
1816718045
- name: test_n16_i18n
18168-
- name: test_n20_import_node_fetch
18169-
- name: test_n16_import_node_fetch
1817018046
- name: test_n20_js_multiline_to_singleline
1817118047
- name: test_n16_js_multiline_to_singleline
1817218048
- name: test_n20_logging

0 commit comments

Comments
 (0)