diff --git a/.evergreen.yml b/.evergreen.yml index 1753135a9..ef0f7b077 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -163,6 +163,7 @@ functions: DISTRO_ID: ${distro_id} MONOGDB_DRIVER_VERSION_OVERRIDE: ${mongodb_driver_version_override} PUPPETEER_SKIP_DOWNLOAD: ${puppeteer_skip_download|true} + MONGOSH_INSTALL_WORKSPACE: ${mongosh_install_workspace|} script: | set -e set -x @@ -545,6 +546,20 @@ functions: script: | set -e tar xvzf nyc-output-darwin-n20-snippet_manager.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-darwin-n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-darwin-n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-darwin-n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -629,6 +644,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m60xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m60xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m60xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m60xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -699,6 +728,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m60xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m60xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m60xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m60xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -769,6 +812,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m70xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m70xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m70xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m70xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -839,6 +896,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m70xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m70xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m70xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m70xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -909,6 +980,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m80xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m80xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m80xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m80xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -979,6 +1064,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m80xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m80xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m80xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m80xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1049,6 +1148,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m82xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m82xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m82xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m82xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1119,6 +1232,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-m82xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-m82xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-m82xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-m82xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1189,6 +1316,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_darwin-mlatest_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_darwin-mlatest_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_darwin-mlatest_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_darwin-mlatest_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1497,6 +1638,20 @@ functions: script: | set -e tar xvzf nyc-output-linux-n20-snippet_manager.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-linux-n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-linux-n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-linux-n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1595,6 +1750,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m42xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m42xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m42xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m42xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1679,6 +1848,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m44xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m44xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m44xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m44xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1763,6 +1946,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m44xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m44xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m44xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m44xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1847,6 +2044,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m50xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m50xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m50xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m50xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -1931,6 +2142,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m50xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m50xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m50xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m50xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2015,6 +2240,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m60xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m60xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m60xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m60xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2099,6 +2338,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m60xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m60xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m60xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m60xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2183,6 +2436,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m70xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m70xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m70xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m70xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2267,6 +2534,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m70xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m70xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m70xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m70xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2351,6 +2632,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m80xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m80xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m80xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m80xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2435,6 +2730,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m80xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m80xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m80xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m80xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2519,6 +2828,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m82xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m82xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m82xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m82xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2603,6 +2926,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-m82xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-m82xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-m82xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-m82xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2687,6 +3024,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_linux-mlatest_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_linux-mlatest_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_linux-mlatest_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_linux-mlatest_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -2981,6 +3332,20 @@ functions: script: | set -e tar xvzf nyc-output-win32-n20-snippet_manager.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-win32-n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-win32-n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-win32-n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3065,6 +3430,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m42xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m42xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m42xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m42xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3135,6 +3514,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m42xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m42xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m42xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m42xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3205,6 +3598,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m44xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m44xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m44xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m44xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3275,6 +3682,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m44xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m44xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m44xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m44xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3345,6 +3766,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m50xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m50xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m50xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m50xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3415,6 +3850,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m50xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m50xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m50xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m50xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3485,6 +3934,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m60xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m60xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m60xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m60xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3555,6 +4018,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m60xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m60xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m60xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m60xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3625,6 +4102,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m70xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m70xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m70xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m70xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3695,6 +4186,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m70xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m70xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m70xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m70xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3765,6 +4270,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m80xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m80xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m80xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m80xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3835,6 +4354,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m80xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m80xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m80xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m80xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3905,6 +4438,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m82xc_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m82xc_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m82xc_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m82xc_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -3975,6 +4522,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-m82xe_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-m82xe_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-m82xe_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-m82xe_n20-testing.tgz - command: s3.get params: aws_key: ${aws_key} @@ -4045,6 +4606,20 @@ functions: script: | set -e tar xvzf nyc-output-tests_win32-mlatest_n20-shell_api.tgz + - command: s3.get + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: src/nyc-output-tests_win32-mlatest_n20-testing.tgz + remote_file: mongosh/binaries/${revision}/${revision_order_id}/nyc-output-tests_win32-mlatest_n20-testing.tgz + bucket: mciuploads + - command: shell.exec + params: + working_dir: src + shell: bash + script: | + set -e + tar xvzf nyc-output-tests_win32-mlatest_n20-testing.tgz - command: shell.exec params: working_dir: src @@ -5026,6 +5601,8 @@ tasks: variant: darwin-n20 - name: test_snippet_manager variant: darwin-n20 + - name: test_testing + variant: darwin-n20 - name: test_types variant: darwin-n20 - name: test_cli_repl @@ -5038,6 +5615,8 @@ tasks: variant: tests_darwin-m60xc_n20 - name: test_shell_api variant: tests_darwin-m60xc_n20 + - name: test_testing + variant: tests_darwin-m60xc_n20 - name: test_cli_repl variant: tests_darwin-m60xe_n20 - name: test_e2e_tests @@ -5048,6 +5627,8 @@ tasks: variant: tests_darwin-m60xe_n20 - name: test_shell_api variant: tests_darwin-m60xe_n20 + - name: test_testing + variant: tests_darwin-m60xe_n20 - name: test_cli_repl variant: tests_darwin-m70xc_n20 - name: test_e2e_tests @@ -5058,6 +5639,8 @@ tasks: variant: tests_darwin-m70xc_n20 - name: test_shell_api variant: tests_darwin-m70xc_n20 + - name: test_testing + variant: tests_darwin-m70xc_n20 - name: test_cli_repl variant: tests_darwin-m70xe_n20 - name: test_e2e_tests @@ -5068,6 +5651,8 @@ tasks: variant: tests_darwin-m70xe_n20 - name: test_shell_api variant: tests_darwin-m70xe_n20 + - name: test_testing + variant: tests_darwin-m70xe_n20 - name: test_cli_repl variant: tests_darwin-m80xc_n20 - name: test_e2e_tests @@ -5078,6 +5663,8 @@ tasks: variant: tests_darwin-m80xc_n20 - name: test_shell_api variant: tests_darwin-m80xc_n20 + - name: test_testing + variant: tests_darwin-m80xc_n20 - name: test_cli_repl variant: tests_darwin-m80xe_n20 - name: test_e2e_tests @@ -5088,6 +5675,8 @@ tasks: variant: tests_darwin-m80xe_n20 - name: test_shell_api variant: tests_darwin-m80xe_n20 + - name: test_testing + variant: tests_darwin-m80xe_n20 - name: test_cli_repl variant: tests_darwin-m82xc_n20 - name: test_e2e_tests @@ -5098,6 +5687,8 @@ tasks: variant: tests_darwin-m82xc_n20 - name: test_shell_api variant: tests_darwin-m82xc_n20 + - name: test_testing + variant: tests_darwin-m82xc_n20 - name: test_cli_repl variant: tests_darwin-m82xe_n20 - name: test_e2e_tests @@ -5108,6 +5699,8 @@ tasks: variant: tests_darwin-m82xe_n20 - name: test_shell_api variant: tests_darwin-m82xe_n20 + - name: test_testing + variant: tests_darwin-m82xe_n20 - name: test_cli_repl variant: tests_darwin-mlatest_n20 - name: test_e2e_tests @@ -5118,6 +5711,8 @@ tasks: variant: tests_darwin-mlatest_n20 - name: test_shell_api variant: tests_darwin-mlatest_n20 + - name: test_testing + variant: tests_darwin-mlatest_n20 - name: test_arg_parser variant: linux-n20 - name: test_async_rewriter2 @@ -5162,6 +5757,8 @@ tasks: variant: linux-n20 - name: test_snippet_manager variant: linux-n20 + - name: test_testing + variant: linux-n20 - name: test_types variant: linux-n20 - name: test_cli_repl @@ -5176,6 +5773,8 @@ tasks: variant: tests_linux-m42xc_n20 - name: test_shell_api variant: tests_linux-m42xc_n20 + - name: test_testing + variant: tests_linux-m42xc_n20 - name: test_cli_repl variant: tests_linux-m44xc_n20 - name: test_e2e_tests @@ -5188,6 +5787,8 @@ tasks: variant: tests_linux-m44xc_n20 - name: test_shell_api variant: tests_linux-m44xc_n20 + - name: test_testing + variant: tests_linux-m44xc_n20 - name: test_cli_repl variant: tests_linux-m44xe_n20 - name: test_e2e_tests @@ -5200,6 +5801,8 @@ tasks: variant: tests_linux-m44xe_n20 - name: test_shell_api variant: tests_linux-m44xe_n20 + - name: test_testing + variant: tests_linux-m44xe_n20 - name: test_cli_repl variant: tests_linux-m50xc_n20 - name: test_e2e_tests @@ -5212,6 +5815,8 @@ tasks: variant: tests_linux-m50xc_n20 - name: test_shell_api variant: tests_linux-m50xc_n20 + - name: test_testing + variant: tests_linux-m50xc_n20 - name: test_cli_repl variant: tests_linux-m50xe_n20 - name: test_e2e_tests @@ -5224,6 +5829,8 @@ tasks: variant: tests_linux-m50xe_n20 - name: test_shell_api variant: tests_linux-m50xe_n20 + - name: test_testing + variant: tests_linux-m50xe_n20 - name: test_cli_repl variant: tests_linux-m60xc_n20 - name: test_e2e_tests @@ -5236,6 +5843,8 @@ tasks: variant: tests_linux-m60xc_n20 - name: test_shell_api variant: tests_linux-m60xc_n20 + - name: test_testing + variant: tests_linux-m60xc_n20 - name: test_cli_repl variant: tests_linux-m60xe_n20 - name: test_e2e_tests @@ -5248,6 +5857,8 @@ tasks: variant: tests_linux-m60xe_n20 - name: test_shell_api variant: tests_linux-m60xe_n20 + - name: test_testing + variant: tests_linux-m60xe_n20 - name: test_cli_repl variant: tests_linux-m70xc_n20 - name: test_e2e_tests @@ -5260,6 +5871,8 @@ tasks: variant: tests_linux-m70xc_n20 - name: test_shell_api variant: tests_linux-m70xc_n20 + - name: test_testing + variant: tests_linux-m70xc_n20 - name: test_cli_repl variant: tests_linux-m70xe_n20 - name: test_e2e_tests @@ -5272,6 +5885,8 @@ tasks: variant: tests_linux-m70xe_n20 - name: test_shell_api variant: tests_linux-m70xe_n20 + - name: test_testing + variant: tests_linux-m70xe_n20 - name: test_cli_repl variant: tests_linux-m80xc_n20 - name: test_e2e_tests @@ -5284,6 +5899,8 @@ tasks: variant: tests_linux-m80xc_n20 - name: test_shell_api variant: tests_linux-m80xc_n20 + - name: test_testing + variant: tests_linux-m80xc_n20 - name: test_cli_repl variant: tests_linux-m80xe_n20 - name: test_e2e_tests @@ -5296,6 +5913,8 @@ tasks: variant: tests_linux-m80xe_n20 - name: test_shell_api variant: tests_linux-m80xe_n20 + - name: test_testing + variant: tests_linux-m80xe_n20 - name: test_cli_repl variant: tests_linux-m82xc_n20 - name: test_e2e_tests @@ -5308,6 +5927,8 @@ tasks: variant: tests_linux-m82xc_n20 - name: test_shell_api variant: tests_linux-m82xc_n20 + - name: test_testing + variant: tests_linux-m82xc_n20 - name: test_cli_repl variant: tests_linux-m82xe_n20 - name: test_e2e_tests @@ -5320,6 +5941,8 @@ tasks: variant: tests_linux-m82xe_n20 - name: test_shell_api variant: tests_linux-m82xe_n20 + - name: test_testing + variant: tests_linux-m82xe_n20 - name: test_cli_repl variant: tests_linux-mlatest_n20 - name: test_e2e_tests @@ -5332,6 +5955,8 @@ tasks: variant: tests_linux-mlatest_n20 - name: test_shell_api variant: tests_linux-mlatest_n20 + - name: test_testing + variant: tests_linux-mlatest_n20 - name: test_arg_parser variant: win32-n20 - name: test_async_rewriter2 @@ -5374,6 +5999,8 @@ tasks: variant: win32-n20 - name: test_snippet_manager variant: win32-n20 + - name: test_testing + variant: win32-n20 - name: test_types variant: win32-n20 - name: test_cli_repl @@ -5386,6 +6013,8 @@ tasks: variant: tests_win32-m42xc_n20 - name: test_shell_api variant: tests_win32-m42xc_n20 + - name: test_testing + variant: tests_win32-m42xc_n20 - name: test_cli_repl variant: tests_win32-m42xe_n20 - name: test_e2e_tests @@ -5396,6 +6025,8 @@ tasks: variant: tests_win32-m42xe_n20 - name: test_shell_api variant: tests_win32-m42xe_n20 + - name: test_testing + variant: tests_win32-m42xe_n20 - name: test_cli_repl variant: tests_win32-m44xc_n20 - name: test_e2e_tests @@ -5406,6 +6037,8 @@ tasks: variant: tests_win32-m44xc_n20 - name: test_shell_api variant: tests_win32-m44xc_n20 + - name: test_testing + variant: tests_win32-m44xc_n20 - name: test_cli_repl variant: tests_win32-m44xe_n20 - name: test_e2e_tests @@ -5416,6 +6049,8 @@ tasks: variant: tests_win32-m44xe_n20 - name: test_shell_api variant: tests_win32-m44xe_n20 + - name: test_testing + variant: tests_win32-m44xe_n20 - name: test_cli_repl variant: tests_win32-m50xc_n20 - name: test_e2e_tests @@ -5426,6 +6061,8 @@ tasks: variant: tests_win32-m50xc_n20 - name: test_shell_api variant: tests_win32-m50xc_n20 + - name: test_testing + variant: tests_win32-m50xc_n20 - name: test_cli_repl variant: tests_win32-m50xe_n20 - name: test_e2e_tests @@ -5436,6 +6073,8 @@ tasks: variant: tests_win32-m50xe_n20 - name: test_shell_api variant: tests_win32-m50xe_n20 + - name: test_testing + variant: tests_win32-m50xe_n20 - name: test_cli_repl variant: tests_win32-m60xc_n20 - name: test_e2e_tests @@ -5446,6 +6085,8 @@ tasks: variant: tests_win32-m60xc_n20 - name: test_shell_api variant: tests_win32-m60xc_n20 + - name: test_testing + variant: tests_win32-m60xc_n20 - name: test_cli_repl variant: tests_win32-m60xe_n20 - name: test_e2e_tests @@ -5456,6 +6097,8 @@ tasks: variant: tests_win32-m60xe_n20 - name: test_shell_api variant: tests_win32-m60xe_n20 + - name: test_testing + variant: tests_win32-m60xe_n20 - name: test_cli_repl variant: tests_win32-m70xc_n20 - name: test_e2e_tests @@ -5466,6 +6109,8 @@ tasks: variant: tests_win32-m70xc_n20 - name: test_shell_api variant: tests_win32-m70xc_n20 + - name: test_testing + variant: tests_win32-m70xc_n20 - name: test_cli_repl variant: tests_win32-m70xe_n20 - name: test_e2e_tests @@ -5476,6 +6121,8 @@ tasks: variant: tests_win32-m70xe_n20 - name: test_shell_api variant: tests_win32-m70xe_n20 + - name: test_testing + variant: tests_win32-m70xe_n20 - name: test_cli_repl variant: tests_win32-m80xc_n20 - name: test_e2e_tests @@ -5486,6 +6133,8 @@ tasks: variant: tests_win32-m80xc_n20 - name: test_shell_api variant: tests_win32-m80xc_n20 + - name: test_testing + variant: tests_win32-m80xc_n20 - name: test_cli_repl variant: tests_win32-m80xe_n20 - name: test_e2e_tests @@ -5496,6 +6145,8 @@ tasks: variant: tests_win32-m80xe_n20 - name: test_shell_api variant: tests_win32-m80xe_n20 + - name: test_testing + variant: tests_win32-m80xe_n20 - name: test_cli_repl variant: tests_win32-m82xc_n20 - name: test_e2e_tests @@ -5506,6 +6157,8 @@ tasks: variant: tests_win32-m82xc_n20 - name: test_shell_api variant: tests_win32-m82xc_n20 + - name: test_testing + variant: tests_win32-m82xc_n20 - name: test_cli_repl variant: tests_win32-m82xe_n20 - name: test_e2e_tests @@ -5516,6 +6169,8 @@ tasks: variant: tests_win32-m82xe_n20 - name: test_shell_api variant: tests_win32-m82xe_n20 + - name: test_testing + variant: tests_win32-m82xe_n20 - name: test_cli_repl variant: tests_win32-mlatest_n20 - name: test_e2e_tests @@ -5526,6 +6181,8 @@ tasks: variant: tests_win32-mlatest_n20 - name: test_shell_api variant: tests_win32-mlatest_n20 + - name: test_testing + variant: tests_win32-mlatest_n20 commands: - func: checkout - func: install @@ -5550,6 +6207,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/arg-parser" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5569,6 +6227,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/async-rewriter2" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5588,6 +6247,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/autocomplete" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5607,6 +6267,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "false" + mongosh_install_workspace: "@mongosh/browser-repl" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5626,6 +6287,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/browser-runtime-core" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5645,6 +6307,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/browser-runtime-electron" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5664,6 +6327,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/build" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5683,6 +6347,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/cli-repl" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5702,6 +6367,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/connectivity-tests" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5721,6 +6387,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/e2e-tests" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5740,6 +6407,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/editor" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5759,6 +6427,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/errors" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5778,6 +6447,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/history" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5797,6 +6467,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/i18n" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5816,6 +6487,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/java-shell" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5835,6 +6507,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/js-multiline-to-singleline" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5854,6 +6527,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/logging" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5873,6 +6547,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/mongosh" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5892,6 +6567,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/node-runtime-worker-thread" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5911,6 +6587,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/service-provider-core" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5930,6 +6607,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/service-provider-node-driver" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5949,6 +6627,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/shell-api" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5968,6 +6647,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/shell-bson" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -5987,6 +6667,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/shell-evaluator" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -6006,6 +6687,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/snippet-manager" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -6014,6 +6696,26 @@ tasks: mongosh_test_id: "snippet_manager" mongosh_run_only_in_package: "snippet-manager" task_name: ${task_name} + - name: test_testing + tags: ["assigned_to_jira_team_mongosh_mongosh","unit-test"] + depends_on: + - name: compile_ts + variant: linux_compile + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/testing" + - func: test + vars: + mongosh_server_test_version: ${mongosh_server_test_version} + node_js_version: ${node_js_version} + mongosh_skip_node_version_check: ${mongosh_skip_node_version_check} + mongosh_test_id: "testing" + mongosh_run_only_in_package: "testing" + task_name: ${task_name} - name: test_types tags: ["assigned_to_jira_team_mongosh_mongosh","unit-test"] depends_on: @@ -6025,6 +6727,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "true" + mongosh_install_workspace: "@mongosh/types" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} @@ -10401,6 +11104,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m60xc_n20 display_name: "MacOS 14 arm64 m60xc n20 (Unit tests)" @@ -10435,6 +11139,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m60xe_n20 display_name: "MacOS 14 arm64 m60xe n20 (Unit tests)" @@ -10469,6 +11174,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m70xc_n20 display_name: "MacOS 14 arm64 m70xc n20 (Unit tests)" @@ -10503,6 +11209,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m70xe_n20 display_name: "MacOS 14 arm64 m70xe n20 (Unit tests)" @@ -10537,6 +11244,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m80xc_n20 display_name: "MacOS 14 arm64 m80xc n20 (Unit tests)" @@ -10571,6 +11279,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m80xe_n20 display_name: "MacOS 14 arm64 m80xe n20 (Unit tests)" @@ -10605,6 +11314,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m82xc_n20 display_name: "MacOS 14 arm64 m82xc n20 (Unit tests)" @@ -10639,6 +11349,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m82xe_n20 display_name: "MacOS 14 arm64 m82xe n20 (Unit tests)" @@ -10673,6 +11384,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-mlatest_n20 display_name: "MacOS 14 arm64 mlatest n20 (Unit tests)" @@ -10707,6 +11419,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: linux-n20 display_name: "Ubuntu 20.04 x64 n20 (Unit tests)" @@ -10741,6 +11454,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m42xc_n20 display_name: "Ubuntu 20.04 x64 m42xc n20 (Unit tests)" @@ -10775,6 +11489,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m44xc_n20 display_name: "Ubuntu 20.04 x64 m44xc n20 (Unit tests)" @@ -10809,6 +11524,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m44xe_n20 display_name: "Ubuntu 20.04 x64 m44xe n20 (Unit tests)" @@ -10843,6 +11559,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m50xc_n20 display_name: "Ubuntu 20.04 x64 m50xc n20 (Unit tests)" @@ -10877,6 +11594,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m50xe_n20 display_name: "Ubuntu 20.04 x64 m50xe n20 (Unit tests)" @@ -10911,6 +11629,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m60xc_n20 display_name: "Ubuntu 20.04 x64 m60xc n20 (Unit tests)" @@ -10945,6 +11664,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m60xe_n20 display_name: "Ubuntu 20.04 x64 m60xe n20 (Unit tests)" @@ -10979,6 +11699,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m70xc_n20 display_name: "Ubuntu 20.04 x64 m70xc n20 (Unit tests)" @@ -11013,6 +11734,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m70xe_n20 display_name: "Ubuntu 20.04 x64 m70xe n20 (Unit tests)" @@ -11047,6 +11769,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m80xc_n20 display_name: "Ubuntu 20.04 x64 m80xc n20 (Unit tests)" @@ -11081,6 +11804,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m80xe_n20 display_name: "Ubuntu 20.04 x64 m80xe n20 (Unit tests)" @@ -11115,6 +11839,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m82xc_n20 display_name: "Ubuntu 20.04 x64 m82xc n20 (Unit tests)" @@ -11149,6 +11874,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m82xe_n20 display_name: "Ubuntu 20.04 x64 m82xe n20 (Unit tests)" @@ -11183,6 +11909,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-mlatest_n20 display_name: "Ubuntu 20.04 x64 mlatest n20 (Unit tests)" @@ -11217,6 +11944,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: win32-n20 display_name: "Windows n20 (Unit tests)" @@ -11250,6 +11978,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m42xc_n20 display_name: "Windows m42xc n20 (Unit tests)" @@ -11283,6 +12012,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m42xe_n20 display_name: "Windows m42xe n20 (Unit tests)" @@ -11316,6 +12046,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m44xc_n20 display_name: "Windows m44xc n20 (Unit tests)" @@ -11349,6 +12080,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m44xe_n20 display_name: "Windows m44xe n20 (Unit tests)" @@ -11382,6 +12114,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m50xc_n20 display_name: "Windows m50xc n20 (Unit tests)" @@ -11415,6 +12148,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m50xe_n20 display_name: "Windows m50xe n20 (Unit tests)" @@ -11448,6 +12182,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m60xc_n20 display_name: "Windows m60xc n20 (Unit tests)" @@ -11481,6 +12216,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m60xe_n20 display_name: "Windows m60xe n20 (Unit tests)" @@ -11514,6 +12250,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m70xc_n20 display_name: "Windows m70xc n20 (Unit tests)" @@ -11547,6 +12284,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m70xe_n20 display_name: "Windows m70xe n20 (Unit tests)" @@ -11580,6 +12318,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m80xc_n20 display_name: "Windows m80xc n20 (Unit tests)" @@ -11613,6 +12352,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m80xe_n20 display_name: "Windows m80xe n20 (Unit tests)" @@ -11646,6 +12386,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m82xc_n20 display_name: "Windows m82xc n20 (Unit tests)" @@ -11679,6 +12420,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m82xe_n20 display_name: "Windows m82xe n20 (Unit tests)" @@ -11712,6 +12454,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-mlatest_n20 display_name: "Windows mlatest n20 (Unit tests)" @@ -11745,6 +12488,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: darwin-n24 display_name: "MacOS 14 arm64 n24 (Unit tests)" @@ -11779,6 +12523,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m60xc_n24 display_name: "MacOS 14 arm64 m60xc n24 (Unit tests)" @@ -11813,6 +12558,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m60xe_n24 display_name: "MacOS 14 arm64 m60xe n24 (Unit tests)" @@ -11847,6 +12593,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m70xc_n24 display_name: "MacOS 14 arm64 m70xc n24 (Unit tests)" @@ -11881,6 +12628,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m70xe_n24 display_name: "MacOS 14 arm64 m70xe n24 (Unit tests)" @@ -11915,6 +12663,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m80xc_n24 display_name: "MacOS 14 arm64 m80xc n24 (Unit tests)" @@ -11949,6 +12698,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m80xe_n24 display_name: "MacOS 14 arm64 m80xe n24 (Unit tests)" @@ -11983,6 +12733,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m82xc_n24 display_name: "MacOS 14 arm64 m82xc n24 (Unit tests)" @@ -12017,6 +12768,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-m82xe_n24 display_name: "MacOS 14 arm64 m82xe n24 (Unit tests)" @@ -12051,6 +12803,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_darwin-mlatest_n24 display_name: "MacOS 14 arm64 mlatest n24 (Unit tests)" @@ -12085,6 +12838,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: linux-n24 display_name: "Ubuntu 20.04 x64 n24 (Unit tests)" @@ -12119,6 +12873,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m42xc_n24 display_name: "Ubuntu 20.04 x64 m42xc n24 (Unit tests)" @@ -12153,6 +12908,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m44xc_n24 display_name: "Ubuntu 20.04 x64 m44xc n24 (Unit tests)" @@ -12187,6 +12943,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m44xe_n24 display_name: "Ubuntu 20.04 x64 m44xe n24 (Unit tests)" @@ -12221,6 +12978,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m50xc_n24 display_name: "Ubuntu 20.04 x64 m50xc n24 (Unit tests)" @@ -12255,6 +13013,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m50xe_n24 display_name: "Ubuntu 20.04 x64 m50xe n24 (Unit tests)" @@ -12289,6 +13048,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m60xc_n24 display_name: "Ubuntu 20.04 x64 m60xc n24 (Unit tests)" @@ -12323,6 +13083,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m60xe_n24 display_name: "Ubuntu 20.04 x64 m60xe n24 (Unit tests)" @@ -12357,6 +13118,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m70xc_n24 display_name: "Ubuntu 20.04 x64 m70xc n24 (Unit tests)" @@ -12391,6 +13153,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m70xe_n24 display_name: "Ubuntu 20.04 x64 m70xe n24 (Unit tests)" @@ -12425,6 +13188,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m80xc_n24 display_name: "Ubuntu 20.04 x64 m80xc n24 (Unit tests)" @@ -12459,6 +13223,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m80xe_n24 display_name: "Ubuntu 20.04 x64 m80xe n24 (Unit tests)" @@ -12493,6 +13258,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m82xc_n24 display_name: "Ubuntu 20.04 x64 m82xc n24 (Unit tests)" @@ -12527,6 +13293,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-m82xe_n24 display_name: "Ubuntu 20.04 x64 m82xe n24 (Unit tests)" @@ -12561,6 +13328,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_linux-mlatest_n24 display_name: "Ubuntu 20.04 x64 mlatest n24 (Unit tests)" @@ -12595,6 +13363,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: win32-n24 display_name: "Windows n24 (Unit tests)" @@ -12628,6 +13397,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m42xc_n24 display_name: "Windows m42xc n24 (Unit tests)" @@ -12661,6 +13431,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m42xe_n24 display_name: "Windows m42xe n24 (Unit tests)" @@ -12694,6 +13465,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m44xc_n24 display_name: "Windows m44xc n24 (Unit tests)" @@ -12727,6 +13499,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m44xe_n24 display_name: "Windows m44xe n24 (Unit tests)" @@ -12760,6 +13533,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m50xc_n24 display_name: "Windows m50xc n24 (Unit tests)" @@ -12793,6 +13567,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m50xe_n24 display_name: "Windows m50xe n24 (Unit tests)" @@ -12826,6 +13601,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m60xc_n24 display_name: "Windows m60xc n24 (Unit tests)" @@ -12859,6 +13635,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m60xe_n24 display_name: "Windows m60xe n24 (Unit tests)" @@ -12892,6 +13669,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m70xc_n24 display_name: "Windows m70xc n24 (Unit tests)" @@ -12925,6 +13703,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m70xe_n24 display_name: "Windows m70xe n24 (Unit tests)" @@ -12958,6 +13737,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m80xc_n24 display_name: "Windows m80xc n24 (Unit tests)" @@ -12991,6 +13771,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m80xe_n24 display_name: "Windows m80xe n24 (Unit tests)" @@ -13024,6 +13805,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m82xc_n24 display_name: "Windows m82xc n24 (Unit tests)" @@ -13057,6 +13839,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-m82xe_n24 display_name: "Windows m82xe n24 (Unit tests)" @@ -13090,6 +13873,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: tests_win32-mlatest_n24 display_name: "Windows mlatest n24 (Unit tests)" @@ -13123,6 +13907,7 @@ buildvariants: - name: test_shell_bson - name: test_shell_evaluator - name: test_snippet_manager + - name: test_testing - name: test_types - name: build_linux_x64 display_name: "RHEL 7.0 x64 (Build)" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 37aa6caa7..134ef6511 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -172,6 +172,7 @@ functions: DISTRO_ID: ${distro_id} MONOGDB_DRIVER_VERSION_OVERRIDE: ${mongodb_driver_version_override} PUPPETEER_SKIP_DOWNLOAD: ${puppeteer_skip_download|true} + MONGOSH_INSTALL_WORKSPACE: ${mongosh_install_workspace|} script: | set -e set -x @@ -1167,6 +1168,7 @@ tasks: vars: node_js_version: ${node_js_version} puppeteer_skip_download: "<% out(usePuppeteer ? "false" : "true") %>" + mongosh_install_workspace: "@mongosh/<% out(packageName) %>" - func: test vars: mongosh_server_test_version: ${mongosh_server_test_version} diff --git a/.evergreen/install-npm-deps.sh b/.evergreen/install-npm-deps.sh index 1752a52b4..928edc84b 100755 --- a/.evergreen/install-npm-deps.sh +++ b/.evergreen/install-npm-deps.sh @@ -5,7 +5,13 @@ export BASEDIR="$PWD/.evergreen" . "$BASEDIR/setup-env.sh" -npm ci --verbose +# If MONGOSH_INSTALL_WORKSPACE is set, install only that workspace +if [[ -n "$MONGOSH_INSTALL_WORKSPACE" ]]; then + echo "Installing workspace: $MONGOSH_INSTALL_WORKSPACE" + npm ci -w "$MONGOSH_INSTALL_WORKSPACE" --include-workspace-root --verbose +else + npm ci --verbose +fi echo "MONOGDB_DRIVER_VERSION_OVERRIDE:$MONOGDB_DRIVER_VERSION_OVERRIDE" # if MONOGDB_DRIVER_VERSION_OVERRIDE is set, then we want to replace the package version @@ -28,7 +34,17 @@ npm run mark-ci-required-optional-dependencies # mongodb-client-encryption failed to install (it can't install on some # platforms), then install again ignoring scripts so that the package installs # along with its types, but npm wouldn't try and compile the addon -(npm ci && test -e node_modules/mongodb-client-encryption) || npm ci --ignore-scripts +if [[ -n "$MONGOSH_INSTALL_WORKSPACE" ]]; then + # Check if the workspace or root actually depends on mongodb-client-encryption + if npm ls --workspace "$MONGOSH_INSTALL_WORKSPACE" --depth=1 mongodb-client-encryption > /dev/null 2>&1; then + echo "Workspace or root depends on mongodb-client-encryption, retrying install with optional deps..." + (npm ci -w "$MONGOSH_INSTALL_WORKSPACE" --include-workspace-root && test -e node_modules/mongodb-client-encryption) || npm ci -w "$MONGOSH_INSTALL_WORKSPACE" --include-workspace-root --ignore-scripts + else + echo "Workspace does not depend on mongodb-client-encryption, skipping optional deps reinstall" + fi +else + (npm ci && test -e node_modules/mongodb-client-encryption) || npm ci --ignore-scripts +fi echo "npm packages after installation" npm ls || true diff --git a/package-lock.json b/package-lock.json index 378cd7f54..6339c1ffe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37159,168 +37159,13 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "eslint": "^7.25.0", - "mocha": "^10.2.0", + "mocha": "^11.7.5", "prettier": "^2.8.8" }, "engines": { "node": ">=14.15.1" } }, - "packages/autocomplete/node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "packages/autocomplete/node_modules/debug": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", - "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "packages/autocomplete/node_modules/diff": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", - "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "packages/autocomplete/node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "packages/autocomplete/node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/autocomplete/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "packages/autocomplete/node_modules/mocha": { - "version": "10.8.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.8.2.tgz", - "integrity": "sha512-VZlYo/WE8t1tstuRmqgeyBgCbJc/lEdopaa+axcKzTBJ+UIdlAB9XnmvTCAH4pwR4ElNInaedhEBmZD8iCSVEg==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-colors": "^4.1.3", - "browser-stdout": "^1.3.1", - "chokidar": "^3.5.3", - "debug": "^4.3.5", - "diff": "^5.2.0", - "escape-string-regexp": "^4.0.0", - "find-up": "^5.0.0", - "glob": "^8.1.0", - "he": "^1.2.0", - "js-yaml": "^4.1.0", - "log-symbols": "^4.1.0", - "minimatch": "^5.1.6", - "ms": "^2.1.3", - "serialize-javascript": "^6.0.2", - "strip-json-comments": "^3.1.1", - "supports-color": "^8.1.1", - "workerpool": "^6.5.1", - "yargs": "^16.2.0", - "yargs-parser": "^20.2.9", - "yargs-unparser": "^2.0.0" - }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha.js" - }, - "engines": { - "node": ">= 14.0.0" - } - }, - "packages/autocomplete/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true, - "license": "MIT" - }, - "packages/autocomplete/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "packages/autocomplete/node_modules/workerpool": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz", - "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==", - "dev": true, - "license": "Apache-2.0" - }, "packages/browser-repl": { "name": "@mongosh/browser-repl", "version": "3.29.0", diff --git a/packages/autocomplete/package.json b/packages/autocomplete/package.json index a5b70ffcc..eb6af1d8d 100644 --- a/packages/autocomplete/package.json +++ b/packages/autocomplete/package.json @@ -37,7 +37,7 @@ "@mongodb-js/prettier-config-devtools": "^1.0.1", "@mongodb-js/tsconfig-mongosh": "^1.0.0", "eslint": "^7.25.0", - "mocha": "^10.2.0", + "mocha": "^11.7.5", "prettier": "^2.8.8" }, "dependencies": {