Skip to content

Commit

Permalink
DRIVERS-2904 Test against 8.0 builds (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored May 3, 2024
1 parent 89e57de commit a6cfcc8
Show file tree
Hide file tree
Showing 2 changed files with 129 additions and 9 deletions.
75 changes: 74 additions & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,33 @@ tasks:

# Standard test tasks {{{

- name: "test-8.0-standalone"
tags: ["8.0", "standalone"]
commands:
- func: "bootstrap mongo-orchestration"
vars:
VERSION: "8.0"
TOPOLOGY: "server"
- func: "run tests"

- name: "test-8.0-replica_set"
tags: ["8.0", "replica_set"]
commands:
- func: "bootstrap mongo-orchestration"
vars:
VERSION: "8.0"
TOPOLOGY: "replica_set"
- func: "run tests"

- name: "test-8.0-sharded_cluster"
tags: ["8.0", "sharded_cluster"]
commands:
- func: "bootstrap mongo-orchestration"
vars:
VERSION: "8.0"
TOPOLOGY: "sharded_cluster"
- func: "run tests"

- name: "test-7.0-standalone"
tags: ["7.0", "standalone"]
commands:
Expand Down Expand Up @@ -967,6 +994,10 @@ axes:
display_name: "latest"
variables:
VERSION: "latest"
- id: "8.0"
display_name: "8.0"
variables:
VERSION: "8.0"
- id: "7.0"
display_name: "7.0"
variables:
Expand Down Expand Up @@ -1013,6 +1044,27 @@ axes:
display_name: "Windows 64"
run_on: windows-64-vsMulti-small

# OSes that support versions of MongoDB>=7.0 with SSL.
- id: os-requires-70
display_name: OS
values:

- id: debian12
display_name: "Debian 12.0"
run_on: debian12-small

- id: ubuntu-22.04
display_name: "Ubuntu 22.04"
run_on: ubuntu2004-test

- id: amazon-2023-x64
display_name: "Amazon Linux 2023 x64"
run_on: amazon2023.0-small

- id: rhel9
display_name: "RHEL 9.0 x64"
run_on: rhel91-small

# OSes that support versions of MongoDB>=5.0 with SSL.
- id: os-requires-50
display_name: OS
Expand All @@ -1027,7 +1079,7 @@ axes:
run_on: ubuntu2004-test

- id: ubuntu2004-arm64-small
display_name: "Ubuntu 18.04 (ARM64)"
display_name: "Ubuntu 20.04 (ARM64)"
run_on: ubuntu2004-arm64-small

- id: rhel87-power8
Expand Down Expand Up @@ -1126,6 +1178,9 @@ buildvariants:
- name: "test-latest-sharded_cluster"
- name: "test-latest-standalone"
- name: "test-latest-load_balancer"
- name: "test-8.0-replica_set"
- name: "test-8.0-sharded_cluster"
- name: "test-8.0-standalone"
- name: "test-7.0-replica_set"
- name: "test-7.0-sharded_cluster"
- name: "test-7.0-standalone"
Expand Down Expand Up @@ -1155,6 +1210,9 @@ buildvariants:
- name: "test-latest-replica_set"
- name: "test-latest-sharded_cluster"
- name: "test-latest-standalone"
- name: "test-8.0-replica_set"
- name: "test-8.0-sharded_cluster"
- name: "test-8.0-standalone"
- name: "test-7.0-replica_set"
- name: "test-7.0-sharded_cluster"
- name: "test-7.0-standalone"
Expand All @@ -1165,6 +1223,20 @@ buildvariants:
- name: "test-5.0-sharded_cluster"
- name: "test-5.0-standalone"

- matrix_name: "tests-os-requires-70"
matrix_spec: {"os-requires-70": "*", auth: "*", ssl: "*" }
display_name: "${os-requires-70} ${auth} ${ssl}"
tasks:
- name: "test-latest-replica_set"
- name: "test-latest-sharded_cluster"
- name: "test-latest-standalone"
- name: "test-8.0-replica_set"
- name: "test-8.0-sharded_cluster"
- name: "test-8.0-standalone"
- name: "test-7.0-replica_set"
- name: "test-7.0-sharded_cluster"
- name: "test-7.0-standalone"

# Storage Engine Tests on Ubuntu 20.04
- matrix_name: "tests-storage-engines"
matrix_spec: {"os-fully-featured": "rhel8", storage-engine: "*" }
Expand All @@ -1182,6 +1254,7 @@ buildvariants:
then:
add_tasks:
- "test-latest-standalone"
- "test-8.0-standalone"
- "test-7.0-standalone"
- "test-3.6-standalone"
- if:
Expand Down
Loading

0 comments on commit a6cfcc8

Please sign in to comment.