Skip to content

Commit

Permalink
DRIVERS-2736 Update Drivers-Evergreen-Tools for Supported Build Hosts (
Browse files Browse the repository at this point in the history
…#353)

* DRIVERS-2736 Update Drivers-Evergreen-Tools for Supported Build Hosts

* validation fixes

* switch to 5.0+

* fix storage engine tests

* fix validation

* restore comment
  • Loading branch information
blink1073 authored Sep 27, 2023
1 parent 1f018c7 commit 80a9077
Showing 1 changed file with 71 additions and 114 deletions.
185 changes: 71 additions & 114 deletions .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,33 @@ tasks:

# Standard test tasks {{{

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

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

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

- name: "test-6.0-standalone"
tags: ["6.0", "standalone"]
commands:
Expand Down Expand Up @@ -733,6 +760,10 @@ axes:
display_name: "latest"
variables:
VERSION: "latest"
- id: "7.0"
display_name: "7.0"
variables:
VERSION: "7.0"
- id: "6.0"
display_name: "6.0"
variables:
Expand Down Expand Up @@ -763,61 +794,42 @@ axes:
display_name: OS
values:

- id: ubuntu-1804
display_name: "Ubuntu 18.04"
run_on: ubuntu1804-small
- id: rhel8
display_name: "RHEL 8"
run_on: rhel87-small

# OSes that support versions of MongoDB without SSL.
- id: os-nossl
display_name: OS
values:
- id: macos-1100
display_name: "macOS 11.00"
run_on: macos-1100

- id: macos-1014
display_name: "macOS 10.14"
run_on: macos-1014

- id: os-windows
display_name: OS
values:
- id: windows-64-vsMulti-small
display_name: "Windows 64"
run_on: windows-64-vsMulti-small

# OSes that support versions of MongoDB>=3.6 with SSL.
- id: os-requires-36
# OSes that support versions of MongoDB>=5.0 with SSL.
- id: os-requires-50
display_name: OS
values:
- id: debian81-test
display_name: "Debian 8.1"
run_on: debian81-test

- id: rhel70-small
display_name: "RHEL 7.0"
run_on: rhel70-small

# OSes that support versions of MongoDB>=4.2 with SSL.
- id: os-requires-42
display_name: OS
values:
- id: debian92-test
display_name: "Debian 9.2"
run_on: debian92-test
- id: debian10
display_name: "Debian 10.0"
run_on: debian10-small

- id: ubuntu-18.04
display_name: "Ubuntu 18.04 (Requires 4.2)"
run_on: ubuntu1804-test
- id: ubuntu-20.04
display_name: "Ubuntu 20.04"
run_on: ubuntu2004-test

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

- id: rhel81-power8
display_name: "RHEL 8.1 (POWER8)"
run_on: rhel81-power8
- id: rhel87-power8
display_name: "RHEL 8 (POWER8)"
run_on: rhel81-power8-small

- id: ubuntu1804-zseries-small
display_name: "Ubuntu 18.04 (zSeries)"
run_on: ubuntu1804-zseries-small
- id: rhel83-zseries-small
display_name: "RHEL8 (zSeries)"
run_on: rhel83-zseries-small

- id: topology
display_name: Topology
Expand Down Expand Up @@ -912,7 +924,7 @@ buildvariants:
- name: releng-release-archive-creator
display_name: "** Release Archive Creator"
run_on:
- ubuntu1404-build
- ubuntu2004-large
tasks:
- ".releng" # Run all tasks with the "releng" tag

Expand All @@ -925,6 +937,9 @@ buildvariants:
- name: "test-latest-sharded_cluster"
- name: "test-latest-standalone"
- name: "test-latest-load_balancer"
- name: "test-7.0-replica_set"
- name: "test-7.0-sharded_cluster"
- name: "test-7.0-standalone"
- name: "test-6.0-replica_set"
- name: "test-6.0-sharded_cluster"
- name: "test-6.0-standalone"
Expand All @@ -944,58 +959,26 @@ buildvariants:
- name: "test-3.6-sharded_cluster"
- name: "test-3.6-standalone"

- matrix_name: "tests-nossl"
matrix_spec: {"os-nossl": "*", auth: "*", ssl: "nossl" }
display_name: "${os-nossl} ${auth} ${ssl}"
- matrix_name: "tests-os-requires-50"
matrix_spec: {"os-requires-50": "*", auth: "*", ssl: "*" }
display_name: "${os-requires-50} ${auth} ${ssl}"
tasks:
- name: "test-latest-replica_set"
- name: "test-latest-sharded_cluster"
- name: "test-latest-standalone"
- name: "test-latest-load_balancer"
- name: "test-7.0-replica_set"
- name: "test-7.0-sharded_cluster"
- name: "test-7.0-standalone"
- name: "test-6.0-replica_set"
- name: "test-6.0-sharded_cluster"
- name: "test-6.0-standalone"
- name: "test-5.0-replica_set"
- name: "test-5.0-sharded_cluster"
- name: "test-5.0-standalone"
- name: "test-4.4-replica_set"
- name: "test-4.4-sharded_cluster"
- name: "test-4.4-standalone"
- name: "test-4.2-replica_set"
- name: "test-4.2-sharded_cluster"
- name: "test-4.2-standalone"
- name: "test-4.0-replica_set"
- name: "test-4.0-sharded_cluster"
- name: "test-4.0-standalone"
- name: "test-3.6-replica_set"
- name: "test-3.6-sharded_cluster"
- name: "test-3.6-standalone"

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

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

# Storage Engine Tests on Ubuntu 18.04
# Storage Engine Tests on Ubuntu 20.04
- matrix_name: "tests-storage-engines"
matrix_spec: {"os-fully-featured": "ubuntu-1804", storage-engine: "*" }
matrix_spec: {"os-fully-featured": "rhel8", storage-engine: "*" }
display_name: "${os-fully-featured} ${storage-engine}"
rules:
- if:
Expand All @@ -1010,7 +993,7 @@ buildvariants:
then:
add_tasks:
- "test-latest-standalone"
- "test-6.0-standalone"
- "test-7.0-standalone"
- "test-3.6-standalone"
- if:
os-fully-featured: "*"
Expand All @@ -1019,38 +1002,11 @@ buildvariants:
add_tasks:
- "test-3.6-standalone"

- matrix_name: "tests-windows"
matrix_spec: {os-windows: "*", auth: "*", ssl: "*" }
display_name: "${os-windows} ${auth} ${ssl}"
tasks:
- name: "test-latest-replica_set"
- name: "test-latest-sharded_cluster"
- name: "test-latest-standalone"
- name: "test-latest-load_balancer"
- name: "test-6.0-replica_set"
- name: "test-6.0-sharded_cluster"
- name: "test-6.0-standalone"
- name: "test-5.0-replica_set"
- name: "test-5.0-sharded_cluster"
- name: "test-5.0-standalone"
- name: "test-4.4-replica_set"
- name: "test-4.4-sharded_cluster"
- name: "test-4.4-standalone"
- name: "test-4.2-replica_set"
- name: "test-4.2-sharded_cluster"
- name: "test-4.2-standalone"
- name: "test-4.0-replica_set"
- name: "test-4.0-sharded_cluster"
- name: "test-4.0-standalone"
- name: "test-3.6-replica_set"
- name: "test-3.6-sharded_cluster"
- name: "test-3.6-standalone"

- matrix_name: "serverless"
matrix_spec:
os-requires-42:
- "ubuntu-18.04"
display_name: "Serverless ${os-requires-42}"
os-requires-50:
- "ubuntu-20.04"
display_name: "Serverless ${os-requires-50}"
tasks:
- "serverless_task_group"

Expand All @@ -1061,6 +1017,8 @@ buildvariants:
# Ubuntu16.04 aarch64 is only supported by MongoDB 3.4+
# Ubuntu16.04 s390x is only supported by MongoDB 3.4+
# Ubuntu16.04 (x86) only supports MongoDB 3.2+
# Ubuntu20.04 only supports MongoDB 4.4+
# Debian 10.0 only supports MongoDB 4.2+
# Debian 8.1 only supports MongoDB 3.4+
# SUSE12 s390x is only supported by MongoDB 3.4+
# No enterprise build for Archlinux, SSL not available
Expand All @@ -1073,4 +1031,3 @@ buildvariants:
# Debian 7.1 does not support MongoDB 2.4
# SUSE12 x86_64 is only supported by MongoDB 3.2+
# vim: set et sw=2 ts=2 :

0 comments on commit 80a9077

Please sign in to comment.