Skip to content

Commit 454a480

Browse files
committed
cleanup
1 parent 2b57f8a commit 454a480

File tree

4 files changed

+13
-68
lines changed

4 files changed

+13
-68
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,70 +1158,27 @@ tasks:
11581158
tags: [load-balancer, noauth, nossl]
11591159

11601160
# Min max tests
1161-
- name: test-v4.0-python3.9-noauth-nossl-standalone
1161+
- name: test-python3.9
11621162
commands:
11631163
- func: assume ec2 role
1164-
- func: run server
1165-
vars:
1166-
AUTH: noauth
1167-
SSL: nossl
1168-
TOPOLOGY: standalone
1169-
VERSION: "4.0"
11701164
- func: run tests
11711165
vars:
1172-
AUTH: noauth
1173-
SSL: nossl
1174-
TOPOLOGY: standalone
1175-
VERSION: "4.0"
11761166
PYTHON_VERSION: "3.9"
1177-
tags:
1178-
- min-max-tests
1179-
- server-4.0
1180-
- python-3.9
1181-
- standalone-noauth-nossl
1182-
- name: test-latest-python3.13-auth-ssl-sharded-cluster
1167+
tags: [min-max-python, python-3.9]
1168+
- name: test-python3.13
11831169
commands:
11841170
- func: assume ec2 role
1185-
- func: run server
1186-
vars:
1187-
AUTH: auth
1188-
SSL: ssl
1189-
TOPOLOGY: sharded_cluster
1190-
VERSION: latest
11911171
- func: run tests
11921172
vars:
1193-
AUTH: auth
1194-
SSL: ssl
1195-
TOPOLOGY: sharded_cluster
1196-
VERSION: latest
11971173
PYTHON_VERSION: "3.13"
1198-
tags:
1199-
- min-max-tests
1200-
- server-latest
1201-
- python-3.13
1202-
- sharded_cluster-auth-ssl
1203-
- name: test-v8.0-pypy3.10-noauth-ssl-replica-set
1174+
tags: [min-max-python, python-3.13]
1175+
- name: test-pypy3.10
12041176
commands:
12051177
- func: assume ec2 role
1206-
- func: run server
1207-
vars:
1208-
AUTH: noauth
1209-
SSL: ssl
1210-
TOPOLOGY: replica_set
1211-
VERSION: "8.0"
12121178
- func: run tests
12131179
vars:
1214-
AUTH: noauth
1215-
SSL: ssl
1216-
TOPOLOGY: replica_set
1217-
VERSION: "8.0"
12181180
PYTHON_VERSION: pypy3.10
1219-
tags:
1220-
- min-max-tests
1221-
- server-8.0
1222-
- python-pypy3.10
1223-
- replica_set-noauth-ssl
1224-
- pypy
1181+
tags: [min-max-python, python-pypy3.10, pypy]
12251182

12261183
# Mockupdb tests
12271184
- name: test-mockupdb

.evergreen/generated_configs/variants.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ buildvariants:
6161
# Atlas connect tests
6262
- name: atlas-connect-rhel8
6363
tasks:
64-
- name: .min-max-tests
64+
- name: .min-max-python
6565
display_name: Atlas connect RHEL8
6666
run_on:
6767
- rhel87-small

.evergreen/scripts/generate_config.py

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
MIN_MAX_PYTHON,
1717
OTHER_HOSTS,
1818
PYPYS,
19-
STABLE_VERSION,
2019
SUB_TASKS,
2120
SYNCS,
2221
TOPOLOGIES,
@@ -478,7 +477,7 @@ def create_atlas_connect_variants():
478477
host = DEFAULT_HOST
479478
return [
480479
create_variant(
481-
[".min-max-tests"],
480+
[".min-max-python"],
482481
get_variant_name("Atlas connect", host),
483482
host=DEFAULT_HOST,
484483
)
@@ -664,28 +663,18 @@ def create_server_tasks():
664663

665664
def create_min_max_tasks():
666665
tasks = []
667-
versions = [ALL_VERSIONS[0], ALL_VERSIONS[-1], STABLE_VERSION]
668-
pythons = [*MIN_MAX_PYTHON, PYPYS[-1]]
669-
topologies = ["standalone", "sharded_cluster", "replica_set"]
670-
for version, python, topology in zip_cycle(versions, pythons, topologies):
671-
auth = "auth" if topology == "sharded_cluster" else "noauth"
672-
ssl = "nossl" if topology == "standalone" else "ssl"
666+
for python in [*MIN_MAX_PYTHON, PYPYS[-1]]:
673667
tags = [
674-
"min-max-tests",
675-
f"server-{version}",
668+
"min-max-python",
676669
f"python-{python}",
677-
f"{topology}-{auth}-{ssl}",
678670
]
679671
if "pypy" in python:
680672
tags.append("pypy")
681-
expansions = dict(AUTH=auth, SSL=ssl, TOPOLOGY=topology, VERSION=version)
682-
name = get_task_name("test", python=python, **expansions)
673+
name = get_task_name("test", python=python)
683674
assume_func = FunctionCall(func="assume ec2 role")
684-
server_func = FunctionCall(func="run server", vars=expansions)
685-
test_vars = expansions.copy()
686-
test_vars["PYTHON_VERSION"] = python
675+
test_vars = dict(PYTHON_VERSION=python)
687676
test_func = FunctionCall(func="run tests", vars=test_vars)
688-
commands = [assume_func, server_func, test_func]
677+
commands = [assume_func, test_func]
689678
tasks.append(EvgTask(name=name, tags=tags, commands=commands))
690679
return tasks
691680

.evergreen/scripts/generate_config_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
##############
2323

2424
ALL_VERSIONS = ["4.0", "4.2", "4.4", "5.0", "6.0", "7.0", "8.0", "rapid", "latest"]
25-
STABLE_VERSION = "8.0"
2625
CPYTHONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
2726
PYPYS = ["pypy3.10"]
2827
ALL_PYTHONS = CPYTHONS + PYPYS

0 commit comments

Comments
 (0)