Skip to content

Commit c7f139d

Browse files
committed
more evergreen config tweaks
1 parent 7a03b32 commit c7f139d

File tree

3 files changed

+36
-254
lines changed

3 files changed

+36
-254
lines changed

.evergreen/config.yml

Lines changed: 22 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -467,65 +467,6 @@ post:
467467
- func: "upload test results to s3"
468468

469469
task_groups:
470-
- name: serverless_task_group
471-
setup_group_can_fail_task: true
472-
setup_group_timeout_secs: 1800 # 30 minutes
473-
setup_group:
474-
- func: "fetch source"
475-
- func: "create expansions"
476-
- command: ec2.assume_role
477-
params:
478-
role_arn: ${aws_test_secrets_role}
479-
- command: shell.exec
480-
params:
481-
shell: "bash"
482-
script: |
483-
${PREPARE_SHELL}
484-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh
485-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
486-
- command: expansions.update
487-
params:
488-
file: serverless-expansion.yml
489-
teardown_task:
490-
- command: shell.exec
491-
params:
492-
script: |
493-
${PREPARE_SHELL}
494-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
495-
- func: "upload test results"
496-
tasks:
497-
- "test-serverless"
498-
499-
- name: serverless_next_task_group
500-
setup_group_can_fail_task: true
501-
setup_group_timeout_secs: 1800 # 30 minutes
502-
setup_group:
503-
- func: "fetch source"
504-
- func: "create expansions"
505-
- command: ec2.assume_role
506-
params:
507-
role_arn: ${aws_test_secrets_role}
508-
- command: shell.exec
509-
params:
510-
shell: "bash"
511-
script: |
512-
${PREPARE_SHELL}
513-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh serverless_next
514-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
515-
- command: expansions.update
516-
params:
517-
file: serverless-expansion.yml
518-
teardown_task:
519-
- command: shell.exec
520-
params:
521-
script: |
522-
${PREPARE_SHELL}
523-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh serverless_next
524-
bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
525-
- func: "upload test results"
526-
tasks:
527-
- "test-serverless"
528-
529470
- name: testatlas_task_group
530471
setup_group_can_fail_task: true
531472
setup_group_timeout_secs: 1800 # 30 minutes
@@ -755,37 +696,19 @@ tasks:
755696
- name: "test-atlas"
756697
commands:
757698
- func: "run Atlas tests"
758-
- name: "test-serverless"
759-
commands:
760-
- func: "export FLE credentials"
761-
- func: "run serverless tests"
762-
- name: "test-docker"
763-
commands:
764-
- func: "build and test docker image"
765699
- name: "test-mlaunch"
766700
commands:
767701
- func: "run tests"
768702
- name: "driver-bench"
769703
commands:
770704
- func: "run benchmarks"
771-
- name: "test-via-docker"
772-
commands:
773-
- func: "run tests via docker"
774-
- name: "test-kerberos-integration"
775-
commands:
776-
- func: "export Kerberos credentials"
777-
- func: "run Kerberos integration tests"
778705
- name: "test-kerberos"
779706
commands:
780707
- func: "run Kerberos unit tests"
781708
- name: "test-fle"
782709
commands:
783710
- func: "export FLE credentials"
784711
- func: "run tests"
785-
- name: "test-fle-via-docker"
786-
commands:
787-
- func: "export FLE credentials"
788-
- func: "run tests via docker"
789712
- name: "test-aws-auth"
790713
commands:
791714
- func: "export AWS auth credentials"
@@ -1341,7 +1264,7 @@ buildvariants:
13411264
- matrix_name: "mongo-5.x"
13421265
matrix_spec:
13431266
ruby: ["ruby-3.2", "ruby-2.7", "jruby-9.4"]
1344-
mongodb-version: ['5.3', '5.0']
1267+
mongodb-version: '5.0'
13451268
topology: ["standalone", "replica-set", "sharded-cluster"]
13461269
os: ubuntu1804
13471270
display_name: "${mongodb-version} ${topology} ${ruby}"
@@ -1462,7 +1385,7 @@ buildvariants:
14621385
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "jruby-9.4", "jruby-9.3"]
14631386
mongodb-version: "7.0"
14641387
topology: ["standalone", "replica-set", "sharded-cluster"]
1465-
os: ubuntu2204
1388+
os: ubuntu2004
14661389
display_name: "${mongodb-version} ${topology} solo ${ruby}"
14671390
tasks:
14681391
- name: "test-mlaunch"
@@ -1482,7 +1405,7 @@ buildvariants:
14821405
matrix_spec:
14831406
stress: on
14841407
ruby: "ruby-3.2"
1485-
mongodb-version: ["6.0", "5.3"]
1408+
mongodb-version: ["6.0", "5.0"]
14861409
topology: replica-set
14871410
os: ubuntu2204
14881411
display_name: "${mongodb-version} ${topology} stress ${ruby}"
@@ -1518,7 +1441,7 @@ buildvariants:
15181441
mongodb-version: "7.0"
15191442
topology: "replica-set"
15201443
compressor: 'zlib'
1521-
os: ubuntu2204
1444+
os: ubuntu2004
15221445
display_name: "${compressor} ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
15231446
tasks:
15241447
- name: "test-mlaunch"
@@ -1530,7 +1453,7 @@ buildvariants:
15301453
mongodb-version: "7.0"
15311454
topology: "replica-set"
15321455
compressor: 'snappy'
1533-
os: ubuntu2204
1456+
os: ubuntu2004
15341457
display_name: "${compressor} ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
15351458
tasks:
15361459
- name: "test-mlaunch"
@@ -1546,7 +1469,7 @@ buildvariants:
15461469
mongodb-version: "7.0"
15471470
topology: "replica-set"
15481471
compressor: 'zstd'
1549-
os: ubuntu2204
1472+
os: ubuntu2004
15501473
display_name: "${compressor} ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
15511474
tasks:
15521475
- name: "test-mlaunch"
@@ -1557,7 +1480,7 @@ buildvariants:
15571480
mongodb-version: "7.0"
15581481
topology: replica-set
15591482
as: as
1560-
os: ubuntu2204
1483+
os: ubuntu2004
15611484
display_name: "AS ${mongodb-version} ${topology} ${ruby}"
15621485
tasks:
15631486
- name: "test-mlaunch"
@@ -1568,20 +1491,11 @@ buildvariants:
15681491
mongodb-version: "7.0"
15691492
topology: replica-set
15701493
bson: "*"
1571-
os: ubuntu2204
1494+
os: ubuntu2004
15721495
display_name: "bson-${bson} ${mongodb-version} ${topology} ${ruby}"
15731496
tasks:
15741497
- name: "test-mlaunch"
15751498

1576-
# kerberos integration tests are broken (RUBY-3266)
1577-
# - matrix_name: "kerberos-integration"
1578-
# matrix_spec:
1579-
# ruby: ["ruby-3.2", "ruby-2.7", "jruby-9.4"]
1580-
# os: rhel8
1581-
# display_name: "Kerberos integration ${os} ${ruby}"
1582-
# tasks:
1583-
# - name: "test-kerberos-integration"
1584-
15851499
- matrix_name: "kerberos-unit"
15861500
matrix_spec:
15871501
ruby: "ruby-3.2"
@@ -1629,7 +1543,7 @@ buildvariants:
16291543
# enough to install mongosh, and then use either mongo or mongosh
16301544
# (depending on server version and what's available), we can bump this to
16311545
# the latest stable db version.
1632-
mongodb-version: "5.3"
1546+
mongodb-version: "5.0"
16331547
os: ubuntu2004
16341548
display_name: "AWS ${auth-and-ssl} ${mongodb-version} ${ruby}"
16351549
tasks:
@@ -1642,7 +1556,7 @@ buildvariants:
16421556
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7"]
16431557
topology: standalone
16441558
mongodb-version: "7.0"
1645-
os: ubuntu2204
1559+
os: ubuntu2004
16461560
display_name: "OCSP verifier: ${mongodb-version} ${ruby}"
16471561
tasks:
16481562
- name: test-mlaunch
@@ -1655,7 +1569,7 @@ buildvariants:
16551569
ruby: ["ruby-3.2", "ruby-2.7"]
16561570
topology: standalone
16571571
mongodb-version: "7.0"
1658-
os: ubuntu2204
1572+
os: ubuntu2004
16591573
auth-and-ssl: noauth-and-ssl
16601574
display_name: "OCSP integration - must staple: ${mongodb-version} ${ruby}"
16611575
tasks:
@@ -1668,7 +1582,7 @@ buildvariants:
16681582
ruby: ["ruby-3.2", "ruby-2.7"]
16691583
topology: standalone
16701584
mongodb-version: "7.0"
1671-
os: ubuntu2204
1585+
os: ubuntu2004
16721586
auth-and-ssl: noauth-and-ssl
16731587
display_name: "OCSP integration - unknown: ${mongodb-version} ${ruby}"
16741588
tasks:
@@ -1684,7 +1598,7 @@ buildvariants:
16841598
ruby: ["ruby-3.2", "ruby-2.7"]
16851599
topology: standalone
16861600
mongodb-version: "7.0"
1687-
os: ubuntu2204
1601+
os: ubuntu2004
16881602
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
16891603
tasks:
16901604
- name: test-mlaunch
@@ -1698,7 +1612,7 @@ buildvariants:
16981612
ruby: ["ruby-3.2", "ruby-2.7"]
16991613
topology: standalone
17001614
mongodb-version: "7.0"
1701-
os: ubuntu2204
1615+
os: ubuntu2004
17021616
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17031617
tasks:
17041618
- name: test-mlaunch
@@ -1712,7 +1626,7 @@ buildvariants:
17121626
ruby: ["ruby-3.2", "ruby-2.7"]
17131627
topology: standalone
17141628
mongodb-version: "7.0"
1715-
os: ubuntu2204
1629+
os: ubuntu2004
17161630
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17171631
tasks:
17181632
- name: test-mlaunch
@@ -1726,7 +1640,7 @@ buildvariants:
17261640
ruby: ["ruby-3.2", "ruby-2.7"]
17271641
topology: standalone
17281642
mongodb-version: "7.0"
1729-
os: ubuntu2204
1643+
os: ubuntu2004
17301644
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17311645
tasks:
17321646
- name: test-mlaunch
@@ -1740,7 +1654,7 @@ buildvariants:
17401654
ruby: ["ruby-3.2", "ruby-2.7"]
17411655
topology: standalone
17421656
mongodb-version: "7.0"
1743-
os: ubuntu2204
1657+
os: ubuntu2004
17441658
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17451659
tasks:
17461660
- name: test-mlaunch
@@ -1754,7 +1668,7 @@ buildvariants:
17541668
ruby: ["ruby-3.2", "ruby-2.7"]
17551669
topology: standalone
17561670
mongodb-version: "7.0"
1757-
os: ubuntu2204
1671+
os: ubuntu2004
17581672
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17591673
tasks:
17601674
- name: test-mlaunch
@@ -1768,7 +1682,7 @@ buildvariants:
17681682
ruby: ["ruby-3.2", "ruby-2.7"]
17691683
topology: standalone
17701684
mongodb-version: "7.0"
1771-
os: ubuntu2204
1685+
os: ubuntu2004
17721686
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17731687
tasks:
17741688
- name: test-mlaunch
@@ -1782,7 +1696,7 @@ buildvariants:
17821696
ruby: ["ruby-3.2", "ruby-2.7"]
17831697
topology: standalone
17841698
mongodb-version: "7.0"
1785-
os: ubuntu2204
1699+
os: ubuntu2004
17861700
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
17871701
tasks:
17881702
- name: test-mlaunch
@@ -1796,7 +1710,7 @@ buildvariants:
17961710
ruby: ["ruby-3.2", "ruby-2.7"]
17971711
topology: standalone
17981712
mongodb-version: "7.0"
1799-
os: ubuntu2204
1713+
os: ubuntu2004
18001714
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
18011715
tasks:
18021716
- name: test-mlaunch
@@ -1856,34 +1770,11 @@ buildvariants:
18561770
- matrix_name: "atlas"
18571771
matrix_spec:
18581772
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "jruby-9.4", "jruby-9.3"]
1859-
os: ubuntu2204
1773+
os: ubuntu2004
18601774
display_name: "Atlas tests ${ruby}"
18611775
tasks:
18621776
- name: testatlas_task_group
18631777

1864-
# Commented out, pending RUBY-3414
1865-
# - matrix_name: "serverless"
1866-
# matrix_spec:
1867-
# # https://jira.mongodb.org/browse/RUBY-3217
1868-
# # ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "jruby-9.4", "jruby-9.3"]
1869-
# ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7"]
1870-
# fle: path
1871-
# os: rhel8
1872-
# display_name: "Atlas serverless ${ruby}"
1873-
# tasks:
1874-
# - name: serverless_task_group
1875-
#
1876-
# - matrix_name: "serverless-next"
1877-
# matrix_spec:
1878-
# # https://jira.mongodb.org/browse/RUBY-3217
1879-
# # ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "jruby-9.4", "jruby-9.3"]
1880-
# ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7"]
1881-
# fle: path
1882-
# os: rhel8
1883-
# display_name: "Atlas serverless-next ${ruby}"
1884-
# tasks:
1885-
# - name: serverless_next_task_group
1886-
18871778
- matrix_name: "aws-lambda"
18881779
matrix_spec:
18891780
ruby: 'ruby-3.2'

0 commit comments

Comments
 (0)