Skip to content

Commit f058508

Browse files
committed
PYTHON-2266 Test MONGODB-AWS and OCSP with 4.4
Remove debian71 and ubuntu-12.04 which no longer exist in Evergreen
1 parent 6932d25 commit f058508

File tree

1 file changed

+65
-53
lines changed

1 file changed

+65
-53
lines changed

.evergreen/config.yml

+65-53
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,6 @@ tasks:
11061106
- func: "bootstrap mongo-orchestration"
11071107
vars:
11081108
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-mustStaple.json"
1109-
VERSION: "latest"
11101109
TOPOLOGY: "server"
11111110
- func: "run-ocsp-test"
11121111
vars:
@@ -1119,7 +1118,6 @@ tasks:
11191118
- func: "bootstrap mongo-orchestration"
11201119
vars:
11211120
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-mustStaple.json"
1122-
VERSION: "latest"
11231121
TOPOLOGY: "server"
11241122
- func: "run-ocsp-test"
11251123
vars:
@@ -1132,7 +1130,6 @@ tasks:
11321130
- func: "bootstrap mongo-orchestration"
11331131
vars:
11341132
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-disableStapling.json"
1135-
VERSION: "latest"
11361133
TOPOLOGY: "server"
11371134
- func: "run-ocsp-test"
11381135
vars:
@@ -1145,7 +1142,6 @@ tasks:
11451142
- func: "bootstrap mongo-orchestration"
11461143
vars:
11471144
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-disableStapling.json"
1148-
VERSION: "latest"
11491145
TOPOLOGY: "server"
11501146
- func: "run-ocsp-test"
11511147
vars:
@@ -1157,7 +1153,6 @@ tasks:
11571153
- func: "bootstrap mongo-orchestration"
11581154
vars:
11591155
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-disableStapling.json"
1160-
VERSION: "latest"
11611156
TOPOLOGY: "server"
11621157
- func: "run-ocsp-test"
11631158
vars:
@@ -1170,7 +1165,6 @@ tasks:
11701165
- func: "bootstrap mongo-orchestration"
11711166
vars:
11721167
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-mustStaple-disableStapling.json"
1173-
VERSION: "latest"
11741168
TOPOLOGY: "server"
11751169
- func: "run-ocsp-test"
11761170
vars:
@@ -1182,20 +1176,35 @@ tasks:
11821176
- func: "bootstrap mongo-orchestration"
11831177
vars:
11841178
ORCHESTRATION_FILE: "rsa-basic-tls-ocsp-mustStaple-disableStapling.json"
1185-
VERSION: "latest"
11861179
TOPOLOGY: "server"
11871180
- func: "run-ocsp-test"
11881181
vars:
11891182
OCSP_TLS_SHOULD_SUCCEED: "0"
11901183

1191-
- name: "aws-auth-test"
1184+
- name: "aws-auth-test-4.4"
1185+
commands:
1186+
- func: "bootstrap mongo-orchestration"
1187+
vars:
1188+
AUTH: "auth"
1189+
ORCHESTRATION_FILE: "auth-aws.json"
1190+
TOPOLOGY: "server"
1191+
VERSION: "4.4"
1192+
- func: "add aws auth variables to file"
1193+
- func: "run aws auth test with regular aws credentials"
1194+
- func: "run aws auth test with assume role credentials"
1195+
- func: "run aws auth test with aws credentials as environment variables"
1196+
- func: "run aws auth test with aws credentials and session token as environment variables"
1197+
- func: "run aws auth test with aws EC2 credentials"
1198+
- func: "run aws ECS auth test"
1199+
1200+
- name: "aws-auth-test-latest"
11921201
commands:
11931202
- func: "bootstrap mongo-orchestration"
11941203
vars:
11951204
AUTH: "auth"
1196-
# TODO: SSL??
11971205
ORCHESTRATION_FILE: "auth-aws.json"
11981206
TOPOLOGY: "server"
1207+
VERSION: "latest"
11991208
- func: "add aws auth variables to file"
12001209
- func: "run aws auth test with regular aws credentials"
12011210
- func: "run aws auth test with assume role credentials"
@@ -1243,10 +1252,6 @@ axes:
12431252
display_name: "Archlinux"
12441253
run_on: archlinux-test
12451254
batchtime: 10080 # 7 days
1246-
- id: debian71
1247-
display_name: "Debian 7.1"
1248-
run_on: debian71-test
1249-
batchtime: 10080 # 7 days
12501255
- id: debian81
12511256
display_name: "Debian 8.1"
12521257
run_on: debian81-test
@@ -1293,10 +1298,6 @@ axes:
12931298
batchtime: 10080 # 7 days
12941299
variables:
12951300
libmongocrypt_url: https://s3.amazonaws.com/mciuploads/libmongocrypt/suse12-64/master/latest/libmongocrypt.tar.gz
1296-
- id: ubuntu-12.04
1297-
display_name: "Ubuntu 12.04"
1298-
run_on: ubuntu1204-test
1299-
batchtime: 10080 # 7 days
13001301
- id: ubuntu-16.04
13011302
display_name: "Ubuntu 16.04"
13021303
run_on: ubuntu1604-test
@@ -1392,6 +1393,47 @@ axes:
13921393
variables:
13931394
COMPRESSORS: "zstd"
13941395

1396+
# Choice of MongoDB server version
1397+
- id: mongodb-version
1398+
display_name: "MongoDB"
1399+
values:
1400+
- id: "2.6"
1401+
display_name: "MongoDB 2.6"
1402+
variables:
1403+
VERSION: "2.6"
1404+
- id: "3.0"
1405+
display_name: "MongoDB 3.0"
1406+
variables:
1407+
VERSION: "3.0"
1408+
- id: "3.2"
1409+
display_name: "MongoDB 3.2"
1410+
variables:
1411+
VERSION: "3.2"
1412+
- id: "3.4"
1413+
display_name: "MongoDB 3.4"
1414+
variables:
1415+
VERSION: "3.4"
1416+
- id: "3.6"
1417+
display_name: "MongoDB 3.6"
1418+
variables:
1419+
VERSION: "3.6"
1420+
- id: "4.0"
1421+
display_name: "MongoDB 4.0"
1422+
variables:
1423+
VERSION: "4.0"
1424+
- id: "4.2"
1425+
display_name: "MongoDB 4.2"
1426+
variables:
1427+
VERSION: "4.2"
1428+
- id: "4.4"
1429+
display_name: "MongoDB 4.4"
1430+
variables:
1431+
VERSION: "4.4"
1432+
- id: "latest"
1433+
display_name: "MongoDB latest"
1434+
variables:
1435+
VERSION: "latest"
1436+
13951437
# Choice of Python runtime version
13961438
- id: python-version
13971439
display_name: "Python"
@@ -1637,39 +1679,6 @@ buildvariants:
16371679
- ".4.0"
16381680
- ".2.6"
16391681

1640-
- matrix_name: "tests-no-36-plus"
1641-
matrix_spec:
1642-
platform:
1643-
# OSes that support versions of MongoDB>=2.6 and <3.6 with SSL.
1644-
- ubuntu-12.04
1645-
auth-ssl: "*"
1646-
# Ubuntu 12 ships Python 2.7.3. We want to test that version with
1647-
# and without C extensions
1648-
c-extensions: "*"
1649-
display_name: "${platform} ${auth-ssl} ${c-extensions}"
1650-
tasks:
1651-
- ".3.4"
1652-
- ".3.2"
1653-
- ".3.0"
1654-
- ".2.6"
1655-
1656-
- matrix_name: "tests-no-40-plus"
1657-
matrix_spec:
1658-
platform:
1659-
# OSes that support versions of MongoDB>=2.6 and <4.0 with SSL.
1660-
- debian71
1661-
auth-ssl: "*"
1662-
# Debian 7 ships Python 2.7.3. We want to test that version with
1663-
# and without C extensions
1664-
c-extensions: "*"
1665-
display_name: "${platform} ${auth-ssl} ${c-extensions}"
1666-
tasks:
1667-
- ".3.6"
1668-
- ".3.4"
1669-
- ".3.2"
1670-
- ".3.0"
1671-
- ".2.6"
1672-
16731682
- matrix_name: "tests-archlinux"
16741683
matrix_spec:
16751684
platform:
@@ -2177,9 +2186,10 @@ buildvariants:
21772186
matrix_spec:
21782187
platform: ubuntu-16.04
21792188
python-version: ["2.7", "3.4", "3.8", "pypy", "pypy3.5"]
2189+
mongodb-version: ["4.4", "latest"]
21802190
auth: "noauth"
21812191
ssl: "ssl"
2182-
display_name: "OCSP test ${python-version} ${platform}"
2192+
display_name: "OCSP test ${python-version} ${mongodb-version} ${platform}"
21832193
tasks:
21842194
- name: ".ocsp"
21852195

@@ -2189,15 +2199,17 @@ buildvariants:
21892199
python-version: ["system-python", "system-python3"]
21902200
display_name: "MONGODB-AWS Auth ${platform} ${python-version}"
21912201
tasks:
2192-
- name: "aws-auth-test"
2202+
- name: "aws-auth-test-4.4"
2203+
- name: "aws-auth-test-latest"
21932204

21942205
- matrix_name: "aws-auth-test-windows"
21952206
matrix_spec:
21962207
platform: [windows-64-vsMulti-small]
21972208
python-version-windows: "*"
21982209
display_name: "MONGODB-AWS Auth ${platform} ${python-version-windows}"
21992210
tasks:
2200-
- name: "aws-auth-test"
2211+
- name: "aws-auth-test-4.4"
2212+
- name: "aws-auth-test-latest"
22012213

22022214
# Platform notes
22032215
# i386 builds of OpenSSL or Cyrus SASL are not available

0 commit comments

Comments
 (0)