@@ -242,10 +242,7 @@ functions:
242
242
243
243
# Install linters. Use "go install" instead of "go get" to prevent modifying the go.mod
244
244
# file.
245
- # TODO(GODRIVER-2519): The "latest" version of golangci-lint currently requires Go 1.19.
246
- # TODO Pin to the "latest" version of golangci-lint again when we update the Evergreen CI
247
- # TODO to use Go 1.19.
248
- go install github.com/golangci/golangci-lint/cmd/[email protected]
245
+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
249
246
go install github.com/walle/lll/...@latest
250
247
251
248
upload-mo-artifacts :
@@ -2002,7 +1999,7 @@ tasks:
2002
1999
echo "Untarring file ... begin"
2003
2000
GCPKMS_CMD="tar xf testgcpkms.tgz" $DRIVERS_TOOLS/.evergreen/csfle/gcpkms/run-command.sh
2004
2001
echo "Untarring file ... end"
2005
-
2002
+
2006
2003
- command : shell.exec
2007
2004
type : test
2008
2005
params :
@@ -2112,88 +2109,88 @@ axes:
2112
2109
- id : os-ssl-32
2113
2110
display_name : OS
2114
2111
values :
2115
- - id : " windows-64-go-1-17 "
2112
+ - id : " windows-64-go-1-18 "
2116
2113
display_name : " Windows 64-bit"
2117
2114
run_on :
2118
2115
- windows-64-vs2017-test
2119
2116
variables :
2120
2117
GCC_PATH : " /cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
2121
- GO_DIST : " C:\\ golang\\ go1.17 "
2118
+ GO_DIST : " C:\\ golang\\ go1.18 "
2122
2119
PYTHON3_BINARY : " C:/python/Python38/python.exe"
2123
2120
VENV_BIN_DIR : " Scripts"
2124
- - id : " ubuntu1604-64-go-1-17 "
2121
+ - id : " ubuntu1604-64-go-1-18 "
2125
2122
display_name : " Ubuntu 16.04"
2126
2123
run_on : ubuntu1604-build
2127
2124
variables :
2128
- GO_DIST : " /opt/golang/go1.17 "
2125
+ GO_DIST : " /opt/golang/go1.18 "
2129
2126
PYTHON3_BINARY : " /opt/python/3.8/bin/python3"
2130
- - id : " osx-go-1-17 "
2127
+ - id : " osx-go-1-18 "
2131
2128
display_name : " MacOS 10.15"
2132
2129
run_on : macos-1015
2133
2130
variables :
2134
- GO_DIST : " /opt/golang/go1.17 "
2131
+ GO_DIST : " /opt/golang/go1.18 "
2135
2132
PYTHON3_BINARY : python3
2136
2133
2137
2134
# OSes that require >= 4.0 for SSL
2138
2135
- id : os-ssl-40
2139
2136
display_name : OS
2140
2137
values :
2141
- - id : " windows-64-go-1-17 "
2138
+ - id : " windows-64-go-1-18 "
2142
2139
display_name : " Windows 64-bit"
2143
2140
run_on :
2144
2141
- windows-64-vs2017-test
2145
2142
variables :
2146
2143
GCC_PATH : " /cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
2147
- GO_DIST : " C:\\ golang\\ go1.17 "
2144
+ GO_DIST : " C:\\ golang\\ go1.18 "
2148
2145
PYTHON3_BINARY : " C:/python/Python38/python.exe"
2149
2146
VENV_BIN_DIR : " Scripts"
2150
- - id : " ubuntu1804-64-go-1-17 "
2147
+ - id : " ubuntu1804-64-go-1-18 "
2151
2148
display_name : " Ubuntu 18.04"
2152
2149
run_on : ubuntu1804-build
2153
2150
variables :
2154
- GO_DIST : " /opt/golang/go1.17 "
2151
+ GO_DIST : " /opt/golang/go1.18 "
2155
2152
PYTHON3_BINARY : " /opt/python/3.8/bin/python3"
2156
- - id : " osx-go-1-17 "
2153
+ - id : " osx-go-1-18 "
2157
2154
display_name : " MacOS 10.15"
2158
2155
run_on : macos-1015
2159
2156
variables :
2160
- GO_DIST : " /opt/golang/go1.17 "
2157
+ GO_DIST : " /opt/golang/go1.18 "
2161
2158
PYTHON3_BINARY : python3
2162
2159
2163
2160
# OCSP linux tasks need to run against this OS since stapling is disabled on Ubuntu 18.04 (SERVER-51364)
2164
2161
- id : ocsp-rhel-70
2165
2162
display_name : OS
2166
2163
values :
2167
- - id : " rhel70-go-1-17 "
2164
+ - id : " rhel70-go-1-18 "
2168
2165
display_name : " RHEL 7.0"
2169
2166
run_on : rhel70-build
2170
2167
variables :
2171
- GO_DIST : " /opt/golang/go1.17 "
2168
+ GO_DIST : " /opt/golang/go1.18 "
2172
2169
PYTHON3_BINARY : " /opt/python/3.6/bin/python3"
2173
2170
2174
2171
- id : os-aws-auth
2175
2172
display_name : OS
2176
2173
values :
2177
- - id : " windows-64-vsMulti-small-go-1-17 "
2174
+ - id : " windows-64-vsMulti-small-go-1-18 "
2178
2175
display_name : " Windows 64-bit"
2179
2176
run_on :
2180
2177
- windows-64-vsMulti-small
2181
2178
variables :
2182
2179
GCC_PATH : " /cygdrive/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin"
2183
- GO_DIST : " C:\\ golang\\ go1.17 "
2180
+ GO_DIST : " C:\\ golang\\ go1.18 "
2184
2181
SKIP_ECS_AUTH_TEST : true
2185
2182
PYTHON3_BINARY : " C:/python/Python38/python.exe"
2186
- - id : " ubuntu1804-64-go-1-17 "
2183
+ - id : " ubuntu1804-64-go-1-18 "
2187
2184
display_name : " Ubuntu 18.04"
2188
2185
run_on : ubuntu1804-test
2189
2186
variables :
2190
- GO_DIST : " /opt/golang/go1.17 "
2187
+ GO_DIST : " /opt/golang/go1.18 "
2191
2188
PYTHON3_BINARY : " /opt/python/3.8/bin/python3"
2192
- - id : " osx-go-1-17 "
2189
+ - id : " osx-go-1-18 "
2193
2190
display_name : " MacOS 10.15"
2194
2191
run_on : macos-1015
2195
2192
variables :
2196
- GO_DIST : " /opt/golang/go1.17 "
2193
+ GO_DIST : " /opt/golang/go1.18 "
2197
2194
SKIP_ECS_AUTH_TEST : true
2198
2195
SKIP_EC2_AUTH_TEST : true
2199
2196
PYTHON3_BINARY : python3
@@ -2291,7 +2288,7 @@ buildvariants:
2291
2288
run_on :
2292
2289
- ubuntu1804-build
2293
2290
expansions :
2294
- GO_DIST : " /opt/golang/go1.17 "
2291
+ GO_DIST : " /opt/golang/go1.18 "
2295
2292
tasks :
2296
2293
- name : " .static-analysis"
2297
2294
@@ -2300,7 +2297,7 @@ buildvariants:
2300
2297
run_on :
2301
2298
- ubuntu1804-build
2302
2299
expansions :
2303
- GO_DIST : " /opt/golang/go1.17 "
2300
+ GO_DIST : " /opt/golang/go1.18 "
2304
2301
tasks :
2305
2302
- name : " .performance"
2306
2303
@@ -2309,7 +2306,7 @@ buildvariants:
2309
2306
run_on :
2310
2307
- ubuntu1804-test
2311
2308
expansions :
2312
- GO_DIST : " /opt/golang/go1.17 "
2309
+ GO_DIST : " /opt/golang/go1.18 "
2313
2310
tasks :
2314
2311
- name : " .compile-check"
2315
2312
@@ -2318,7 +2315,7 @@ buildvariants:
2318
2315
run_on :
2319
2316
- ubuntu1804-build
2320
2317
expansions :
2321
- GO_DIST : " /opt/golang/go1.17 "
2318
+ GO_DIST : " /opt/golang/go1.18 "
2322
2319
tasks :
2323
2320
- name : " atlas-test"
2324
2321
@@ -2327,7 +2324,7 @@ buildvariants:
2327
2324
run_on :
2328
2325
- ubuntu1804-build
2329
2326
expansions :
2330
- GO_DIST : " /opt/golang/go1.17 "
2327
+ GO_DIST : " /opt/golang/go1.18 "
2331
2328
tasks :
2332
2329
- name : " test-atlas-data-lake"
2333
2330
@@ -2386,22 +2383,22 @@ buildvariants:
2386
2383
- name : " aws-auth-test"
2387
2384
2388
2385
- matrix_name : " ocsp-test"
2389
- matrix_spec : { version: ["4.4", "5.0", "6.0", "latest"], ocsp-rhel-70: ["rhel70-go-1-17 "] }
2386
+ matrix_spec : { version: ["4.4", "5.0", "6.0", "latest"], ocsp-rhel-70: ["rhel70-go-1-18 "] }
2390
2387
display_name : " OCSP ${version} ${ocsp-rhel-70}"
2391
2388
batchtime : 20160 # Use a batchtime of 14 days as suggested by the OCSP test README
2392
2389
tasks :
2393
2390
- name : " .ocsp"
2394
2391
2395
2392
- matrix_name : " ocsp-test-windows"
2396
- matrix_spec : { version: ["4.4", "5.0", "6.0", "latest"], os-ssl-40: ["windows-64-go-1-17 "] }
2393
+ matrix_spec : { version: ["4.4", "5.0", "6.0", "latest"], os-ssl-40: ["windows-64-go-1-18 "] }
2397
2394
display_name : " OCSP ${version} ${os-ssl-40}"
2398
2395
batchtime : 20160 # Use a batchtime of 14 days as suggested by the OCSP test README
2399
2396
tasks :
2400
2397
# Windows MongoDB servers do not staple OCSP responses and only support RSA.
2401
2398
- name : " .ocsp-rsa !.ocsp-staple"
2402
2399
2403
2400
- matrix_name : " ocsp-test-macos"
2404
- matrix_spec : { version: ["4.4", "5.0", "6.0", "latest"], os-ssl-40: ["osx-go-1-17 "] }
2401
+ matrix_spec : { version: ["4.4", "5.0", "6.0", "latest"], os-ssl-40: ["osx-go-1-18 "] }
2405
2402
display_name : " OCSP ${version} ${os-ssl-40}"
2406
2403
batchtime : 20160 # Use a batchtime of 14 days as suggested by the OCSP test README
2407
2404
tasks :
@@ -2415,26 +2412,26 @@ buildvariants:
2415
2412
- name : " .versioned-api"
2416
2413
2417
2414
- matrix_name : " kms-tls-test"
2418
- matrix_spec : { version: ["latest"], os-ssl-40: ["ubuntu1804-64-go-1-17 "] }
2415
+ matrix_spec : { version: ["latest"], os-ssl-40: ["ubuntu1804-64-go-1-18 "] }
2419
2416
display_name : " KMS TLS ${os-ssl-40}"
2420
2417
tasks :
2421
2418
- name : " .kms-tls"
2422
2419
2423
2420
- matrix_name : " load-balancer-test"
2424
2421
# The LB software is only available on Ubuntu 18.04, so we don't test on all OSes.
2425
- matrix_spec : { version: ["5.0", "6.0", "latest", "rapid"], os-ssl-40: ["ubuntu1804-64-go-1-17 "] }
2422
+ matrix_spec : { version: ["5.0", "6.0", "latest", "rapid"], os-ssl-40: ["ubuntu1804-64-go-1-18 "] }
2426
2423
display_name : " Load Balancer Support ${version} ${os-ssl-40}"
2427
2424
tasks :
2428
2425
- name : " .load-balancer"
2429
2426
2430
2427
- matrix_name : " serverless"
2431
- matrix_spec : { os-ssl-40: ["ubuntu1804-64-go-1-17 "] }
2428
+ matrix_spec : { os-ssl-40: ["ubuntu1804-64-go-1-18 "] }
2432
2429
display_name : " Serverless ${os-ssl-40}"
2433
2430
tasks :
2434
2431
- " serverless_task_group"
2435
2432
2436
2433
- matrix_name : " kms-kmip-test"
2437
- matrix_spec : { version: ["latest"], os-ssl-40: ["ubuntu1804-64-go-1-17 "] }
2434
+ matrix_spec : { version: ["latest"], os-ssl-40: ["ubuntu1804-64-go-1-18 "] }
2438
2435
display_name : " KMS KMIP ${os-ssl-40}"
2439
2436
tasks :
2440
2437
- name : " .kms-kmip"
@@ -2444,7 +2441,7 @@ buildvariants:
2444
2441
run_on :
2445
2442
- debian11-small
2446
2443
expansions :
2447
- GO_DIST : " /opt/golang/go1.17 "
2444
+ GO_DIST : " /opt/golang/go1.18 "
2448
2445
tasks :
2449
2446
- name : testgcpkms_task_group
2450
2447
batchtime : 20160 # Use a batchtime of 14 days as suggested by the CSFLE test README
0 commit comments