Skip to content

Commit

Permalink
Merge branch 'csot' into ensure-csot-option-is-available
Browse files Browse the repository at this point in the history
  • Loading branch information
comandeo-mongo committed Mar 7, 2024
2 parents dccb8d0 + 8ddd727 commit f33ff00
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 88 deletions.
105 changes: 51 additions & 54 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1295,14 +1295,10 @@ buildvariants:
# Only JRuby-9.4 is built for arm in the current toolchain, but 9.4 has other
# issues. Either we fix those issues, or we build 9.3 for arm in the toolchain,
# and hope it fixes the issues... Until then, we can only test MRI ruby on arm.
#
# further: 'latest' is broken until the QE2 changes are merged (RUBY-3211,
# RUBY-3226)
- matrix_name: "mongo-recent-arm"
matrix_spec:
ruby: "ruby-3.2"
#mongodb-version: ['latest', '6.0']
mongodb-version: ['6.0']
mongodb-version: ["latest", "7.0", "6.0"]
topology: ["standalone", "replica-set", "sharded-cluster"]
os: 'rhel8-arm'
display_name: "${mongodb-version} ${os} ${topology} ${auth-and-ssl} ${ruby}"
Expand Down Expand Up @@ -1342,7 +1338,7 @@ buildvariants:
- matrix_name: "single-lb"
matrix_spec:
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: load-balanced
single-mongos: single-mongos
os: rhel8
Expand All @@ -1364,7 +1360,7 @@ buildvariants:
- matrix_name: "single-mongos"
matrix_spec:
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: "sharded-cluster"
single-mongos: single-mongos
os: rhel8
Expand All @@ -1376,7 +1372,7 @@ buildvariants:
matrix_spec:
retry-reads: no-retry-reads
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: ["standalone", "replica-set", "sharded-cluster"]
os: rhel8
display_name: "${mongodb-version} ${topology} ${retry-reads} ${ruby}"
Expand All @@ -1387,7 +1383,7 @@ buildvariants:
matrix_spec:
retry-writes: no-retry-writes
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: [replica-set, sharded-cluster]
os: rhel8
display_name: "${mongodb-version} ${topology} ${retry-writes} ${ruby}"
Expand All @@ -1409,7 +1405,7 @@ buildvariants:
matrix_spec:
lint: on
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: '*'
os: rhel8
display_name: "${mongodb-version} ${topology} ${lint} ${ruby}"
Expand All @@ -1420,7 +1416,7 @@ buildvariants:
matrix_spec:
fork: on
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: ["standalone", "replica-set", "sharded-cluster"]
os: rhel8
display_name: "${mongodb-version} ${topology} fork ${ruby}"
Expand All @@ -1431,7 +1427,7 @@ buildvariants:
matrix_spec:
solo: on
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5", "jruby-9.3", "jruby-9.2"]
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: ["standalone", "replica-set", "sharded-cluster"]
os: rhel8
display_name: "${mongodb-version} ${topology} solo ${ruby}"
Expand Down Expand Up @@ -1480,7 +1476,7 @@ buildvariants:
matrix_spec:
auth-and-ssl: [ "auth-and-ssl", "noauth-and-nossl" ]
ruby: jruby-9.3
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: ["standalone", "replica-set", "sharded-cluster"]
os: rhel8
display_name: "${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
Expand All @@ -1491,7 +1487,7 @@ buildvariants:
matrix_spec:
auth-and-ssl: [ "auth-and-ssl", "noauth-and-nossl" ]
ruby: ["ruby-3.2", "ruby-2.7", "jruby-9.3"]
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: "replica-set"
compressor: 'zlib'
os: rhel8
Expand All @@ -1503,7 +1499,7 @@ buildvariants:
matrix_spec:
auth-and-ssl: [ "auth-and-ssl", "noauth-and-nossl" ]
ruby: ["ruby-3.2", "ruby-2.7", "jruby-9.3"]
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: "replica-set"
compressor: 'snappy'
os: rhel8
Expand All @@ -1519,7 +1515,7 @@ buildvariants:
matrix_spec:
auth-and-ssl: [ "auth-and-ssl", "noauth-and-nossl" ]
ruby: ["ruby-3.2", "ruby-2.7"]
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: "replica-set"
compressor: 'zstd'
os: rhel8
Expand All @@ -1530,7 +1526,7 @@ buildvariants:
- matrix_name: "activesupport"
matrix_spec:
ruby: ["ruby-3.2", "ruby-2.7", "jruby-9.3"]
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: replica-set
as: as
os: rhel8
Expand All @@ -1541,7 +1537,7 @@ buildvariants:
- matrix_name: "bson"
matrix_spec:
ruby: ["ruby-3.2", "ruby-2.7", "jruby-9.3"]
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: replica-set
bson: "*"
os: rhel8
Expand All @@ -1561,7 +1557,7 @@ buildvariants:
- matrix_name: "kerberos-unit"
matrix_spec:
ruby: "ruby-3.2"
mongodb-version: "6.0"
mongodb-version: "7.0"
topology: standalone
os: rhel8
auth-and-ssl: kerberos
Expand Down Expand Up @@ -1615,7 +1611,7 @@ buildvariants:
# No JRuby due to https://github.com/jruby/jruby-openssl/issues/210
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP verifier: ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1628,7 +1624,7 @@ buildvariants:
ocsp-delegate: on
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
auth-and-ssl: noauth-and-ssl
display_name: "OCSP integration - must staple: ${mongodb-version} ${ruby}"
Expand All @@ -1641,7 +1637,7 @@ buildvariants:
ocsp-status: unknown
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
auth-and-ssl: noauth-and-ssl
display_name: "OCSP integration - unknown: ${mongodb-version} ${ruby}"
Expand All @@ -1657,7 +1653,7 @@ buildvariants:
extra-uri-options: "none"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1671,7 +1667,7 @@ buildvariants:
extra-uri-options: "none"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1685,7 +1681,7 @@ buildvariants:
extra-uri-options: "none"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1699,7 +1695,7 @@ buildvariants:
extra-uri-options: "tlsInsecure=true"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1713,7 +1709,7 @@ buildvariants:
extra-uri-options: "tlsInsecure=true"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1727,7 +1723,7 @@ buildvariants:
extra-uri-options: "tlsInsecure=true"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1741,7 +1737,7 @@ buildvariants:
extra-uri-options: "tlsAllowInvalidCertificates=true"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1755,7 +1751,7 @@ buildvariants:
extra-uri-options: "tlsAllowInvalidCertificates=true"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1769,7 +1765,7 @@ buildvariants:
extra-uri-options: "tlsAllowInvalidCertificates=true"
ruby: ["ruby-3.2", "ruby-2.7"]
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${extra-uri-options} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1789,7 +1785,7 @@ buildvariants:
ocsp-connectivity: pass
ruby: jruby-9.3
topology: standalone
mongodb-version: "6.0"
mongodb-version: "7.0"
os: rhel8
display_name: "OCSP connectivity: ${ocsp-algorithm} ${ocsp-status} ${ocsp-delegate} ${mongodb-version} ${ruby}"
tasks:
Expand All @@ -1801,7 +1797,7 @@ buildvariants:
fle: helper
topology: standalone
os: rhel8
mongodb-version: "6.0"
mongodb-version: "7.0"
display_name: "GCP KMS"
tasks:
- name: testgcpkms_task_group
Expand Down Expand Up @@ -1835,27 +1831,28 @@ buildvariants:
tasks:
- name: test-atlas

- matrix_name: "serverless"
matrix_spec:
# https://jira.mongodb.org/browse/RUBY-3217
# ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5", "jruby-9.3", "jruby-9.2"]
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5"]
fle: path
os: rhel8
display_name: "Atlas serverless ${ruby}"
tasks:
- name: serverless_task_group

- matrix_name: "serverless-next"
matrix_spec:
# https://jira.mongodb.org/browse/RUBY-3217
# ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5", "jruby-9.3", "jruby-9.2"]
ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5"]
fle: path
os: rhel8
display_name: "Atlas serverless-next ${ruby}"
tasks:
- name: serverless_next_task_group
# Commented out, pending RUBY-3414
# - matrix_name: "serverless"
# matrix_spec:
# # https://jira.mongodb.org/browse/RUBY-3217
# # ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5", "jruby-9.3", "jruby-9.2"]
# ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5"]
# fle: path
# os: rhel8
# display_name: "Atlas serverless ${ruby}"
# tasks:
# - name: serverless_task_group
#
# - matrix_name: "serverless-next"
# matrix_spec:
# # https://jira.mongodb.org/browse/RUBY-3217
# # ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5", "jruby-9.3", "jruby-9.2"]
# ruby: ["ruby-3.2", "ruby-3.1", "ruby-3.0", "ruby-2.7", "ruby-2.6", "ruby-2.5"]
# fle: path
# os: rhel8
# display_name: "Atlas serverless-next ${ruby}"
# tasks:
# - name: serverless_next_task_group

- matrix_name: "aws-lambda"
matrix_spec:
Expand Down
52 changes: 25 additions & 27 deletions .evergreen/config/standard.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
supported_rubies = supported_mri_rubies + jrubies

# The latest stable version of MongoDB
latest_stable_mdb = "6.0".inspect # so it gets quoted as a string
latest_stable_mdb = "7.0".inspect # so it gets quoted as a string

# A few of the most recent MongoDB versions
actual_and_upcoming_mdb = %w( latest 7.0 6.0 )

recent_mdb = %w( 6.0 5.3 )
latest_5x_mdb = "5.3".inspect # so it gets quoted as a string
%>
Expand Down Expand Up @@ -77,14 +78,10 @@ buildvariants:
# Only JRuby-9.4 is built for arm in the current toolchain, but 9.4 has other
# issues. Either we fix those issues, or we build 9.3 for arm in the toolchain,
# and hope it fixes the issues... Until then, we can only test MRI ruby on arm.
#
# further: 'latest' is broken until the QE2 changes are merged (RUBY-3211,
# RUBY-3226)
- matrix_name: "mongo-recent-arm"
matrix_spec:
ruby: <%= latest_ruby %>
#mongodb-version: ['latest', '6.0']
mongodb-version: ['6.0']
mongodb-version: <%= actual_and_upcoming_mdb %>
topology: <%= topologies %>
os: 'rhel8-arm'
display_name: "${mongodb-version} ${os} ${topology} ${auth-and-ssl} ${ruby}"
Expand Down Expand Up @@ -520,27 +517,28 @@ buildvariants:
tasks:
- name: test-atlas

- matrix_name: "serverless"
matrix_spec:
# https://jira.mongodb.org/browse/RUBY-3217
# ruby: <%= supported_rubies %>
ruby: <%= supported_mri_rubies %>
fle: path
os: rhel8
display_name: "Atlas serverless ${ruby}"
tasks:
- name: serverless_task_group

- matrix_name: "serverless-next"
matrix_spec:
# https://jira.mongodb.org/browse/RUBY-3217
# ruby: <%= supported_rubies %>
ruby: <%= supported_mri_rubies %>
fle: path
os: rhel8
display_name: "Atlas serverless-next ${ruby}"
tasks:
- name: serverless_next_task_group
# Commented out, pending RUBY-3414
# - matrix_name: "serverless"
# matrix_spec:
# # https://jira.mongodb.org/browse/RUBY-3217
# # ruby: <%= supported_rubies %>
# ruby: <%= supported_mri_rubies %>
# fle: path
# os: rhel8
# display_name: "Atlas serverless ${ruby}"
# tasks:
# - name: serverless_task_group
#
# - matrix_name: "serverless-next"
# matrix_spec:
# # https://jira.mongodb.org/browse/RUBY-3217
# # ruby: <%= supported_rubies %>
# ruby: <%= supported_mri_rubies %>
# fle: path
# os: rhel8
# display_name: "Atlas serverless-next ${ruby}"
# tasks:
# - name: serverless_next_task_group

- matrix_name: "aws-lambda"
matrix_spec:
Expand Down
Loading

0 comments on commit f33ff00

Please sign in to comment.