Skip to content

Commit ddb7d81

Browse files
test(NODE-4216): add 6.0 server to CI matrix (#3227)
1 parent 6d3947b commit ddb7d81

File tree

2 files changed

+189
-4
lines changed

2 files changed

+189
-4
lines changed

.evergreen/config.yml

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,45 @@ tasks:
839839
AUTH: auth
840840
- func: bootstrap kms servers
841841
- func: run tests
842+
- name: test-6.0-server
843+
tags:
844+
- '6.0'
845+
- server
846+
commands:
847+
- func: install dependencies
848+
- func: bootstrap mongo-orchestration
849+
vars:
850+
VERSION: '6.0'
851+
TOPOLOGY: server
852+
AUTH: auth
853+
- func: bootstrap kms servers
854+
- func: run tests
855+
- name: test-6.0-replica_set
856+
tags:
857+
- '6.0'
858+
- replica_set
859+
commands:
860+
- func: install dependencies
861+
- func: bootstrap mongo-orchestration
862+
vars:
863+
VERSION: '6.0'
864+
TOPOLOGY: replica_set
865+
AUTH: auth
866+
- func: bootstrap kms servers
867+
- func: run tests
868+
- name: test-6.0-sharded_cluster
869+
tags:
870+
- '6.0'
871+
- sharded_cluster
872+
commands:
873+
- func: install dependencies
874+
- func: bootstrap mongo-orchestration
875+
vars:
876+
VERSION: '6.0'
877+
TOPOLOGY: sharded_cluster
878+
AUTH: auth
879+
- func: bootstrap kms servers
880+
- func: run tests
842881
- name: test-5.0-server
843882
tags:
844883
- '5.0'
@@ -1126,6 +1165,17 @@ tasks:
11261165
SSL: ssl
11271166
TOPOLOGY: server
11281167
- func: run tls tests
1168+
- name: test-tls-support-6.0
1169+
tags:
1170+
- tls-support
1171+
commands:
1172+
- func: install dependencies
1173+
- func: bootstrap mongo-orchestration
1174+
vars:
1175+
VERSION: '6.0'
1176+
SSL: ssl
1177+
TOPOLOGY: server
1178+
- func: run tls tests
11291179
- name: test-tls-support-5.0
11301180
tags:
11311181
- tls-support
@@ -1231,6 +1281,78 @@ tasks:
12311281
- func: add aws auth variables to file
12321282
- func: setup aws env
12331283
- func: run aws ECS auth test
1284+
- name: aws-6.0-auth-test-run-aws-auth-test-with-regular-aws-credentials
1285+
commands:
1286+
- func: install dependencies
1287+
- func: bootstrap mongo-orchestration
1288+
vars:
1289+
VERSION: '6.0'
1290+
AUTH: auth
1291+
ORCHESTRATION_FILE: auth-aws.json
1292+
TOPOLOGY: server
1293+
- func: add aws auth variables to file
1294+
- func: setup aws env
1295+
- func: run aws auth test with regular aws credentials
1296+
- name: aws-6.0-auth-test-run-aws-auth-test-with-assume-role-credentials
1297+
commands:
1298+
- func: install dependencies
1299+
- func: bootstrap mongo-orchestration
1300+
vars:
1301+
VERSION: '6.0'
1302+
AUTH: auth
1303+
ORCHESTRATION_FILE: auth-aws.json
1304+
TOPOLOGY: server
1305+
- func: add aws auth variables to file
1306+
- func: setup aws env
1307+
- func: run aws auth test with assume role credentials
1308+
- name: aws-6.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials
1309+
commands:
1310+
- func: install dependencies
1311+
- func: bootstrap mongo-orchestration
1312+
vars:
1313+
VERSION: '6.0'
1314+
AUTH: auth
1315+
ORCHESTRATION_FILE: auth-aws.json
1316+
TOPOLOGY: server
1317+
- func: add aws auth variables to file
1318+
- func: setup aws env
1319+
- func: run aws auth test with aws EC2 credentials
1320+
- name: aws-6.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables
1321+
commands:
1322+
- func: install dependencies
1323+
- func: bootstrap mongo-orchestration
1324+
vars:
1325+
VERSION: '6.0'
1326+
AUTH: auth
1327+
ORCHESTRATION_FILE: auth-aws.json
1328+
TOPOLOGY: server
1329+
- func: add aws auth variables to file
1330+
- func: setup aws env
1331+
- func: run aws auth test with aws credentials as environment variables
1332+
- name: aws-6.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables
1333+
commands:
1334+
- func: install dependencies
1335+
- func: bootstrap mongo-orchestration
1336+
vars:
1337+
VERSION: '6.0'
1338+
AUTH: auth
1339+
ORCHESTRATION_FILE: auth-aws.json
1340+
TOPOLOGY: server
1341+
- func: add aws auth variables to file
1342+
- func: setup aws env
1343+
- func: run aws auth test with aws credentials and session token as environment variables
1344+
- name: aws-6.0-auth-test-run-aws-ECS-auth-test
1345+
commands:
1346+
- func: install dependencies
1347+
- func: bootstrap mongo-orchestration
1348+
vars:
1349+
VERSION: '6.0'
1350+
AUTH: auth
1351+
ORCHESTRATION_FILE: auth-aws.json
1352+
TOPOLOGY: server
1353+
- func: add aws auth variables to file
1354+
- func: setup aws env
1355+
- func: run aws ECS auth test
12341356
- name: aws-5.0-auth-test-run-aws-auth-test-with-regular-aws-credentials
12351357
commands:
12361358
- func: install dependencies
@@ -1507,6 +1629,48 @@ tasks:
15071629
AUTH: noauth
15081630
- func: bootstrap kms servers
15091631
- func: run tests
1632+
- name: test-6.0-server-noauth
1633+
tags:
1634+
- '6.0'
1635+
- server
1636+
- noauth
1637+
commands:
1638+
- func: install dependencies
1639+
- func: bootstrap mongo-orchestration
1640+
vars:
1641+
VERSION: '6.0'
1642+
TOPOLOGY: server
1643+
AUTH: noauth
1644+
- func: bootstrap kms servers
1645+
- func: run tests
1646+
- name: test-6.0-replica_set-noauth
1647+
tags:
1648+
- '6.0'
1649+
- replica_set
1650+
- noauth
1651+
commands:
1652+
- func: install dependencies
1653+
- func: bootstrap mongo-orchestration
1654+
vars:
1655+
VERSION: '6.0'
1656+
TOPOLOGY: replica_set
1657+
AUTH: noauth
1658+
- func: bootstrap kms servers
1659+
- func: run tests
1660+
- name: test-6.0-sharded_cluster-noauth
1661+
tags:
1662+
- '6.0'
1663+
- sharded_cluster
1664+
- noauth
1665+
commands:
1666+
- func: install dependencies
1667+
- func: bootstrap mongo-orchestration
1668+
vars:
1669+
VERSION: '6.0'
1670+
TOPOLOGY: sharded_cluster
1671+
AUTH: noauth
1672+
- func: bootstrap kms servers
1673+
- func: run tests
15101674
- name: test-5.0-server-noauth
15111675
tags:
15121676
- '5.0'
@@ -1775,6 +1939,9 @@ buildvariants:
17751939
- test-latest-server
17761940
- test-latest-replica_set
17771941
- test-latest-sharded_cluster
1942+
- test-6.0-server
1943+
- test-6.0-replica_set
1944+
- test-6.0-sharded_cluster
17781945
- test-5.0-server
17791946
- test-5.0-replica_set
17801947
- test-5.0-sharded_cluster
@@ -1798,6 +1965,7 @@ buildvariants:
17981965
- test-socks5
17991966
- test-socks5-tls
18001967
- test-tls-support-latest
1968+
- test-tls-support-6.0
18011969
- test-tls-support-5.0
18021970
- test-tls-support-4.4
18031971
- test-tls-support-4.2
@@ -1825,6 +1993,9 @@ buildvariants:
18251993
- test-latest-server
18261994
- test-latest-replica_set
18271995
- test-latest-sharded_cluster
1996+
- test-6.0-server
1997+
- test-6.0-replica_set
1998+
- test-6.0-sharded_cluster
18281999
- test-5.0-server
18292000
- test-5.0-replica_set
18302001
- test-5.0-sharded_cluster
@@ -1849,6 +2020,7 @@ buildvariants:
18492020
- test-socks5
18502021
- test-socks5-tls
18512022
- test-tls-support-latest
2023+
- test-tls-support-6.0
18522024
- test-tls-support-5.0
18532025
- test-tls-support-4.4
18542026
- test-tls-support-4.2
@@ -1876,6 +2048,9 @@ buildvariants:
18762048
- test-latest-server
18772049
- test-latest-replica_set
18782050
- test-latest-sharded_cluster
2051+
- test-6.0-server
2052+
- test-6.0-replica_set
2053+
- test-6.0-sharded_cluster
18792054
- test-5.0-server
18802055
- test-5.0-replica_set
18812056
- test-5.0-sharded_cluster
@@ -1896,6 +2071,7 @@ buildvariants:
18962071
- test-socks5
18972072
- test-socks5-tls
18982073
- test-tls-support-latest
2074+
- test-tls-support-6.0
18992075
- test-tls-support-5.0
19002076
- test-tls-support-4.4
19012077
- test-tls-support-4.2
@@ -1939,6 +2115,12 @@ buildvariants:
19392115
- aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables
19402116
- aws-latest-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables
19412117
- aws-latest-auth-test-run-aws-ECS-auth-test
2118+
- aws-6.0-auth-test-run-aws-auth-test-with-regular-aws-credentials
2119+
- aws-6.0-auth-test-run-aws-auth-test-with-assume-role-credentials
2120+
- aws-6.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials
2121+
- aws-6.0-auth-test-run-aws-auth-test-with-aws-credentials-as-environment-variables
2122+
- aws-6.0-auth-test-run-aws-auth-test-with-aws-credentials-and-session-token-as-environment-variables
2123+
- aws-6.0-auth-test-run-aws-ECS-auth-test
19422124
- aws-5.0-auth-test-run-aws-auth-test-with-regular-aws-credentials
19432125
- aws-5.0-auth-test-run-aws-auth-test-with-assume-role-credentials
19442126
- aws-5.0-auth-test-run-aws-auth-test-with-aws-EC2-credentials
@@ -1974,6 +2156,9 @@ buildvariants:
19742156
- test-latest-server-noauth
19752157
- test-latest-replica_set-noauth
19762158
- test-latest-sharded_cluster-noauth
2159+
- test-6.0-server-noauth
2160+
- test-6.0-replica_set-noauth
2161+
- test-6.0-sharded_cluster-noauth
19772162
- test-5.0-server-noauth
19782163
- test-5.0-replica_set-noauth
19792164
- test-5.0-sharded_cluster-noauth

.evergreen/generate_evergreen_tasks.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ const semver = require('semver');
22
const fs = require('fs');
33
const yaml = require('js-yaml');
44

5-
const LATEST_EFFECTIVE_VERSION = '5.0';
6-
const MONGODB_VERSIONS = ['latest', '5.0', '4.4', '4.2', '4.0', '3.6'];
5+
const LATEST_EFFECTIVE_VERSION = '6.0';
6+
const MONGODB_VERSIONS = ['latest', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6'];
77
const NODE_VERSIONS = ['erbium', 'fermium', 'gallium'];
88
NODE_VERSIONS.sort()
99
const LOWEST_LTS = NODE_VERSIONS[0];
1010

1111
const TOPOLOGIES = ['server', 'replica_set', 'sharded_cluster'];
12-
const AWS_AUTH_VERSIONS = ['latest', '5.0', '4.4'];
13-
const TLS_VERSIONS = ['latest', '5.0', '4.4', '4.2'];
12+
const AWS_AUTH_VERSIONS = ['latest', '6.0', '5.0', '4.4'];
13+
const TLS_VERSIONS = ['latest', '6.0', '5.0', '4.4', '4.2'];
1414

1515
const DEFAULT_OS = 'ubuntu1804-large';
1616

0 commit comments

Comments
 (0)