Skip to content

Commit 1eb0e28

Browse files
Merge branch 'main' into NODE-6502
2 parents 737e74e + ed25d56 commit 1eb0e28

File tree

204 files changed

+12254
-2171
lines changed

Some content is hidden

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

204 files changed

+12254
-2171
lines changed

.evergreen/config.in.yml

Lines changed: 170 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,7 @@ functions:
11061106
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
11071107
MONGODB_URI: ${MONGODB_URI}
11081108
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
1109+
MONGODB_CLIENT_OPTIONS: ${MONGODB_CLIENT_OPTIONS}
11091110
binary: bash
11101111
args:
11111112
- ${PROJECT_DIRECTORY}/.evergreen/run-benchmarks.sh
@@ -1150,7 +1151,7 @@ tasks:
11501151
- func: bootstrap kms servers
11511152
- func: "run serverless tests"
11521153

1153-
- name: run-spec-benchmark-tests-node-18-server-6.0
1154+
- name: run-spec-benchmark-tests-node-server
11541155
tags:
11551156
- run-spec-benchmark-tests
11561157
- performance
@@ -1160,11 +1161,54 @@ tasks:
11601161
type: setup
11611162
params:
11621163
updates:
1163-
- { key: NODE_LTS_VERSION, value: v18.16.0 }
1164-
- { key: NPM_VERSION, value: "9" }
1164+
- { key: NODE_LTS_VERSION, value: v22.11.0 }
1165+
- { key: VERSION, value: v6.0-perf }
1166+
- { key: TOPOLOGY, value: server }
1167+
- { key: AUTH, value: noauth }
1168+
- func: install dependencies
1169+
- func: bootstrap mongo-orchestration
1170+
- func: run spec driver benchmarks
1171+
- command: perf.send
1172+
params:
1173+
file: src/results.json
1174+
1175+
- name: run-spec-benchmark-tests-node-server-timeoutMS-120000
1176+
tags:
1177+
- run-spec-benchmark-tests
1178+
- performance
1179+
exec_timeout_secs: 3600
1180+
commands:
1181+
- command: expansions.update
1182+
type: setup
1183+
params:
1184+
updates:
1185+
- { key: NODE_LTS_VERSION, value: v22.11.0 }
1186+
- { key: VERSION, value: v6.0-perf }
1187+
- { key: TOPOLOGY, value: server }
1188+
- { key: AUTH, value: noauth }
1189+
- { key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS": 120000}' }
1190+
- func: install dependencies
1191+
- func: bootstrap mongo-orchestration
1192+
- func: run spec driver benchmarks
1193+
- command: perf.send
1194+
params:
1195+
file: src/results.json
1196+
1197+
- name: run-spec-benchmark-tests-node-server-timeoutMS-0
1198+
tags:
1199+
- run-spec-benchmark-tests
1200+
- performance
1201+
exec_timeout_secs: 3600
1202+
commands:
1203+
- command: expansions.update
1204+
type: setup
1205+
params:
1206+
updates:
1207+
- { key: NODE_LTS_VERSION, value: v22.11.0 }
11651208
- { key: VERSION, value: v6.0-perf }
11661209
- { key: TOPOLOGY, value: server }
11671210
- { key: AUTH, value: noauth }
1211+
- { key: MONGODB_CLIENT_OPTIONS, value: '{"timeoutMS": 0}' }
11681212
- func: install dependencies
11691213
- func: bootstrap mongo-orchestration
11701214
- func: run spec driver benchmarks
@@ -1269,6 +1313,60 @@ tasks:
12691313
args:
12701314
- src/.evergreen/run-azure-kms-tests.sh
12711315

1316+
- name: "oidc-auth-test-k8s-latest-eks"
1317+
commands:
1318+
- func: "install dependencies"
1319+
- command: subprocess.exec
1320+
type: test
1321+
params:
1322+
working_dir: src
1323+
binary: bash
1324+
env:
1325+
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
1326+
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
1327+
ENVIRONMENT: k8s
1328+
K8S_VARIANT: eks
1329+
SCRIPT: run-oidc-prose-tests.sh
1330+
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
1331+
args:
1332+
- .evergreen/run-oidc-tests-k8s.sh
1333+
1334+
- name: "oidc-auth-test-k8s-latest-gke"
1335+
commands:
1336+
- func: "install dependencies"
1337+
- command: subprocess.exec
1338+
type: test
1339+
params:
1340+
working_dir: src
1341+
binary: bash
1342+
env:
1343+
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
1344+
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
1345+
ENVIRONMENT: k8s
1346+
K8S_VARIANT: gke
1347+
SCRIPT: run-oidc-prose-tests.sh
1348+
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
1349+
args:
1350+
- .evergreen/run-oidc-tests-k8s.sh
1351+
1352+
- name: "oidc-auth-test-k8s-latest-aks"
1353+
commands:
1354+
- func: "install dependencies"
1355+
- command: subprocess.exec
1356+
type: test
1357+
params:
1358+
working_dir: src
1359+
binary: bash
1360+
env:
1361+
DRIVERS_TOOLS: ${DRIVERS_TOOLS}
1362+
PROJECT_DIRECTORY: ${PROJECT_DIRECTORY}
1363+
ENVIRONMENT: k8s
1364+
K8S_VARIANT: aks
1365+
SCRIPT: run-oidc-prose-tests.sh
1366+
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
1367+
args:
1368+
- .evergreen/run-oidc-tests-k8s.sh
1369+
12721370
- name: "oidc-auth-test-azure-latest"
12731371
commands:
12741372
- func: "install dependencies"
@@ -1479,6 +1577,72 @@ task_groups:
14791577
tasks:
14801578
- test-azurekms-task
14811579

1580+
- name: testk8soidc_task_group_eks
1581+
setup_group:
1582+
- func: fetch source
1583+
- command: ec2.assume_role
1584+
params:
1585+
role_arn: ${OIDC_AWS_ROLE_ARN}
1586+
- command: subprocess.exec
1587+
params:
1588+
binary: bash
1589+
args:
1590+
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
1591+
teardown_task:
1592+
- command: subprocess.exec
1593+
params:
1594+
binary: bash
1595+
args:
1596+
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
1597+
setup_group_can_fail_task: true
1598+
setup_group_timeout_secs: 1800
1599+
tasks:
1600+
- oidc-auth-test-k8s-latest-eks
1601+
1602+
- name: testk8soidc_task_group_gke
1603+
setup_group:
1604+
- func: fetch source
1605+
- command: ec2.assume_role
1606+
params:
1607+
role_arn: ${OIDC_AWS_ROLE_ARN}
1608+
- command: subprocess.exec
1609+
params:
1610+
binary: bash
1611+
args:
1612+
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
1613+
teardown_task:
1614+
- command: subprocess.exec
1615+
params:
1616+
binary: bash
1617+
args:
1618+
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
1619+
setup_group_can_fail_task: true
1620+
setup_group_timeout_secs: 1800
1621+
tasks:
1622+
- oidc-auth-test-k8s-latest-gke
1623+
1624+
- name: testk8soidc_task_group_aks
1625+
setup_group:
1626+
- func: fetch source
1627+
- command: ec2.assume_role
1628+
params:
1629+
role_arn: ${OIDC_AWS_ROLE_ARN}
1630+
- command: subprocess.exec
1631+
params:
1632+
binary: bash
1633+
args:
1634+
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/setup.sh
1635+
teardown_task:
1636+
- command: subprocess.exec
1637+
params:
1638+
binary: bash
1639+
args:
1640+
- ${DRIVERS_TOOLS}/.evergreen/auth_oidc/k8s/teardown.sh
1641+
setup_group_can_fail_task: true
1642+
setup_group_timeout_secs: 1800
1643+
tasks:
1644+
- oidc-auth-test-k8s-latest-aks
1645+
14821646
- name: testtestoidc_task_group
14831647
setup_group:
14841648
- func: fetch source
@@ -1619,4 +1783,6 @@ buildvariants:
16191783
display_name: Performance Test
16201784
run_on: rhel90-dbx-perf-large
16211785
tasks:
1622-
- run-spec-benchmark-tests-node-18-server-6.0
1786+
- run-spec-benchmark-tests-node-server
1787+
- run-spec-benchmark-tests-node-server-timeoutMS-120000
1788+
- run-spec-benchmark-tests-node-server-timeoutMS-0

0 commit comments

Comments
 (0)