Skip to content

Commit ff93c05

Browse files
committed
Merge branch 'add_download_script' of github.com:FGasper/mongosh into add_download_script
2 parents 3e1404b + 73fe093 commit ff93c05

File tree

147 files changed

+2944
-1315
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+2944
-1315
lines changed

.evergreen.yml

Lines changed: 261 additions & 150 deletions
Large diffs are not rendered by default.

.evergreen/constants.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ exports.MONGODB_VERSIONS = [
3737
{ shortName: '70xe', versionSpec: '7.0.x-enterprise' },
3838
{ shortName: '80xc', versionSpec: '8.0.x' },
3939
{ shortName: '80xe', versionSpec: '8.0.x-enterprise' },
40-
{ shortName: '82rc', versionSpec: '8.2.0-rc4' },
41-
{ shortName: '82rce', versionSpec: '8.2.0-rc4-enterprise' },
40+
{ shortName: '82xc', versionSpec: '8.2.0' },
41+
{ shortName: '82xe', versionSpec: '8.2.0-enterprise' },
4242
{ shortName: 'latest', versionSpec: 'latest-alpha-enterprise' },
4343
];
4444

.evergreen/evergreen.yml.in

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,16 +324,18 @@ functions:
324324
working_dir: src
325325
shell: bash
326326
env:
327-
NODE_JS_VERSION: ${node_js_version}
328327
DOCKERHUB_USERNAME: ${dockerhub_username}
329328
DOCKERHUB_PASSWORD: ${dockerhub_password}
330329
script: |
331330
set -e
332331
{
333332
source .evergreen/setup-env.sh
334-
(cd scripts/docker && docker build -t ubuntu22.04-xvfb -f ubuntu22.04-xvfb.Dockerfile .)
333+
# Fetch Node.js version from VS Code's .nvmrc, default to 22.20.0 if unavailable
334+
export NODE_VERSION=$(curl -fsSL https://raw.githubusercontent.com/microsoft/vscode/refs/heads/main/.nvmrc | tr -d '[:space:]' || echo "22.20.0")
335+
echo "Using Node.js version for VS Code extension tests: $NODE_VERSION"
336+
(cd scripts/docker && docker build --build-arg NODE_JS_VERSION="$NODE_VERSION" -t ubuntu24.04-xvfb -f ubuntu24.04-xvfb.Dockerfile .)
335337
docker run \
336-
--rm -v $PWD:/tmp/build ubuntu22.04-xvfb \
338+
--rm -v $PWD:/tmp/build ubuntu24.04-xvfb \
337339
-c 'cd /tmp/build && ./testing/test-vscode.sh'
338340
}
339341
test_connectivity:
@@ -1189,7 +1191,6 @@ tasks:
11891191
node_js_version: "<% out(NODE_JS_VERSION_20) %>"
11901192
- func: test_vscode
11911193
vars:
1192-
node_js_version: "<% out(NODE_JS_VERSION_20) %>"
11931194
task_name: ${task_name}
11941195
- name: test_connectivity
11951196
tags: ["extra-integration-test", "assigned_to_jira_team_mongosh_mongosh"]
@@ -1611,6 +1612,8 @@ buildvariants:
16111612
display_name: "Ubuntu 20.04 x64 (Other Tests)"
16121613
run_on: ubuntu2004-small
16131614
tags: ["nightly-driver"]
1615+
expansions:
1616+
node_js_version: "<% out(NODE_JS_VERSION_20) %>"
16141617
tasks:
16151618
- name: test_vscode
16161619
- name: test_connectivity

.evergreen/node-20-latest.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"end": "2026-04-30T00:00:00.000Z",
1313
"releaseDate": "2025-09-03T00:00:00.000Z",
1414
"isLts": true,
15+
"isSupported": true,
16+
"isMaintenance": true,
17+
"isSecurity": false,
18+
"modules": "115",
1519
"files": [
1620
"aix-ppc64",
1721
"headers",

.github/workflows/bump-auxiliary-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- uses: actions/setup-node@v4
3737
with:
38-
node-version: 20.16.0
38+
node-version: ^20.x
3939
cache: "npm"
4040

4141
- name: Install [email protected]

.github/workflows/publish-auxiliary-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: "Use Node.js 20"
4848
uses: actions/setup-node@v4
4949
with:
50-
node-version: 20.16.0
50+
node-version: ^20.x
5151

5252
- name: Install [email protected]
5353
run: npm install -g [email protected]

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ Zeroday BYTE <[email protected]>
5757
Davenson Lombard <[email protected]>
5858
Alessandro Miliucci <[email protected]>
5959
Ahmad Shah <[email protected]>
60+
Kush Patel <[email protected]>

THIRD_PARTY_NOTICES.md

Lines changed: 118 additions & 49 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)