Skip to content

Commit b6c85f4

Browse files
authored
ci: use perf distro and pinned server and node versions for testing (#3702)
1 parent ab59a3a commit b6c85f4

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.evergreen/config.in.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,18 +1134,18 @@ tasks:
11341134
- func: bootstrap kms servers
11351135
- func: "run serverless tests"
11361136

1137-
- name: run-spec-benchmark-tests
1137+
- name: run-spec-benchmark-tests-node-18-server-6.0
11381138
tags:
11391139
- run-spec-benchmark-tests
11401140
- performance
11411141
exec_timeout_secs: 3600
11421142
commands:
11431143
- func: install dependencies
11441144
vars:
1145-
NODE_LTS_VERSION: 18
1145+
NODE_LTS_VERSION: v18.16.0
11461146
- func: bootstrap mongo-orchestration
11471147
vars:
1148-
VERSION: rapid
1148+
VERSION: v6.0-perf
11491149
TOPOLOGY: server
11501150
AUTH: noauth
11511151
- func: run spec driver benchmarks
@@ -1407,6 +1407,6 @@ ignore:
14071407
buildvariants:
14081408
- name: performance-tests
14091409
display_name: Performance Test
1410-
run_on: rhel80-large
1410+
run_on: rhel90-dbx-perf-large
14111411
tasks:
1412-
- run-spec-benchmark-tests
1412+
- run-spec-benchmark-tests-node-18-server-6.0

.evergreen/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,18 +1069,18 @@ tasks:
10691069
- func: install dependencies
10701070
- func: bootstrap kms servers
10711071
- func: run serverless tests
1072-
- name: run-spec-benchmark-tests
1072+
- name: run-spec-benchmark-tests-node-18-server-6.0
10731073
tags:
10741074
- run-spec-benchmark-tests
10751075
- performance
10761076
exec_timeout_secs: 3600
10771077
commands:
10781078
- func: install dependencies
10791079
vars:
1080-
NODE_LTS_VERSION: 18
1080+
NODE_LTS_VERSION: v18.16.0
10811081
- func: bootstrap mongo-orchestration
10821082
vars:
1083-
VERSION: rapid
1083+
VERSION: v6.0-perf
10841084
TOPOLOGY: server
10851085
AUTH: noauth
10861086
- func: run spec driver benchmarks
@@ -3465,9 +3465,9 @@ ignore:
34653465
buildvariants:
34663466
- name: performance-tests
34673467
display_name: Performance Test
3468-
run_on: rhel80-large
3468+
run_on: rhel90-dbx-perf-large
34693469
tasks:
3470-
- run-spec-benchmark-tests
3470+
- run-spec-benchmark-tests-node-18-server-6.0
34713471
- name: rhel80-large-fermium
34723472
display_name: rhel8 Node14
34733473
run_on: rhel80-large

.evergreen/install-dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ while IFS=$'\t' read -r -a row; do
3636
node_index_lts="${row[9]}"
3737
[[ "$node_index_version" = "version" ]] && continue # skip tsv header
3838
[[ "$NODE_LTS_VERSION" = "latest" ]] && break # first line is latest
39+
[[ "$NODE_LTS_VERSION" = "$node_index_version" ]] && break # match full version if specified
3940
[[ "$NODE_LTS_VERSION" = "$node_index_major_version" ]] && break # case insensitive compare
4041
done < node_index.tab
4142

0 commit comments

Comments
 (0)