Skip to content

Commit cb39c06

Browse files
committed
use ubuntu 20
1 parent 892212c commit cb39c06

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.evergreen/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3492,7 +3492,7 @@ buildvariants:
34923492
PYTHON_BINARY: /opt/python/3.13/bin/python3
34933493

34943494
# AWS Auth tests.
3495-
- name: aws-auth-rhel8-py3.9
3495+
- name: aws-auth-ubuntu-20-py3.9
34963496
tasks:
34973497
- name: aws-auth-test-4.4
34983498
- name: aws-auth-test-5.0
@@ -3501,12 +3501,12 @@ buildvariants:
35013501
- name: aws-auth-test-8.0
35023502
- name: aws-auth-test-rapid
35033503
- name: aws-auth-test-latest
3504-
display_name: AWS Auth RHEL8 py3.9
3504+
display_name: AWS Auth Ubuntu-20 py3.9
35053505
run_on:
3506-
- rhel87-small
3506+
- ubuntu2004-small
35073507
expansions:
35083508
PYTHON_BINARY: /opt/python/3.9/bin/python3
3509-
- name: aws-auth-rhel8-py3.13
3509+
- name: aws-auth-ubuntu-20-py3.13
35103510
tasks:
35113511
- name: aws-auth-test-4.4
35123512
- name: aws-auth-test-5.0
@@ -3515,9 +3515,9 @@ buildvariants:
35153515
- name: aws-auth-test-8.0
35163516
- name: aws-auth-test-rapid
35173517
- name: aws-auth-test-latest
3518-
display_name: AWS Auth RHEL8 py3.13
3518+
display_name: AWS Auth Ubuntu-20 py3.13
35193519
run_on:
3520-
- rhel87-small
3520+
- ubuntu2004-small
35213521
expansions:
35223522
PYTHON_BINARY: /opt/python/3.13/bin/python3
35233523
- name: aws-auth-win64-py3.9

.evergreen/scripts/generate_config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class Host:
5454
HOSTS["win32"] = Host("win32", "windows-64-vsMulti-small", "Win32")
5555
HOSTS["macos"] = Host("macos", "macos-14", "macOS")
5656
HOSTS["macos-arm64"] = Host("macos-arm64", "macos-14-arm64", "macOS Arm64")
57+
HOSTS["ubuntu20"] = Host("ubuntu20", "ubuntu2004-small", "Ubuntu-20")
5758
HOSTS["ubuntu22"] = Host("ubuntu22", "ubuntu2204-small", "Ubuntu-22")
5859

5960

@@ -103,7 +104,7 @@ def get_python_binary(python: str, host: str) -> str:
103104
python = python.replace(".", "")
104105
return f"{base}/Python{python}/python.exe"
105106

106-
if host in ["rhel8", "ubuntu22"]:
107+
if host in ["rhel8", "ubuntu22", "ubuntu20"]:
107108
return f"/opt/python/{python}/bin/python3"
108109

109110
if host in ["macos", "macos-arm64"]:
@@ -618,7 +619,7 @@ def generate_aws_auth_variants():
618619
"aws-auth-test-latest",
619620
]
620621

621-
for host, python in product(["rhel8", "win64", "macos"], MIN_MAX_PYTHON):
622+
for host, python in product(["ubuntu20", "win64", "macos"], MIN_MAX_PYTHON):
622623
variant = create_variant(
623624
tasks, get_display_name("AWS Auth", host, python=python), host=host, python=python
624625
)

0 commit comments

Comments
 (0)