From cb8cf03eb52c5a84616faf3112d36e0ceb832ab5 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 23 Oct 2024 13:29:09 -0500 Subject: [PATCH] PYTHON-4901 Move generated Evergreen variants to an included file (#1965) --- .evergreen/config.yml | 2293 +-------------------- .evergreen/generated_configs/variants.yml | 2204 ++++++++++++++++++++ .evergreen/scripts/generate_config.py | 69 +- 3 files changed, 2258 insertions(+), 2308 deletions(-) create mode 100644 .evergreen/generated_configs/variants.yml diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 17d12742a6..6e48a380d3 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -25,6 +25,9 @@ timeout: script: | ls -la +include: + - filename: .evergreen/generated_configs/variants.yml + functions: "fetch source": # Executes clone and applies the submitted patch, if any @@ -1974,1954 +1977,6 @@ tasks: - ${github_commit} buildvariants: -# Server Tests. -- name: test-rhel8-py3.9-auth-ssl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 py3.9 Auth SSL cov - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-py3.9-noauth-ssl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 py3.9 NoAuth SSL cov - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: ssl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-py3.9-noauth-nossl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 py3.9 NoAuth NoSSL cov - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: nossl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-py3.13-auth-ssl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 py3.13 Auth SSL cov - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-py3.13-noauth-ssl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 py3.13 NoAuth SSL cov - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: ssl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-py3.13-noauth-nossl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 py3.13 NoAuth NoSSL cov - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: nossl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-pypy3.10-auth-ssl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 pypy3.10 Auth SSL cov - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-pypy3.10-noauth-ssl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 pypy3.10 NoAuth SSL cov - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: ssl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-pypy3.10-noauth-nossl-cov - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Test RHEL8 pypy3.10 NoAuth NoSSL cov - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: nossl - COVERAGE: coverage - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - tags: [coverage_tag] -- name: test-rhel8-py3.10-auth-ssl - tasks: - - name: .standalone - display_name: Test RHEL8 py3.10 Auth SSL - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: test-rhel8-py3.11-noauth-ssl - tasks: - - name: .replica_set - display_name: Test RHEL8 py3.11 NoAuth SSL - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: ssl - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: test-rhel8-py3.12-noauth-nossl - tasks: - - name: .sharded_cluster - display_name: Test RHEL8 py3.12 NoAuth NoSSL - run_on: - - rhel87-small - expansions: - AUTH: noauth - SSL: nossl - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: test-rhel8-pypy3.9-auth-ssl - tasks: - - name: .standalone - display_name: Test RHEL8 pypy3.9 Auth SSL - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: test-macos-py3.9-auth-ssl-sync - tasks: - - name: .standalone - display_name: Test macOS py3.9 Auth SSL Sync - run_on: - - macos-14 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-py3.9-noauth-ssl-sync - tasks: - - name: .standalone - display_name: Test macOS py3.9 NoAuth SSL Sync - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-py3.9-noauth-nossl-sync - tasks: - - name: .standalone - display_name: Test macOS py3.9 NoAuth NoSSL Sync - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-py3.9-auth-ssl-async - tasks: - - name: .standalone - display_name: Test macOS py3.9 Auth SSL Async - run_on: - - macos-14 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-py3.9-noauth-ssl-async - tasks: - - name: .standalone - display_name: Test macOS py3.9 NoAuth SSL Async - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-py3.9-noauth-nossl-async - tasks: - - name: .standalone - display_name: Test macOS py3.9 NoAuth NoSSL Async - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-py3.13-auth-ssl-sync - tasks: - - name: .sharded_cluster - display_name: Test macOS py3.13 Auth SSL Sync - run_on: - - macos-14 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-py3.13-noauth-ssl-sync - tasks: - - name: .sharded_cluster - display_name: Test macOS py3.13 NoAuth SSL Sync - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-py3.13-noauth-nossl-sync - tasks: - - name: .sharded_cluster - display_name: Test macOS py3.13 NoAuth NoSSL Sync - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-py3.13-auth-ssl-async - tasks: - - name: .sharded_cluster - display_name: Test macOS py3.13 Auth SSL Async - run_on: - - macos-14 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-py3.13-noauth-ssl-async - tasks: - - name: .sharded_cluster - display_name: Test macOS py3.13 NoAuth SSL Async - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-py3.13-noauth-nossl-async - tasks: - - name: .sharded_cluster - display_name: Test macOS py3.13 NoAuth NoSSL Async - run_on: - - macos-14 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-arm64-py3.9-auth-ssl-sync - tasks: - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Test macOS Arm64 py3.9 Auth SSL Sync - run_on: - - macos-14-arm64 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-arm64-py3.9-noauth-ssl-sync - tasks: - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Test macOS Arm64 py3.9 NoAuth SSL Sync - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-arm64-py3.9-noauth-nossl-sync - tasks: - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Sync - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-arm64-py3.9-auth-ssl-async - tasks: - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Test macOS Arm64 py3.9 Auth SSL Async - run_on: - - macos-14-arm64 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-arm64-py3.9-noauth-ssl-async - tasks: - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Test macOS Arm64 py3.9 NoAuth SSL Async - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-arm64-py3.9-noauth-nossl-async - tasks: - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Async - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: test-macos-arm64-py3.13-auth-ssl-sync - tasks: - - name: .sharded_cluster .6.0 - - name: .sharded_cluster .7.0 - - name: .sharded_cluster .8.0 - - name: .sharded_cluster .rapid - - name: .sharded_cluster .latest - display_name: Test macOS Arm64 py3.13 Auth SSL Sync - run_on: - - macos-14-arm64 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-arm64-py3.13-noauth-ssl-sync - tasks: - - name: .sharded_cluster .6.0 - - name: .sharded_cluster .7.0 - - name: .sharded_cluster .8.0 - - name: .sharded_cluster .rapid - - name: .sharded_cluster .latest - display_name: Test macOS Arm64 py3.13 NoAuth SSL Sync - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-arm64-py3.13-noauth-nossl-sync - tasks: - - name: .sharded_cluster .6.0 - - name: .sharded_cluster .7.0 - - name: .sharded_cluster .8.0 - - name: .sharded_cluster .rapid - - name: .sharded_cluster .latest - display_name: Test macOS Arm64 py3.13 NoAuth NoSSL Sync - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-arm64-py3.13-auth-ssl-async - tasks: - - name: .sharded_cluster .6.0 - - name: .sharded_cluster .7.0 - - name: .sharded_cluster .8.0 - - name: .sharded_cluster .rapid - - name: .sharded_cluster .latest - display_name: Test macOS Arm64 py3.13 Auth SSL Async - run_on: - - macos-14-arm64 - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-arm64-py3.13-noauth-ssl-async - tasks: - - name: .sharded_cluster .6.0 - - name: .sharded_cluster .7.0 - - name: .sharded_cluster .8.0 - - name: .sharded_cluster .rapid - - name: .sharded_cluster .latest - display_name: Test macOS Arm64 py3.13 NoAuth SSL Async - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-macos-arm64-py3.13-noauth-nossl-async - tasks: - - name: .sharded_cluster .6.0 - - name: .sharded_cluster .7.0 - - name: .sharded_cluster .8.0 - - name: .sharded_cluster .rapid - - name: .sharded_cluster .latest - display_name: Test macOS Arm64 py3.13 NoAuth NoSSL Async - run_on: - - macos-14-arm64 - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 -- name: test-win64-py3.9-auth-ssl-sync - tasks: - - name: .standalone - display_name: Test Win64 py3.9 Auth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: test-win64-py3.9-noauth-ssl-sync - tasks: - - name: .standalone - display_name: Test Win64 py3.9 NoAuth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: test-win64-py3.9-noauth-nossl-sync - tasks: - - name: .standalone - display_name: Test Win64 py3.9 NoAuth NoSSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: test-win64-py3.9-auth-ssl-async - tasks: - - name: .standalone - display_name: Test Win64 py3.9 Auth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: test-win64-py3.9-noauth-ssl-async - tasks: - - name: .standalone - display_name: Test Win64 py3.9 NoAuth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: test-win64-py3.9-noauth-nossl-async - tasks: - - name: .standalone - display_name: Test Win64 py3.9 NoAuth NoSSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: test-win64-py3.13-auth-ssl-sync - tasks: - - name: .sharded_cluster - display_name: Test Win64 py3.13 Auth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: test-win64-py3.13-noauth-ssl-sync - tasks: - - name: .sharded_cluster - display_name: Test Win64 py3.13 NoAuth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: test-win64-py3.13-noauth-nossl-sync - tasks: - - name: .sharded_cluster - display_name: Test Win64 py3.13 NoAuth NoSSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: test-win64-py3.13-auth-ssl-async - tasks: - - name: .sharded_cluster - display_name: Test Win64 py3.13 Auth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: test-win64-py3.13-noauth-ssl-async - tasks: - - name: .sharded_cluster - display_name: Test Win64 py3.13 NoAuth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: test-win64-py3.13-noauth-nossl-async - tasks: - - name: .sharded_cluster - display_name: Test Win64 py3.13 NoAuth NoSSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: test-win32-py3.9-auth-ssl-sync - tasks: - - name: .standalone - display_name: Test Win32 py3.9 Auth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python39/python.exe -- name: test-win32-py3.9-noauth-ssl-sync - tasks: - - name: .standalone - display_name: Test Win32 py3.9 NoAuth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python39/python.exe -- name: test-win32-py3.9-noauth-nossl-sync - tasks: - - name: .standalone - display_name: Test Win32 py3.9 NoAuth NoSSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python39/python.exe -- name: test-win32-py3.9-auth-ssl-async - tasks: - - name: .standalone - display_name: Test Win32 py3.9 Auth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python39/python.exe -- name: test-win32-py3.9-noauth-ssl-async - tasks: - - name: .standalone - display_name: Test Win32 py3.9 NoAuth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python39/python.exe -- name: test-win32-py3.9-noauth-nossl-async - tasks: - - name: .standalone - display_name: Test Win32 py3.9 NoAuth NoSSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python39/python.exe -- name: test-win32-py3.13-auth-ssl-sync - tasks: - - name: .sharded_cluster - display_name: Test Win32 py3.13 Auth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python313/python.exe -- name: test-win32-py3.13-noauth-ssl-sync - tasks: - - name: .sharded_cluster - display_name: Test Win32 py3.13 NoAuth SSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python313/python.exe -- name: test-win32-py3.13-noauth-nossl-sync - tasks: - - name: .sharded_cluster - display_name: Test Win32 py3.13 NoAuth NoSSL Sync - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python313/python.exe -- name: test-win32-py3.13-auth-ssl-async - tasks: - - name: .sharded_cluster - display_name: Test Win32 py3.13 Auth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python313/python.exe -- name: test-win32-py3.13-noauth-ssl-async - tasks: - - name: .sharded_cluster - display_name: Test Win32 py3.13 NoAuth SSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: ssl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python313/python.exe -- name: test-win32-py3.13-noauth-nossl-async - tasks: - - name: .sharded_cluster - display_name: Test Win32 py3.13 NoAuth NoSSL Async - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: noauth - SSL: nossl - TEST_SUITES: default_async - SKIP_CSOT_TESTS: "true" - PYTHON_BINARY: C:/python/32/Python313/python.exe - -# Encryption tests. -- name: encryption-rhel8-py3.9-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption RHEL8 py3.9 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [encryption_tag] -- name: encryption-rhel8-py3.13-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption RHEL8 py3.13 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [encryption_tag] -- name: encryption-rhel8-pypy3.10-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption RHEL8 pypy3.10 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - tags: [encryption_tag] -- name: encryption-crypt_shared-rhel8-py3.9-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption crypt_shared RHEL8 py3.9 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [encryption_tag] -- name: encryption-crypt_shared-rhel8-py3.13-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption crypt_shared RHEL8 py3.13 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [encryption_tag] -- name: encryption-crypt_shared-rhel8-pypy3.10-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption crypt_shared RHEL8 pypy3.10 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - tags: [encryption_tag] -- name: encryption-pyopenssl-rhel8-py3.9-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption PyOpenSSL RHEL8 py3.9 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_encryption_pyopenssl: "true" - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [encryption_tag] -- name: encryption-pyopenssl-rhel8-py3.13-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption PyOpenSSL RHEL8 py3.13 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_encryption_pyopenssl: "true" - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [encryption_tag] -- name: encryption-pyopenssl-rhel8-pypy3.10-auth-ssl - tasks: - - name: .standalone - - name: .replica_set - - name: .sharded_cluster - display_name: Encryption PyOpenSSL RHEL8 pypy3.10 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_encryption_pyopenssl: "true" - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - tags: [encryption_tag] -- name: encryption-rhel8-py3.10-auth-ssl - tasks: - - name: .replica_set - display_name: Encryption RHEL8 py3.10 Auth SSL - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: encryption-crypt_shared-rhel8-py3.11-auth-nossl - tasks: - - name: .replica_set - display_name: Encryption crypt_shared RHEL8 py3.11 Auth NoSSL - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: nossl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: encryption-pyopenssl-rhel8-py3.12-auth-ssl - tasks: - - name: .replica_set - display_name: Encryption PyOpenSSL RHEL8 py3.12 Auth SSL - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - TEST_ENCRYPTION_PYOPENSSL: "true" - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: encryption-rhel8-pypy3.9-auth-nossl - tasks: - - name: .replica_set - display_name: Encryption RHEL8 pypy3.9 Auth NoSSL - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: nossl - test_encryption: "true" - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: encryption-macos-py3.9-auth-ssl - tasks: - - name: .latest .replica_set - display_name: Encryption macOS py3.9 Auth SSL - run_on: - - macos-14 - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 - tags: [encryption_tag] -- name: encryption-macos-py3.13-auth-nossl - tasks: - - name: .latest .replica_set - display_name: Encryption macOS py3.13 Auth NoSSL - run_on: - - macos-14 - batchtime: 10080 - expansions: - AUTH: auth - SSL: nossl - test_encryption: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 - tags: [encryption_tag] -- name: encryption-crypt_shared-macos-py3.9-auth-ssl - tasks: - - name: .latest .replica_set - display_name: Encryption crypt_shared macOS py3.9 Auth SSL - run_on: - - macos-14 - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 - tags: [encryption_tag] -- name: encryption-crypt_shared-macos-py3.13-auth-nossl - tasks: - - name: .latest .replica_set - display_name: Encryption crypt_shared macOS py3.13 Auth NoSSL - run_on: - - macos-14 - batchtime: 10080 - expansions: - AUTH: auth - SSL: nossl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 - tags: [encryption_tag] -- name: encryption-win64-py3.9-auth-ssl - tasks: - - name: .latest .replica_set - display_name: Encryption Win64 py3.9 Auth SSL - run_on: - - windows-64-vsMulti-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - PYTHON_BINARY: C:/python/Python39/python.exe - tags: [encryption_tag] -- name: encryption-win64-py3.13-auth-nossl - tasks: - - name: .latest .replica_set - display_name: Encryption Win64 py3.13 Auth NoSSL - run_on: - - windows-64-vsMulti-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: nossl - test_encryption: "true" - PYTHON_BINARY: C:/python/Python313/python.exe - tags: [encryption_tag] -- name: encryption-crypt_shared-win64-py3.9-auth-ssl - tasks: - - name: .latest .replica_set - display_name: Encryption crypt_shared Win64 py3.9 Auth SSL - run_on: - - windows-64-vsMulti-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: ssl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: C:/python/Python39/python.exe - tags: [encryption_tag] -- name: encryption-crypt_shared-win64-py3.13-auth-nossl - tasks: - - name: .latest .replica_set - display_name: Encryption crypt_shared Win64 py3.13 Auth NoSSL - run_on: - - windows-64-vsMulti-small - batchtime: 10080 - expansions: - AUTH: auth - SSL: nossl - test_encryption: "true" - test_crypt_shared: "true" - PYTHON_BINARY: C:/python/Python313/python.exe - tags: [encryption_tag] - -# Compressor tests. -- name: snappy-compression-rhel8-py3.9-no-c - tasks: - - name: .standalone - display_name: snappy compression RHEL8 py3.9 No C - run_on: - - rhel87-small - expansions: - COMPRESSORS: snappy - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: snappy-compression-rhel8-py3.10 - tasks: - - name: .standalone - display_name: snappy compression RHEL8 py3.10 - run_on: - - rhel87-small - expansions: - COMPRESSORS: snappy - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: zlib-compression-rhel8-py3.11-no-c - tasks: - - name: .standalone - display_name: zlib compression RHEL8 py3.11 No C - run_on: - - rhel87-small - expansions: - COMPRESSORS: zlib - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: zlib-compression-rhel8-py3.12 - tasks: - - name: .standalone - display_name: zlib compression RHEL8 py3.12 - run_on: - - rhel87-small - expansions: - COMPRESSORS: zlib - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: zstd-compression-rhel8-py3.13-no-c - tasks: - - name: .standalone !.4.0 - display_name: zstd compression RHEL8 py3.13 No C - run_on: - - rhel87-small - expansions: - COMPRESSORS: zstd - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: zstd-compression-rhel8-py3.9 - tasks: - - name: .standalone !.4.0 - display_name: zstd compression RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - COMPRESSORS: zstd - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: snappy-compression-rhel8-pypy3.9 - tasks: - - name: .standalone - display_name: snappy compression RHEL8 pypy3.9 - run_on: - - rhel87-small - expansions: - COMPRESSORS: snappy - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: zlib-compression-rhel8-pypy3.10 - tasks: - - name: .standalone - display_name: zlib compression RHEL8 pypy3.10 - run_on: - - rhel87-small - expansions: - COMPRESSORS: zlib - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 -- name: zstd-compression-rhel8-pypy3.9 - tasks: - - name: .standalone !.4.0 - display_name: zstd compression RHEL8 pypy3.9 - run_on: - - rhel87-small - expansions: - COMPRESSORS: zstd - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 - -# Enterprise auth tests. -- name: enterprise-auth-macos-py3.9-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth macOS py3.9 Auth - run_on: - - macos-14 - expansions: - AUTH: auth - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: enterprise-auth-rhel8-py3.10-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth RHEL8 py3.10 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: enterprise-auth-rhel8-py3.11-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth RHEL8 py3.11 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: enterprise-auth-rhel8-py3.12-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth RHEL8 py3.12 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: enterprise-auth-win64-py3.13-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth Win64 py3.13 Auth - run_on: - - windows-64-vsMulti-small - expansions: - AUTH: auth - PYTHON_BINARY: C:/python/Python313/python.exe -- name: enterprise-auth-rhel8-pypy3.9-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth RHEL8 pypy3.9 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: enterprise-auth-rhel8-pypy3.10-auth - tasks: - - name: test-enterprise-auth - display_name: Enterprise Auth RHEL8 pypy3.10 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - -# PyOpenSSL tests. -- name: pyopenssl-macos-py3.9 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL macOS py3.9 - run_on: - - macos-14 - batchtime: 10080 - expansions: - AUTH: noauth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: pyopenssl-rhel8-py3.10 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL RHEL8 py3.10 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: pyopenssl-rhel8-py3.11 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL RHEL8 py3.11 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: pyopenssl-rhel8-py3.12 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL RHEL8 py3.12 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: pyopenssl-win64-py3.13 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL Win64 py3.13 - run_on: - - windows-64-vsMulti-small - batchtime: 10080 - expansions: - AUTH: auth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: C:/python/Python313/python.exe -- name: pyopenssl-rhel8-pypy3.9 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL RHEL8 pypy3.9 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: pyopenssl-rhel8-pypy3.10 - tasks: - - name: .replica_set - - name: .7.0 - display_name: PyOpenSSL RHEL8 pypy3.10 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - AUTH: auth - test_pyopenssl: "true" - SSL: ssl - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 - -# Storage Engine tests. -- name: storage-inmemory-rhel8-py3.9 - tasks: - - name: .standalone .4.0 - - name: .standalone .4.4 - - name: .standalone .5.0 - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Storage InMemory RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - STORAGE_ENGINE: inmemory - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: storage-mmapv1-rhel8-py3.9 - tasks: - - name: .standalone .4.0 - - name: .replica_set .4.0 - display_name: Storage MMAPv1 RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - STORAGE_ENGINE: mmapv1 - PYTHON_BINARY: /opt/python/3.9/bin/python3 - -# Versioned API tests. -- name: versioned-api-require-v1-rhel8-py3.9-auth - tasks: - - name: .standalone .5.0 - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Versioned API require v1 RHEL8 py3.9 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - REQUIRE_API_VERSION: "1" - MONGODB_API_VERSION: "1" - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [versionedApi_tag] -- name: versioned-api-accept-v2-rhel8-py3.9-auth - tasks: - - name: .standalone .5.0 - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Versioned API accept v2 RHEL8 py3.9 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - ORCHESTRATION_FILE: versioned-api-testing.json - PYTHON_BINARY: /opt/python/3.9/bin/python3 - tags: [versionedApi_tag] -- name: versioned-api-require-v1-rhel8-py3.13-auth - tasks: - - name: .standalone .5.0 - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Versioned API require v1 RHEL8 py3.13 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - REQUIRE_API_VERSION: "1" - MONGODB_API_VERSION: "1" - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [versionedApi_tag] -- name: versioned-api-accept-v2-rhel8-py3.13-auth - tasks: - - name: .standalone .5.0 - - name: .standalone .6.0 - - name: .standalone .7.0 - - name: .standalone .8.0 - - name: .standalone .rapid - - name: .standalone .latest - display_name: Versioned API accept v2 RHEL8 py3.13 Auth - run_on: - - rhel87-small - expansions: - AUTH: auth - ORCHESTRATION_FILE: versioned-api-testing.json - PYTHON_BINARY: /opt/python/3.13/bin/python3 - tags: [versionedApi_tag] - -# Green framework tests. -- name: eventlet-rhel8-py3.9 - tasks: - - name: .standalone - display_name: Eventlet RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - GREEN_FRAMEWORK: eventlet - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: gevent-rhel8-py3.9 - tasks: - - name: .standalone - display_name: Gevent RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - GREEN_FRAMEWORK: gevent - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: eventlet-rhel8-py3.12 - tasks: - - name: .standalone - display_name: Eventlet RHEL8 py3.12 - run_on: - - rhel87-small - expansions: - GREEN_FRAMEWORK: eventlet - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: gevent-rhel8-py3.12 - tasks: - - name: .standalone - display_name: Gevent RHEL8 py3.12 - run_on: - - rhel87-small - expansions: - GREEN_FRAMEWORK: gevent - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.12/bin/python3 - -# No C Ext tests. -- name: no-c-ext-rhel8-py3.9 - tasks: - - name: .standalone - display_name: No C Ext RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: no-c-ext-rhel8-py3.10 - tasks: - - name: .replica_set - display_name: No C Ext RHEL8 py3.10 - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: no-c-ext-rhel8-py3.11 - tasks: - - name: .sharded_cluster - display_name: No C Ext RHEL8 py3.11 - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: no-c-ext-rhel8-py3.12 - tasks: - - name: .standalone - display_name: No C Ext RHEL8 py3.12 - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: no-c-ext-rhel8-py3.13 - tasks: - - name: .replica_set - display_name: No C Ext RHEL8 py3.13 - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.13/bin/python3 - -# Atlas Data Lake tests. -- name: atlas-data-lake-rhel8-py3.9-no-c - tasks: - - name: atlas-data-lake-tests - display_name: Atlas Data Lake RHEL8 py3.9 No C - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: atlas-data-lake-rhel8-py3.9 - tasks: - - name: atlas-data-lake-tests - display_name: Atlas Data Lake RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: atlas-data-lake-rhel8-py3.13-no-c - tasks: - - name: atlas-data-lake-tests - display_name: Atlas Data Lake RHEL8 py3.13 No C - run_on: - - rhel87-small - expansions: - NO_EXT: "1" - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: atlas-data-lake-rhel8-py3.13 - tasks: - - name: atlas-data-lake-tests - display_name: Atlas Data Lake RHEL8 py3.13 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.13/bin/python3 - -# Mod_wsgi tests. -- name: mod_wsgi-ubuntu-22-py3.9 - tasks: - - name: mod-wsgi-standalone - - name: mod-wsgi-replica-set - - name: mod-wsgi-embedded-mode-standalone - - name: mod-wsgi-embedded-mode-replica-set - display_name: mod_wsgi Ubuntu-22 py3.9 - run_on: - - ubuntu2204-small - expansions: - MOD_WSGI_VERSION: "4" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: mod_wsgi-ubuntu-22-py3.13 - tasks: - - name: mod-wsgi-standalone - - name: mod-wsgi-replica-set - - name: mod-wsgi-embedded-mode-standalone - - name: mod-wsgi-embedded-mode-replica-set - display_name: mod_wsgi Ubuntu-22 py3.13 - run_on: - - ubuntu2204-small - expansions: - MOD_WSGI_VERSION: "4" - PYTHON_BINARY: /opt/python/3.13/bin/python3 - -# Disable test commands variants. -- name: disable-test-commands-rhel8-py3.9 - tasks: - - name: .latest - display_name: Disable test commands RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - AUTH: auth - SSL: ssl - DISABLE_TEST_COMMANDS: "1" - PYTHON_BINARY: /opt/python/3.9/bin/python3 - -# Serverless variants. -- name: serverless-rhel8-py3.9 - tasks: - - name: serverless_task_group - display_name: Serverless RHEL8 py3.9 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - test_serverless: "true" - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: serverless-rhel8-py3.13 - tasks: - - name: serverless_task_group - display_name: Serverless RHEL8 py3.13 - run_on: - - rhel87-small - batchtime: 10080 - expansions: - test_serverless: "true" - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.13/bin/python3 - -# AWS Auth tests. -- name: aws-auth-ubuntu-20-py3.9 - tasks: - - name: aws-auth-test-4.4 - - name: aws-auth-test-5.0 - - name: aws-auth-test-6.0 - - name: aws-auth-test-7.0 - - name: aws-auth-test-8.0 - - name: aws-auth-test-rapid - - name: aws-auth-test-latest - display_name: AWS Auth Ubuntu-20 py3.9 - run_on: - - ubuntu2004-small - expansions: - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: aws-auth-ubuntu-20-py3.13 - tasks: - - name: aws-auth-test-4.4 - - name: aws-auth-test-5.0 - - name: aws-auth-test-6.0 - - name: aws-auth-test-7.0 - - name: aws-auth-test-8.0 - - name: aws-auth-test-rapid - - name: aws-auth-test-latest - display_name: AWS Auth Ubuntu-20 py3.13 - run_on: - - ubuntu2004-small - expansions: - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: aws-auth-win64-py3.9 - tasks: - - name: aws-auth-test-4.4 - - name: aws-auth-test-5.0 - - name: aws-auth-test-6.0 - - name: aws-auth-test-7.0 - - name: aws-auth-test-8.0 - - name: aws-auth-test-rapid - - name: aws-auth-test-latest - display_name: AWS Auth Win64 py3.9 - run_on: - - windows-64-vsMulti-small - expansions: - skip_ECS_auth_test: "true" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: aws-auth-win64-py3.13 - tasks: - - name: aws-auth-test-4.4 - - name: aws-auth-test-5.0 - - name: aws-auth-test-6.0 - - name: aws-auth-test-7.0 - - name: aws-auth-test-8.0 - - name: aws-auth-test-rapid - - name: aws-auth-test-latest - display_name: AWS Auth Win64 py3.13 - run_on: - - windows-64-vsMulti-small - expansions: - skip_ECS_auth_test: "true" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: aws-auth-macos-py3.9 - tasks: - - name: aws-auth-test-4.4 - - name: aws-auth-test-5.0 - - name: aws-auth-test-6.0 - - name: aws-auth-test-7.0 - - name: aws-auth-test-8.0 - - name: aws-auth-test-rapid - - name: aws-auth-test-latest - display_name: AWS Auth macOS py3.9 - run_on: - - macos-14 - expansions: - skip_ECS_auth_test: "true" - skip_EC2_auth_test: "true" - skip_web_identity_auth_test: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: aws-auth-macos-py3.13 - tasks: - - name: aws-auth-test-4.4 - - name: aws-auth-test-5.0 - - name: aws-auth-test-6.0 - - name: aws-auth-test-7.0 - - name: aws-auth-test-8.0 - - name: aws-auth-test-rapid - - name: aws-auth-test-latest - display_name: AWS Auth macOS py3.13 - run_on: - - macos-14 - expansions: - skip_ECS_auth_test: "true" - skip_EC2_auth_test: "true" - skip_web_identity_auth_test: "true" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 - -# Other hosts tests. -- name: openssl-1.0.2-rhel7-py3.9-auth-ssl - tasks: - - name: .5.0 .standalone - display_name: OpenSSL 1.0.2 RHEL7 py3.9 Auth SSL - run_on: - - rhel79-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: auth - SSL: ssl - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: openssl-1.0.2-rhel7-py3.9-noauth-ssl - tasks: - - name: .5.0 .standalone - display_name: OpenSSL 1.0.2 RHEL7 py3.9 NoAuth SSL - run_on: - - rhel79-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: ssl - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: openssl-1.0.2-rhel7-py3.9-noauth-nossl - tasks: - - name: .5.0 .standalone - display_name: OpenSSL 1.0.2 RHEL7 py3.9 NoAuth NoSSL - run_on: - - rhel79-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: nossl - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: other-hosts-rhel9-fips-auth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL9-FIPS Auth SSL - run_on: - - rhel92-fips - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: auth - SSL: ssl -- name: other-hosts-rhel9-fips-noauth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL9-FIPS NoAuth SSL - run_on: - - rhel92-fips - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: ssl -- name: other-hosts-rhel9-fips-noauth-nossl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL9-FIPS NoAuth NoSSL - run_on: - - rhel92-fips - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: nossl -- name: other-hosts-rhel8-zseries-auth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-zseries Auth SSL - run_on: - - rhel8-zseries-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: auth - SSL: ssl -- name: other-hosts-rhel8-zseries-noauth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-zseries NoAuth SSL - run_on: - - rhel8-zseries-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: ssl -- name: other-hosts-rhel8-zseries-noauth-nossl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-zseries NoAuth NoSSL - run_on: - - rhel8-zseries-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: nossl -- name: other-hosts-rhel8-power8-auth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-POWER8 Auth SSL - run_on: - - rhel8-power-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: auth - SSL: ssl -- name: other-hosts-rhel8-power8-noauth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-POWER8 NoAuth SSL - run_on: - - rhel8-power-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: ssl -- name: other-hosts-rhel8-power8-noauth-nossl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-POWER8 NoAuth NoSSL - run_on: - - rhel8-power-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: nossl -- name: other-hosts-rhel8-arm64-auth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-arm64 Auth SSL - run_on: - - rhel82-arm64-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: auth - SSL: ssl -- name: other-hosts-rhel8-arm64-noauth-ssl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-arm64 NoAuth SSL - run_on: - - rhel82-arm64-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: ssl -- name: other-hosts-rhel8-arm64-noauth-nossl - tasks: - - name: .6.0 .standalone - display_name: Other hosts RHEL8-arm64 NoAuth NoSSL - run_on: - - rhel82-arm64-small - batchtime: 10080 - expansions: - SKIP_HATCH: "true" - AUTH: noauth - SSL: nossl -- name: oidc-auth-rhel8 - tasks: - - name: testoidc_task_group - display_name: OIDC Auth RHEL8 - run_on: - - rhel87-small - batchtime: 20160 -- name: oidc-auth-macos - tasks: - - name: testoidc_task_group - display_name: OIDC Auth macOS - run_on: - - macos-14 - batchtime: 20160 -- name: oidc-auth-win64 - tasks: - - name: testoidc_task_group - display_name: OIDC Auth Win64 - run_on: - - windows-64-vsMulti-small - batchtime: 20160 -- name: atlas-connect-rhel8-py3.9 - tasks: - - name: atlas-connect - display_name: Atlas connect RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: atlas-connect-rhel8-py3.13 - tasks: - - name: atlas-connect - display_name: Atlas connect RHEL8 py3.13 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: doctests-rhel8-py3.9 - tasks: - - name: doctests - display_name: Doctests RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: mockupdb-tests-rhel8-py3.9 - tasks: - - name: mockupdb - display_name: MockupDB Tests RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: search-index-helpers-rhel8-py3.9 - tasks: - - name: test_atlas_task_group_search_indexes - display_name: Search Index Helpers RHEL8 py3.9 - run_on: - - rhel87-small - expansions: - PYTHON_BINARY: /opt/python/3.9/bin/python3 - - name: "no-server" display_name: "No server test" run_on: @@ -3936,348 +1991,6 @@ buildvariants: tasks: - name: "coverage-report" -# OCSP tests. -- name: ocsp-test-rhel8-v4.4-py3.9 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 v4.4 py3.9 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "4.4" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: ocsp-test-rhel8-v5.0-py3.10 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 v5.0 py3.10 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "5.0" - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: ocsp-test-rhel8-v6.0-py3.11 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 v6.0 py3.11 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "6.0" - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: ocsp-test-rhel8-v7.0-py3.12 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 v7.0 py3.12 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "7.0" - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: ocsp-test-rhel8-v8.0-py3.13 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 v8.0 py3.13 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "8.0" - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: ocsp-test-rhel8-rapid-pypy3.9 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 rapid pypy3.9 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: rapid - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: ocsp-test-rhel8-latest-pypy3.10 - tasks: - - name: .ocsp - display_name: OCSP test RHEL8 latest pypy3.10 - run_on: - - rhel87-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: latest - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 -- name: ocsp-test-win64-v4.4-py3.9 - tasks: - - name: .ocsp-rsa !.ocsp-staple - display_name: OCSP test Win64 v4.4 py3.9 - run_on: - - windows-64-vsMulti-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "4.4" - PYTHON_BINARY: C:/python/Python39/python.exe -- name: ocsp-test-win64-v8.0-py3.13 - tasks: - - name: .ocsp-rsa !.ocsp-staple - display_name: OCSP test Win64 v8.0 py3.13 - run_on: - - windows-64-vsMulti-small - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "8.0" - PYTHON_BINARY: C:/python/Python313/python.exe -- name: ocsp-test-macos-v4.4-py3.9 - tasks: - - name: .ocsp-rsa !.ocsp-staple - display_name: OCSP test macOS v4.4 py3.9 - run_on: - - macos-14 - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "4.4" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 -- name: ocsp-test-macos-v8.0-py3.13 - tasks: - - name: .ocsp-rsa !.ocsp-staple - display_name: OCSP test macOS v8.0 py3.13 - run_on: - - macos-14 - batchtime: 20160 - expansions: - AUTH: noauth - SSL: ssl - TOPOLOGY: server - VERSION: "8.0" - PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 - -# Load balancer tests -- name: load-balancer-rhel8-v6.0-py3.9-auth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v6.0 py3.9 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "6.0" - AUTH: auth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: load-balancer-rhel8-v6.0-py3.10-noauth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v6.0 py3.10 NoAuth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "6.0" - AUTH: noauth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: load-balancer-rhel8-v6.0-py3.11-noauth-nossl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v6.0 py3.11 NoAuth NoSSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "6.0" - AUTH: noauth - SSL: nossl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: load-balancer-rhel8-v7.0-py3.12-auth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v7.0 py3.12 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "7.0" - AUTH: auth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: load-balancer-rhel8-v7.0-py3.13-noauth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v7.0 py3.13 NoAuth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "7.0" - AUTH: noauth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: load-balancer-rhel8-v7.0-pypy3.9-noauth-nossl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v7.0 pypy3.9 NoAuth NoSSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "7.0" - AUTH: noauth - SSL: nossl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: load-balancer-rhel8-v8.0-pypy3.10-auth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v8.0 pypy3.10 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "8.0" - AUTH: auth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 -- name: load-balancer-rhel8-v8.0-py3.9-noauth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v8.0 py3.9 NoAuth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "8.0" - AUTH: noauth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.9/bin/python3 -- name: load-balancer-rhel8-v8.0-py3.10-noauth-nossl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 v8.0 py3.10 NoAuth NoSSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: "8.0" - AUTH: noauth - SSL: nossl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.10/bin/python3 -- name: load-balancer-rhel8-latest-py3.11-auth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 latest py3.11 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: latest - AUTH: auth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.11/bin/python3 -- name: load-balancer-rhel8-latest-py3.12-noauth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 latest py3.12 NoAuth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: latest - AUTH: noauth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.12/bin/python3 -- name: load-balancer-rhel8-latest-py3.13-noauth-nossl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 latest py3.13 NoAuth NoSSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: latest - AUTH: noauth - SSL: nossl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.13/bin/python3 -- name: load-balancer-rhel8-rapid-pypy3.9-auth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 rapid pypy3.9 Auth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: rapid - AUTH: auth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 -- name: load-balancer-rhel8-rapid-pypy3.10-noauth-ssl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 rapid pypy3.10 NoAuth SSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: rapid - AUTH: noauth - SSL: ssl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 -- name: load-balancer-rhel8-rapid-py3.9-noauth-nossl - tasks: - - name: load-balancer-test - display_name: Load Balancer RHEL8 rapid py3.9 NoAuth NoSSL - run_on: - - rhel87-small - batchtime: 10080 - expansions: - VERSION: rapid - AUTH: noauth - SSL: nossl - test_loadbalancer: "true" - PYTHON_BINARY: /opt/python/3.9/bin/python3 - - name: testazureoidc-variant display_name: "OIDC Auth Azure" run_on: ubuntu2204-small diff --git a/.evergreen/generated_configs/variants.yml b/.evergreen/generated_configs/variants.yml new file mode 100644 index 0000000000..52f8c673b3 --- /dev/null +++ b/.evergreen/generated_configs/variants.yml @@ -0,0 +1,2204 @@ +buildvariants: + # Alternative hosts tests + - name: openssl-1.0.2-rhel7-py3.9-auth-ssl + tasks: + - name: .5.0 .standalone + display_name: OpenSSL 1.0.2 RHEL7 py3.9 Auth SSL + run_on: + - rhel79-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: openssl-1.0.2-rhel7-py3.9-noauth-ssl + tasks: + - name: .5.0 .standalone + display_name: OpenSSL 1.0.2 RHEL7 py3.9 NoAuth SSL + run_on: + - rhel79-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: ssl + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: openssl-1.0.2-rhel7-py3.9-noauth-nossl + tasks: + - name: .5.0 .standalone + display_name: OpenSSL 1.0.2 RHEL7 py3.9 NoAuth NoSSL + run_on: + - rhel79-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: nossl + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: other-hosts-rhel9-fips-auth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL9-FIPS Auth SSL + run_on: + - rhel92-fips + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: auth + SSL: ssl + - name: other-hosts-rhel9-fips-noauth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL9-FIPS NoAuth SSL + run_on: + - rhel92-fips + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: ssl + - name: other-hosts-rhel9-fips-noauth-nossl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL9-FIPS NoAuth NoSSL + run_on: + - rhel92-fips + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: nossl + - name: other-hosts-rhel8-zseries-auth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-zseries Auth SSL + run_on: + - rhel8-zseries-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: auth + SSL: ssl + - name: other-hosts-rhel8-zseries-noauth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-zseries NoAuth SSL + run_on: + - rhel8-zseries-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: ssl + - name: other-hosts-rhel8-zseries-noauth-nossl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-zseries NoAuth NoSSL + run_on: + - rhel8-zseries-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: nossl + - name: other-hosts-rhel8-power8-auth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-POWER8 Auth SSL + run_on: + - rhel8-power-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: auth + SSL: ssl + - name: other-hosts-rhel8-power8-noauth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-POWER8 NoAuth SSL + run_on: + - rhel8-power-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: ssl + - name: other-hosts-rhel8-power8-noauth-nossl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-POWER8 NoAuth NoSSL + run_on: + - rhel8-power-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: nossl + - name: other-hosts-rhel8-arm64-auth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-arm64 Auth SSL + run_on: + - rhel82-arm64-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: auth + SSL: ssl + - name: other-hosts-rhel8-arm64-noauth-ssl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-arm64 NoAuth SSL + run_on: + - rhel82-arm64-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: ssl + - name: other-hosts-rhel8-arm64-noauth-nossl + tasks: + - name: .6.0 .standalone + display_name: Other hosts RHEL8-arm64 NoAuth NoSSL + run_on: + - rhel82-arm64-small + batchtime: 10080 + expansions: + SKIP_HATCH: "true" + AUTH: noauth + SSL: nossl + + # Atlas connect tests + - name: atlas-connect-rhel8-py3.9 + tasks: + - name: atlas-connect + display_name: Atlas connect RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: atlas-connect-rhel8-py3.13 + tasks: + - name: atlas-connect + display_name: Atlas connect RHEL8 py3.13 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.13/bin/python3 + + # Atlas data lake tests + - name: atlas-data-lake-rhel8-py3.9-no-c + tasks: + - name: atlas-data-lake-tests + display_name: Atlas Data Lake RHEL8 py3.9 No C + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: atlas-data-lake-rhel8-py3.9 + tasks: + - name: atlas-data-lake-tests + display_name: Atlas Data Lake RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: atlas-data-lake-rhel8-py3.13-no-c + tasks: + - name: atlas-data-lake-tests + display_name: Atlas Data Lake RHEL8 py3.13 No C + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + - name: atlas-data-lake-rhel8-py3.13 + tasks: + - name: atlas-data-lake-tests + display_name: Atlas Data Lake RHEL8 py3.13 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.13/bin/python3 + + # Aws auth tests + - name: aws-auth-ubuntu-20-py3.9 + tasks: + - name: aws-auth-test-4.4 + - name: aws-auth-test-5.0 + - name: aws-auth-test-6.0 + - name: aws-auth-test-7.0 + - name: aws-auth-test-8.0 + - name: aws-auth-test-rapid + - name: aws-auth-test-latest + display_name: AWS Auth Ubuntu-20 py3.9 + run_on: + - ubuntu2004-small + expansions: + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: aws-auth-ubuntu-20-py3.13 + tasks: + - name: aws-auth-test-4.4 + - name: aws-auth-test-5.0 + - name: aws-auth-test-6.0 + - name: aws-auth-test-7.0 + - name: aws-auth-test-8.0 + - name: aws-auth-test-rapid + - name: aws-auth-test-latest + display_name: AWS Auth Ubuntu-20 py3.13 + run_on: + - ubuntu2004-small + expansions: + PYTHON_BINARY: /opt/python/3.13/bin/python3 + - name: aws-auth-win64-py3.9 + tasks: + - name: aws-auth-test-4.4 + - name: aws-auth-test-5.0 + - name: aws-auth-test-6.0 + - name: aws-auth-test-7.0 + - name: aws-auth-test-8.0 + - name: aws-auth-test-rapid + - name: aws-auth-test-latest + display_name: AWS Auth Win64 py3.9 + run_on: + - windows-64-vsMulti-small + expansions: + skip_ECS_auth_test: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: aws-auth-win64-py3.13 + tasks: + - name: aws-auth-test-4.4 + - name: aws-auth-test-5.0 + - name: aws-auth-test-6.0 + - name: aws-auth-test-7.0 + - name: aws-auth-test-8.0 + - name: aws-auth-test-rapid + - name: aws-auth-test-latest + display_name: AWS Auth Win64 py3.13 + run_on: + - windows-64-vsMulti-small + expansions: + skip_ECS_auth_test: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: aws-auth-macos-py3.9 + tasks: + - name: aws-auth-test-4.4 + - name: aws-auth-test-5.0 + - name: aws-auth-test-6.0 + - name: aws-auth-test-7.0 + - name: aws-auth-test-8.0 + - name: aws-auth-test-rapid + - name: aws-auth-test-latest + display_name: AWS Auth macOS py3.9 + run_on: + - macos-14 + expansions: + skip_ECS_auth_test: "true" + skip_EC2_auth_test: "true" + skip_web_identity_auth_test: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: aws-auth-macos-py3.13 + tasks: + - name: aws-auth-test-4.4 + - name: aws-auth-test-5.0 + - name: aws-auth-test-6.0 + - name: aws-auth-test-7.0 + - name: aws-auth-test-8.0 + - name: aws-auth-test-rapid + - name: aws-auth-test-latest + display_name: AWS Auth macOS py3.13 + run_on: + - macos-14 + expansions: + skip_ECS_auth_test: "true" + skip_EC2_auth_test: "true" + skip_web_identity_auth_test: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + + # Compression tests + - name: snappy-compression-rhel8-py3.9-no-c + tasks: + - name: .standalone + display_name: snappy compression RHEL8 py3.9 No C + run_on: + - rhel87-small + expansions: + COMPRESSORS: snappy + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: snappy-compression-rhel8-py3.10 + tasks: + - name: .standalone + display_name: snappy compression RHEL8 py3.10 + run_on: + - rhel87-small + expansions: + COMPRESSORS: snappy + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: zlib-compression-rhel8-py3.11-no-c + tasks: + - name: .standalone + display_name: zlib compression RHEL8 py3.11 No C + run_on: + - rhel87-small + expansions: + COMPRESSORS: zlib + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: zlib-compression-rhel8-py3.12 + tasks: + - name: .standalone + display_name: zlib compression RHEL8 py3.12 + run_on: + - rhel87-small + expansions: + COMPRESSORS: zlib + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: zstd-compression-rhel8-py3.13-no-c + tasks: + - name: .standalone !.4.0 + display_name: zstd compression RHEL8 py3.13 No C + run_on: + - rhel87-small + expansions: + COMPRESSORS: zstd + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + - name: zstd-compression-rhel8-py3.9 + tasks: + - name: .standalone !.4.0 + display_name: zstd compression RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + COMPRESSORS: zstd + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: snappy-compression-rhel8-pypy3.9 + tasks: + - name: .standalone + display_name: snappy compression RHEL8 pypy3.9 + run_on: + - rhel87-small + expansions: + COMPRESSORS: snappy + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: zlib-compression-rhel8-pypy3.10 + tasks: + - name: .standalone + display_name: zlib compression RHEL8 pypy3.10 + run_on: + - rhel87-small + expansions: + COMPRESSORS: zlib + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + - name: zstd-compression-rhel8-pypy3.9 + tasks: + - name: .standalone !.4.0 + display_name: zstd compression RHEL8 pypy3.9 + run_on: + - rhel87-small + expansions: + COMPRESSORS: zstd + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + + # Disable test commands tests + - name: disable-test-commands-rhel8-py3.9 + tasks: + - name: .latest + display_name: Disable test commands RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + DISABLE_TEST_COMMANDS: "1" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + + # Doctests tests + - name: doctests-rhel8-py3.9 + tasks: + - name: doctests + display_name: Doctests RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.9/bin/python3 + + # Encryption tests + - name: encryption-rhel8-py3.9-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption RHEL8 py3.9 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + tags: [encryption_tag] + - name: encryption-rhel8-py3.13-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption RHEL8 py3.13 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + tags: [encryption_tag] + - name: encryption-rhel8-pypy3.10-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption RHEL8 pypy3.10 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + tags: [encryption_tag] + - name: encryption-crypt_shared-rhel8-py3.9-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption crypt_shared RHEL8 py3.9 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + tags: [encryption_tag] + - name: encryption-crypt_shared-rhel8-py3.13-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption crypt_shared RHEL8 py3.13 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + tags: [encryption_tag] + - name: encryption-crypt_shared-rhel8-pypy3.10-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption crypt_shared RHEL8 pypy3.10 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + tags: [encryption_tag] + - name: encryption-pyopenssl-rhel8-py3.9-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption PyOpenSSL RHEL8 py3.9 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_encryption_pyopenssl: "true" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + tags: [encryption_tag] + - name: encryption-pyopenssl-rhel8-py3.13-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption PyOpenSSL RHEL8 py3.13 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_encryption_pyopenssl: "true" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + tags: [encryption_tag] + - name: encryption-pyopenssl-rhel8-pypy3.10-auth-ssl + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Encryption PyOpenSSL RHEL8 pypy3.10 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_encryption_pyopenssl: "true" + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + tags: [encryption_tag] + - name: encryption-rhel8-py3.10-auth-ssl + tasks: + - name: .replica_set + display_name: Encryption RHEL8 py3.10 Auth SSL + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: encryption-crypt_shared-rhel8-py3.11-auth-nossl + tasks: + - name: .replica_set + display_name: Encryption crypt_shared RHEL8 py3.11 Auth NoSSL + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: nossl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: encryption-pyopenssl-rhel8-py3.12-auth-ssl + tasks: + - name: .replica_set + display_name: Encryption PyOpenSSL RHEL8 py3.12 Auth SSL + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_encryption_pyopenssl: "true" + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: encryption-rhel8-pypy3.9-auth-nossl + tasks: + - name: .replica_set + display_name: Encryption RHEL8 pypy3.9 Auth NoSSL + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: nossl + test_encryption: "true" + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: encryption-macos-py3.9-auth-ssl + tasks: + - name: .latest .replica_set + display_name: Encryption macOS py3.9 Auth SSL + run_on: + - macos-14 + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + tags: [encryption_tag] + - name: encryption-macos-py3.13-auth-nossl + tasks: + - name: .latest .replica_set + display_name: Encryption macOS py3.13 Auth NoSSL + run_on: + - macos-14 + batchtime: 10080 + expansions: + AUTH: auth + SSL: nossl + test_encryption: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + tags: [encryption_tag] + - name: encryption-crypt_shared-macos-py3.9-auth-ssl + tasks: + - name: .latest .replica_set + display_name: Encryption crypt_shared macOS py3.9 Auth SSL + run_on: + - macos-14 + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + tags: [encryption_tag] + - name: encryption-crypt_shared-macos-py3.13-auth-nossl + tasks: + - name: .latest .replica_set + display_name: Encryption crypt_shared macOS py3.13 Auth NoSSL + run_on: + - macos-14 + batchtime: 10080 + expansions: + AUTH: auth + SSL: nossl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + tags: [encryption_tag] + - name: encryption-win64-py3.9-auth-ssl + tasks: + - name: .latest .replica_set + display_name: Encryption Win64 py3.9 Auth SSL + run_on: + - windows-64-vsMulti-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + tags: [encryption_tag] + - name: encryption-win64-py3.13-auth-nossl + tasks: + - name: .latest .replica_set + display_name: Encryption Win64 py3.13 Auth NoSSL + run_on: + - windows-64-vsMulti-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: nossl + test_encryption: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + tags: [encryption_tag] + - name: encryption-crypt_shared-win64-py3.9-auth-ssl + tasks: + - name: .latest .replica_set + display_name: Encryption crypt_shared Win64 py3.9 Auth SSL + run_on: + - windows-64-vsMulti-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: ssl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + tags: [encryption_tag] + - name: encryption-crypt_shared-win64-py3.13-auth-nossl + tasks: + - name: .latest .replica_set + display_name: Encryption crypt_shared Win64 py3.13 Auth NoSSL + run_on: + - windows-64-vsMulti-small + batchtime: 10080 + expansions: + AUTH: auth + SSL: nossl + test_encryption: "true" + test_crypt_shared: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + tags: [encryption_tag] + + # Enterprise auth tests + - name: enterprise-auth-macos-py3.9-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth macOS py3.9 Auth + run_on: + - macos-14 + expansions: + AUTH: auth + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: enterprise-auth-rhel8-py3.10-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth RHEL8 py3.10 Auth + run_on: + - rhel87-small + expansions: + AUTH: auth + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: enterprise-auth-rhel8-py3.11-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth RHEL8 py3.11 Auth + run_on: + - rhel87-small + expansions: + AUTH: auth + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: enterprise-auth-rhel8-py3.12-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth RHEL8 py3.12 Auth + run_on: + - rhel87-small + expansions: + AUTH: auth + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: enterprise-auth-win64-py3.13-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth Win64 py3.13 Auth + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + PYTHON_BINARY: C:/python/Python313/python.exe + - name: enterprise-auth-rhel8-pypy3.9-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth RHEL8 pypy3.9 Auth + run_on: + - rhel87-small + expansions: + AUTH: auth + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: enterprise-auth-rhel8-pypy3.10-auth + tasks: + - name: test-enterprise-auth + display_name: Enterprise Auth RHEL8 pypy3.10 Auth + run_on: + - rhel87-small + expansions: + AUTH: auth + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + + # Green framework tests + - name: eventlet-rhel8-py3.9 + tasks: + - name: .standalone + display_name: Eventlet RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + GREEN_FRAMEWORK: eventlet + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: gevent-rhel8-py3.9 + tasks: + - name: .standalone + display_name: Gevent RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + GREEN_FRAMEWORK: gevent + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: eventlet-rhel8-py3.12 + tasks: + - name: .standalone + display_name: Eventlet RHEL8 py3.12 + run_on: + - rhel87-small + expansions: + GREEN_FRAMEWORK: eventlet + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: gevent-rhel8-py3.12 + tasks: + - name: .standalone + display_name: Gevent RHEL8 py3.12 + run_on: + - rhel87-small + expansions: + GREEN_FRAMEWORK: gevent + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.12/bin/python3 + + # Load balancer tests + - name: load-balancer-rhel8-v6.0-py3.9-auth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v6.0 py3.9 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "6.0" + AUTH: auth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: load-balancer-rhel8-v6.0-py3.10-noauth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v6.0 py3.10 NoAuth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "6.0" + AUTH: noauth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: load-balancer-rhel8-v6.0-py3.11-noauth-nossl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v6.0 py3.11 NoAuth NoSSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "6.0" + AUTH: noauth + SSL: nossl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: load-balancer-rhel8-v7.0-py3.12-auth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v7.0 py3.12 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "7.0" + AUTH: auth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: load-balancer-rhel8-v7.0-py3.13-noauth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v7.0 py3.13 NoAuth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "7.0" + AUTH: noauth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + - name: load-balancer-rhel8-v7.0-pypy3.9-noauth-nossl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v7.0 pypy3.9 NoAuth NoSSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "7.0" + AUTH: noauth + SSL: nossl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: load-balancer-rhel8-v8.0-pypy3.10-auth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v8.0 pypy3.10 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "8.0" + AUTH: auth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + - name: load-balancer-rhel8-v8.0-py3.9-noauth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v8.0 py3.9 NoAuth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "8.0" + AUTH: noauth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: load-balancer-rhel8-v8.0-py3.10-noauth-nossl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 v8.0 py3.10 NoAuth NoSSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: "8.0" + AUTH: noauth + SSL: nossl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: load-balancer-rhel8-rapid-py3.11-auth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 rapid py3.11 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: rapid + AUTH: auth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: load-balancer-rhel8-rapid-py3.12-noauth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 rapid py3.12 NoAuth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: rapid + AUTH: noauth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: load-balancer-rhel8-rapid-py3.13-noauth-nossl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 rapid py3.13 NoAuth NoSSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: rapid + AUTH: noauth + SSL: nossl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + - name: load-balancer-rhel8-latest-pypy3.9-auth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 latest pypy3.9 Auth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: latest + AUTH: auth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: load-balancer-rhel8-latest-pypy3.10-noauth-ssl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 latest pypy3.10 NoAuth SSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: latest + AUTH: noauth + SSL: ssl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + - name: load-balancer-rhel8-latest-py3.9-noauth-nossl + tasks: + - name: load-balancer-test + display_name: Load Balancer RHEL8 latest py3.9 NoAuth NoSSL + run_on: + - rhel87-small + batchtime: 10080 + expansions: + VERSION: latest + AUTH: noauth + SSL: nossl + test_loadbalancer: "true" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + + # Mockupdb tests + - name: mockupdb-tests-rhel8-py3.9 + tasks: + - name: mockupdb + display_name: MockupDB Tests RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.9/bin/python3 + + # Mod wsgi tests + - name: mod_wsgi-ubuntu-22-py3.9 + tasks: + - name: mod-wsgi-standalone + - name: mod-wsgi-replica-set + - name: mod-wsgi-embedded-mode-standalone + - name: mod-wsgi-embedded-mode-replica-set + display_name: mod_wsgi Ubuntu-22 py3.9 + run_on: + - ubuntu2204-small + expansions: + MOD_WSGI_VERSION: "4" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: mod_wsgi-ubuntu-22-py3.13 + tasks: + - name: mod-wsgi-standalone + - name: mod-wsgi-replica-set + - name: mod-wsgi-embedded-mode-standalone + - name: mod-wsgi-embedded-mode-replica-set + display_name: mod_wsgi Ubuntu-22 py3.13 + run_on: + - ubuntu2204-small + expansions: + MOD_WSGI_VERSION: "4" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + + # No c ext tests + - name: no-c-ext-rhel8-py3.9 + tasks: + - name: .standalone + display_name: No C Ext RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: no-c-ext-rhel8-py3.10 + tasks: + - name: .replica_set + display_name: No C Ext RHEL8 py3.10 + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: no-c-ext-rhel8-py3.11 + tasks: + - name: .sharded_cluster + display_name: No C Ext RHEL8 py3.11 + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: no-c-ext-rhel8-py3.12 + tasks: + - name: .standalone + display_name: No C Ext RHEL8 py3.12 + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: no-c-ext-rhel8-py3.13 + tasks: + - name: .replica_set + display_name: No C Ext RHEL8 py3.13 + run_on: + - rhel87-small + expansions: + NO_EXT: "1" + PYTHON_BINARY: /opt/python/3.13/bin/python3 + + # Ocsp tests + - name: ocsp-test-rhel8-py3.9 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 py3.9 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/3.9/bin/python3 + VERSION: "4.4" + - name: ocsp-test-rhel8-py3.10 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 py3.10 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/3.10/bin/python3 + VERSION: "5.0" + - name: ocsp-test-rhel8-py3.11 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 py3.11 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/3.11/bin/python3 + VERSION: "6.0" + - name: ocsp-test-rhel8-py3.12 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 py3.12 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/3.12/bin/python3 + VERSION: "7.0" + - name: ocsp-test-rhel8-py3.13 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 py3.13 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/3.13/bin/python3 + VERSION: "8.0" + - name: ocsp-test-rhel8-pypy3.9 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 pypy3.9 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + VERSION: rapid + - name: ocsp-test-rhel8-pypy3.10 + tasks: + - name: .ocsp + display_name: OCSP test RHEL8 pypy3.10 + run_on: + - rhel87-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + VERSION: latest + - name: ocsp-test-win64-py3.9 + tasks: + - name: .ocsp-rsa !.ocsp-staple + display_name: OCSP test Win64 py3.9 + run_on: + - windows-64-vsMulti-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: C:/python/Python39/python.exe + VERSION: "4.4" + - name: ocsp-test-win64-py3.13 + tasks: + - name: .ocsp-rsa !.ocsp-staple + display_name: OCSP test Win64 py3.13 + run_on: + - windows-64-vsMulti-small + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: C:/python/Python313/python.exe + VERSION: "8.0" + - name: ocsp-test-macos-py3.9 + tasks: + - name: .ocsp-rsa !.ocsp-staple + display_name: OCSP test macOS py3.9 + run_on: + - macos-14 + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + VERSION: "4.4" + - name: ocsp-test-macos-py3.13 + tasks: + - name: .ocsp-rsa !.ocsp-staple + display_name: OCSP test macOS py3.13 + run_on: + - macos-14 + batchtime: 20160 + expansions: + AUTH: noauth + SSL: ssl + TOPOLOGY: server + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + VERSION: "8.0" + + # Oidc auth tests + - name: oidc-auth-rhel8 + tasks: + - name: testoidc_task_group + display_name: OIDC Auth RHEL8 + run_on: + - rhel87-small + batchtime: 20160 + - name: oidc-auth-macos + tasks: + - name: testoidc_task_group + display_name: OIDC Auth macOS + run_on: + - macos-14 + batchtime: 20160 + - name: oidc-auth-win64 + tasks: + - name: testoidc_task_group + display_name: OIDC Auth Win64 + run_on: + - windows-64-vsMulti-small + batchtime: 20160 + + # Pyopenssl tests + - name: pyopenssl-macos-py3.9 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL macOS py3.9 + run_on: + - macos-14 + batchtime: 10080 + expansions: + AUTH: noauth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: pyopenssl-rhel8-py3.10 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL RHEL8 py3.10 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: pyopenssl-rhel8-py3.11 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL RHEL8 py3.11 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: pyopenssl-rhel8-py3.12 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL RHEL8 py3.12 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: pyopenssl-win64-py3.13 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL Win64 py3.13 + run_on: + - windows-64-vsMulti-small + batchtime: 10080 + expansions: + AUTH: auth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: C:/python/Python313/python.exe + - name: pyopenssl-rhel8-pypy3.9 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL RHEL8 pypy3.9 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: pyopenssl-rhel8-pypy3.10 + tasks: + - name: .replica_set + - name: .7.0 + display_name: PyOpenSSL RHEL8 pypy3.10 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + AUTH: auth + test_pyopenssl: "true" + SSL: ssl + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + + # Search index tests + - name: search-index-helpers-rhel8-py3.9 + tasks: + - name: test_atlas_task_group_search_indexes + display_name: Search Index Helpers RHEL8 py3.9 + run_on: + - rhel87-small + expansions: + PYTHON_BINARY: /opt/python/3.9/bin/python3 + + # Server tests + - name: test-rhel8-py3.9-auth-ssl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 py3.9 Auth SSL cov + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/3.9/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-py3.9-noauth-ssl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 py3.9 NoAuth SSL cov + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: ssl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/3.9/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-py3.9-noauth-nossl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 py3.9 NoAuth NoSSL cov + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: nossl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/3.9/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-py3.13-auth-ssl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 py3.13 Auth SSL cov + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/3.13/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-py3.13-noauth-ssl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 py3.13 NoAuth SSL cov + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: ssl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/3.13/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-py3.13-noauth-nossl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 py3.13 NoAuth NoSSL cov + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: nossl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/3.13/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-pypy3.10-auth-ssl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 pypy3.10 Auth SSL cov + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-pypy3.10-noauth-ssl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 pypy3.10 NoAuth SSL cov + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: ssl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-pypy3.10-noauth-nossl-cov + tasks: + - name: .standalone + - name: .replica_set + - name: .sharded_cluster + display_name: Test RHEL8 pypy3.10 NoAuth NoSSL cov + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: nossl + COVERAGE: coverage + PYTHON_BINARY: /opt/python/pypy3.10/bin/python3 + tags: [coverage_tag] + - name: test-rhel8-py3.10-auth-ssl + tasks: + - name: .standalone + display_name: Test RHEL8 py3.10 Auth SSL + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.10/bin/python3 + - name: test-rhel8-py3.11-noauth-ssl + tasks: + - name: .replica_set + display_name: Test RHEL8 py3.11 NoAuth SSL + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: ssl + PYTHON_BINARY: /opt/python/3.11/bin/python3 + - name: test-rhel8-py3.12-noauth-nossl + tasks: + - name: .sharded_cluster + display_name: Test RHEL8 py3.12 NoAuth NoSSL + run_on: + - rhel87-small + expansions: + AUTH: noauth + SSL: nossl + PYTHON_BINARY: /opt/python/3.12/bin/python3 + - name: test-rhel8-pypy3.9-auth-ssl + tasks: + - name: .standalone + display_name: Test RHEL8 pypy3.9 Auth SSL + run_on: + - rhel87-small + expansions: + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/pypy3.9/bin/python3 + - name: test-macos-py3.9-auth-ssl-sync + tasks: + - name: .standalone + display_name: Test macOS py3.9 Auth SSL Sync + run_on: + - macos-14 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-py3.9-noauth-ssl-sync + tasks: + - name: .standalone + display_name: Test macOS py3.9 NoAuth SSL Sync + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-py3.9-noauth-nossl-sync + tasks: + - name: .standalone + display_name: Test macOS py3.9 NoAuth NoSSL Sync + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-py3.9-auth-ssl-async + tasks: + - name: .standalone + display_name: Test macOS py3.9 Auth SSL Async + run_on: + - macos-14 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-py3.9-noauth-ssl-async + tasks: + - name: .standalone + display_name: Test macOS py3.9 NoAuth SSL Async + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-py3.9-noauth-nossl-async + tasks: + - name: .standalone + display_name: Test macOS py3.9 NoAuth NoSSL Async + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-py3.13-auth-ssl-sync + tasks: + - name: .sharded_cluster + display_name: Test macOS py3.13 Auth SSL Sync + run_on: + - macos-14 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-py3.13-noauth-ssl-sync + tasks: + - name: .sharded_cluster + display_name: Test macOS py3.13 NoAuth SSL Sync + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-py3.13-noauth-nossl-sync + tasks: + - name: .sharded_cluster + display_name: Test macOS py3.13 NoAuth NoSSL Sync + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-py3.13-auth-ssl-async + tasks: + - name: .sharded_cluster + display_name: Test macOS py3.13 Auth SSL Async + run_on: + - macos-14 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-py3.13-noauth-ssl-async + tasks: + - name: .sharded_cluster + display_name: Test macOS py3.13 NoAuth SSL Async + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-py3.13-noauth-nossl-async + tasks: + - name: .sharded_cluster + display_name: Test macOS py3.13 NoAuth NoSSL Async + run_on: + - macos-14 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-arm64-py3.9-auth-ssl-sync + tasks: + - name: .standalone .6.0 + - name: .standalone .7.0 + - name: .standalone .8.0 + - name: .standalone .rapid + - name: .standalone .latest + display_name: Test macOS Arm64 py3.9 Auth SSL Sync + run_on: + - macos-14-arm64 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-arm64-py3.9-noauth-ssl-sync + tasks: + - name: .standalone .6.0 + - name: .standalone .7.0 + - name: .standalone .8.0 + - name: .standalone .rapid + - name: .standalone .latest + display_name: Test macOS Arm64 py3.9 NoAuth SSL Sync + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-arm64-py3.9-noauth-nossl-sync + tasks: + - name: .standalone .6.0 + - name: .standalone .7.0 + - name: .standalone .8.0 + - name: .standalone .rapid + - name: .standalone .latest + display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Sync + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-arm64-py3.9-auth-ssl-async + tasks: + - name: .standalone .6.0 + - name: .standalone .7.0 + - name: .standalone .8.0 + - name: .standalone .rapid + - name: .standalone .latest + display_name: Test macOS Arm64 py3.9 Auth SSL Async + run_on: + - macos-14-arm64 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-arm64-py3.9-noauth-ssl-async + tasks: + - name: .standalone .6.0 + - name: .standalone .7.0 + - name: .standalone .8.0 + - name: .standalone .rapid + - name: .standalone .latest + display_name: Test macOS Arm64 py3.9 NoAuth SSL Async + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-arm64-py3.9-noauth-nossl-async + tasks: + - name: .standalone .6.0 + - name: .standalone .7.0 + - name: .standalone .8.0 + - name: .standalone .rapid + - name: .standalone .latest + display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Async + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3 + - name: test-macos-arm64-py3.13-auth-ssl-sync + tasks: + - name: .sharded_cluster .6.0 + - name: .sharded_cluster .7.0 + - name: .sharded_cluster .8.0 + - name: .sharded_cluster .rapid + - name: .sharded_cluster .latest + display_name: Test macOS Arm64 py3.13 Auth SSL Sync + run_on: + - macos-14-arm64 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-arm64-py3.13-noauth-ssl-sync + tasks: + - name: .sharded_cluster .6.0 + - name: .sharded_cluster .7.0 + - name: .sharded_cluster .8.0 + - name: .sharded_cluster .rapid + - name: .sharded_cluster .latest + display_name: Test macOS Arm64 py3.13 NoAuth SSL Sync + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-arm64-py3.13-noauth-nossl-sync + tasks: + - name: .sharded_cluster .6.0 + - name: .sharded_cluster .7.0 + - name: .sharded_cluster .8.0 + - name: .sharded_cluster .rapid + - name: .sharded_cluster .latest + display_name: Test macOS Arm64 py3.13 NoAuth NoSSL Sync + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-arm64-py3.13-auth-ssl-async + tasks: + - name: .sharded_cluster .6.0 + - name: .sharded_cluster .7.0 + - name: .sharded_cluster .8.0 + - name: .sharded_cluster .rapid + - name: .sharded_cluster .latest + display_name: Test macOS Arm64 py3.13 Auth SSL Async + run_on: + - macos-14-arm64 + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-arm64-py3.13-noauth-ssl-async + tasks: + - name: .sharded_cluster .6.0 + - name: .sharded_cluster .7.0 + - name: .sharded_cluster .8.0 + - name: .sharded_cluster .rapid + - name: .sharded_cluster .latest + display_name: Test macOS Arm64 py3.13 NoAuth SSL Async + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-macos-arm64-py3.13-noauth-nossl-async + tasks: + - name: .sharded_cluster .6.0 + - name: .sharded_cluster .7.0 + - name: .sharded_cluster .8.0 + - name: .sharded_cluster .rapid + - name: .sharded_cluster .latest + display_name: Test macOS Arm64 py3.13 NoAuth NoSSL Async + run_on: + - macos-14-arm64 + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3 + - name: test-win64-py3.9-auth-ssl-sync + tasks: + - name: .standalone + display_name: Test Win64 py3.9 Auth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: test-win64-py3.9-noauth-ssl-sync + tasks: + - name: .standalone + display_name: Test Win64 py3.9 NoAuth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: test-win64-py3.9-noauth-nossl-sync + tasks: + - name: .standalone + display_name: Test Win64 py3.9 NoAuth NoSSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: test-win64-py3.9-auth-ssl-async + tasks: + - name: .standalone + display_name: Test Win64 py3.9 Auth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: test-win64-py3.9-noauth-ssl-async + tasks: + - name: .standalone + display_name: Test Win64 py3.9 NoAuth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: test-win64-py3.9-noauth-nossl-async + tasks: + - name: .standalone + display_name: Test Win64 py3.9 NoAuth NoSSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python39/python.exe + - name: test-win64-py3.13-auth-ssl-sync + tasks: + - name: .sharded_cluster + display_name: Test Win64 py3.13 Auth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: test-win64-py3.13-noauth-ssl-sync + tasks: + - name: .sharded_cluster + display_name: Test Win64 py3.13 NoAuth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: test-win64-py3.13-noauth-nossl-sync + tasks: + - name: .sharded_cluster + display_name: Test Win64 py3.13 NoAuth NoSSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: test-win64-py3.13-auth-ssl-async + tasks: + - name: .sharded_cluster + display_name: Test Win64 py3.13 Auth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: test-win64-py3.13-noauth-ssl-async + tasks: + - name: .sharded_cluster + display_name: Test Win64 py3.13 NoAuth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: test-win64-py3.13-noauth-nossl-async + tasks: + - name: .sharded_cluster + display_name: Test Win64 py3.13 NoAuth NoSSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/Python313/python.exe + - name: test-win32-py3.9-auth-ssl-sync + tasks: + - name: .standalone + display_name: Test Win32 py3.9 Auth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python39/python.exe + - name: test-win32-py3.9-noauth-ssl-sync + tasks: + - name: .standalone + display_name: Test Win32 py3.9 NoAuth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python39/python.exe + - name: test-win32-py3.9-noauth-nossl-sync + tasks: + - name: .standalone + display_name: Test Win32 py3.9 NoAuth NoSSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python39/python.exe + - name: test-win32-py3.9-auth-ssl-async + tasks: + - name: .standalone + display_name: Test Win32 py3.9 Auth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python39/python.exe + - name: test-win32-py3.9-noauth-ssl-async + tasks: + - name: .standalone + display_name: Test Win32 py3.9 NoAuth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python39/python.exe + - name: test-win32-py3.9-noauth-nossl-async + tasks: + - name: .standalone + display_name: Test Win32 py3.9 NoAuth NoSSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python39/python.exe + - name: test-win32-py3.13-auth-ssl-sync + tasks: + - name: .sharded_cluster + display_name: Test Win32 py3.13 Auth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python313/python.exe + - name: test-win32-py3.13-noauth-ssl-sync + tasks: + - name: .sharded_cluster + display_name: Test Win32 py3.13 NoAuth SSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python313/python.exe + - name: test-win32-py3.13-noauth-nossl-sync + tasks: + - name: .sharded_cluster + display_name: Test Win32 py3.13 NoAuth NoSSL Sync + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python313/python.exe + - name: test-win32-py3.13-auth-ssl-async + tasks: + - name: .sharded_cluster + display_name: Test Win32 py3.13 Auth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: auth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python313/python.exe + - name: test-win32-py3.13-noauth-ssl-async + tasks: + - name: .sharded_cluster + display_name: Test Win32 py3.13 NoAuth SSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: ssl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python313/python.exe + - name: test-win32-py3.13-noauth-nossl-async + tasks: + - name: .sharded_cluster + display_name: Test Win32 py3.13 NoAuth NoSSL Async + run_on: + - windows-64-vsMulti-small + expansions: + AUTH: noauth + SSL: nossl + TEST_SUITES: default_async + SKIP_CSOT_TESTS: "true" + PYTHON_BINARY: C:/python/32/Python313/python.exe + + # Serverless tests + - name: serverless-rhel8-py3.9 + tasks: + - name: serverless_task_group + display_name: Serverless RHEL8 py3.9 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + test_serverless: "true" + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.9/bin/python3 + - name: serverless-rhel8-py3.13 + tasks: + - name: serverless_task_group + display_name: Serverless RHEL8 py3.13 + run_on: + - rhel87-small + batchtime: 10080 + expansions: + test_serverless: "true" + AUTH: auth + SSL: ssl + PYTHON_BINARY: /opt/python/3.13/bin/python3 diff --git a/.evergreen/scripts/generate_config.py b/.evergreen/scripts/generate_config.py index 7adeac82e0..b65d9b62da 100644 --- a/.evergreen/scripts/generate_config.py +++ b/.evergreen/scripts/generate_config.py @@ -9,8 +9,11 @@ # Note: Run this file with `hatch run`, `pipx run`, or `uv run`. from __future__ import annotations +import sys from dataclasses import dataclass +from inspect import getmembers, isfunction from itertools import cycle, product, zip_longest +from pathlib import Path from typing import Any from shrub.v3.evg_build_variant import BuildVariant @@ -172,10 +175,10 @@ def handle_c_ext(c_ext, expansions): expansions["NO_EXT"] = "1" -def generate_yaml(tasks=None, variants=None): +def create_yaml(tasks=None, variants=None): """Generate the yaml for a given set of tasks and variants.""" project = EvgProject(tasks=tasks, buildvariants=variants) - out = ShrubService.generate_yaml(project) + out = ShrubService.create_yaml(project) # Dedent by two spaces to match what we use in config.yml lines = [line[2:] for line in out.splitlines()] print("\n".join(lines)) # noqa: T201 @@ -198,7 +201,7 @@ def create_ocsp_variants() -> list[BuildVariant]: host = "rhel8" variant = create_variant( [".ocsp"], - get_display_name(base_display, host, version, python), + get_display_name(base_display, host, version=version, python=python), python=python, version=version, host=host, @@ -213,7 +216,7 @@ def create_ocsp_variants() -> list[BuildVariant]: python = CPYTHONS[0] if version == "4.4" else CPYTHONS[-1] variant = create_variant( [".ocsp-rsa !.ocsp-staple"], - get_display_name(base_display, host, version, python), + get_display_name(base_display, host, version=version, python=python), python=python, version=version, host=host, @@ -540,7 +543,7 @@ def create_green_framework_variants(): return variants -def generate_no_c_ext_variants(): +def create_no_c_ext_variants(): variants = [] host = "rhel8" for python, topology in zip_cycle(CPYTHONS, TOPOLOGIES): @@ -555,7 +558,7 @@ def generate_no_c_ext_variants(): return variants -def generate_atlas_data_lake_variants(): +def create_atlas_data_lake_variants(): variants = [] host = "rhel8" for python, c_ext in product(MIN_MAX_PYTHON, C_EXTS): @@ -570,7 +573,7 @@ def generate_atlas_data_lake_variants(): return variants -def generate_mod_wsgi_variants(): +def create_mod_wsgi_variants(): variants = [] host = "ubuntu22" tasks = [ @@ -589,7 +592,7 @@ def generate_mod_wsgi_variants(): return variants -def generate_disable_test_commands_variants(): +def create_disable_test_commands_variants(): host = "rhel8" expansions = dict(AUTH="auth", SSL="ssl", DISABLE_TEST_COMMANDS="1") python = CPYTHONS[0] @@ -598,7 +601,7 @@ def generate_disable_test_commands_variants(): return [create_variant(tasks, display_name, host=host, python=python, expansions=expansions)] -def generate_serverless_variants(): +def create_serverless_variants(): host = "rhel8" batchtime = BATCHTIME_WEEK expansions = dict(test_serverless="true", AUTH="auth", SSL="ssl") @@ -617,7 +620,7 @@ def generate_serverless_variants(): ] -def generate_oidc_auth_variants(): +def create_oidc_auth_variants(): variants = [] for host in ["rhel8", "macos", "win64"]: variants.append( @@ -631,7 +634,7 @@ def generate_oidc_auth_variants(): return variants -def generate_search_index_variants(): +def create_search_index_variants(): host = "rhel8" python = CPYTHONS[0] return [ @@ -644,7 +647,7 @@ def generate_search_index_variants(): ] -def generate_mockupdb_variants(): +def create_mockupdb_variants(): host = "rhel8" python = CPYTHONS[0] return [ @@ -657,7 +660,7 @@ def generate_mockupdb_variants(): ] -def generate_doctests_variants(): +def create_doctests_variants(): host = "rhel8" python = CPYTHONS[0] return [ @@ -670,7 +673,7 @@ def generate_doctests_variants(): ] -def generate_atlas_connect_variants(): +def create_atlas_connect_variants(): host = "rhel8" return [ create_variant( @@ -683,7 +686,7 @@ def generate_atlas_connect_variants(): ] -def generate_aws_auth_variants(): +def create_aws_auth_variants(): variants = [] tasks = [ "aws-auth-test-4.4", @@ -713,7 +716,7 @@ def generate_aws_auth_variants(): return variants -def generate_alternative_hosts_variants(): +def create_alternative_hosts_variants(): base_expansions = dict(SKIP_HATCH="true") batchtime = BATCHTIME_WEEK variants = [] @@ -756,5 +759,35 @@ def generate_alternative_hosts_variants(): # Generate Config ################## -variants = generate_search_index_variants() -generate_yaml(variants=variants) + +def write_variants_to_file(): + mod = sys.modules[__name__] + here = Path(__file__).absolute().parent + target = here.parent / "generated_configs" / "variants.yml" + if target.exists(): + target.unlink() + with target.open("w") as fid: + fid.write("buildvariants:\n") + + for name, func in getmembers(mod, isfunction): + if not name.endswith("_variants"): + continue + if not name.startswith("create_"): + raise ValueError("Variant creators must start with create_") + title = name.replace("create_", "").replace("_variants", "").replace("_", " ").capitalize() + project = EvgProject(tasks=None, buildvariants=func()) + out = ShrubService.generate_yaml(project).splitlines() + with target.open("a") as fid: + fid.write(f" # {title} tests\n") + for line in out[1:]: + fid.write(f"{line}\n") + fid.write("\n") + + # Remove extra trailing newline: + data = target.read_text().splitlines() + with target.open("w") as fid: + for line in data[:-1]: + fid.write(f"{line}\n") + + +write_variants_to_file()