Skip to content

Commit f68b594

Browse files
committed
clean up tags
1 parent 2df5df4 commit f68b594

File tree

2 files changed

+43
-28
lines changed

2 files changed

+43
-28
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 35 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8035,7 +8035,7 @@ tasks:
80358035
TOPOLOGY: sharded_cluster
80368036
COVERAGE: "1"
80378037
PYTHON_VERSION: "3.9"
8038-
tags: [server-version, "3.9", sharded_cluster-auth-ssl]
8038+
tags: [server-version, python-3.9, sharded_cluster-auth-ssl]
80398039
- name: test-python3.10-auth-ssl-sharded-cluster-cov
80408040
commands:
80418041
- func: run server
@@ -8051,7 +8051,7 @@ tasks:
80518051
TOPOLOGY: sharded_cluster
80528052
COVERAGE: "1"
80538053
PYTHON_VERSION: "3.10"
8054-
tags: [server-version, "3.10", sharded_cluster-auth-ssl]
8054+
tags: [server-version, python-3.10, sharded_cluster-auth-ssl]
80558055
- name: test-python3.11-auth-ssl-sharded-cluster-cov
80568056
commands:
80578057
- func: run server
@@ -8067,7 +8067,7 @@ tasks:
80678067
TOPOLOGY: sharded_cluster
80688068
COVERAGE: "1"
80698069
PYTHON_VERSION: "3.11"
8070-
tags: [server-version, "3.11", sharded_cluster-auth-ssl]
8070+
tags: [server-version, python-3.11, sharded_cluster-auth-ssl]
80718071
- name: test-python3.12-auth-ssl-sharded-cluster-cov
80728072
commands:
80738073
- func: run server
@@ -8083,7 +8083,7 @@ tasks:
80838083
TOPOLOGY: sharded_cluster
80848084
COVERAGE: "1"
80858085
PYTHON_VERSION: "3.12"
8086-
tags: [server-version, "3.12", sharded_cluster-auth-ssl]
8086+
tags: [server-version, python-3.12, sharded_cluster-auth-ssl]
80878087
- name: test-python3.13-auth-ssl-sharded-cluster-cov
80888088
commands:
80898089
- func: run server
@@ -8099,7 +8099,7 @@ tasks:
80998099
TOPOLOGY: sharded_cluster
81008100
COVERAGE: "1"
81018101
PYTHON_VERSION: "3.13"
8102-
tags: [server-version, "3.13", sharded_cluster-auth-ssl]
8102+
tags: [server-version, python-3.13, sharded_cluster-auth-ssl]
81038103
- name: test-pypy3.10-auth-ssl-sharded-cluster
81048104
commands:
81058105
- func: run server
@@ -8113,7 +8113,7 @@ tasks:
81138113
SSL: ssl
81148114
TOPOLOGY: sharded_cluster
81158115
PYTHON_VERSION: pypy3.10
8116-
tags: [server-version, pypy3.10, sharded_cluster-auth-ssl]
8116+
tags: [server-version, python-pypy3.10, sharded_cluster-auth-ssl]
81178117
- name: test-python3.9-auth-ssl-standalone-cov
81188118
commands:
81198119
- func: run server
@@ -8129,7 +8129,7 @@ tasks:
81298129
TOPOLOGY: standalone
81308130
COVERAGE: "1"
81318131
PYTHON_VERSION: "3.9"
8132-
tags: [server-version, "3.9", standalone-auth-ssl]
8132+
tags: [server-version, python-3.9, standalone-auth-ssl]
81338133
- name: test-python3.10-auth-nossl-standalone-cov
81348134
commands:
81358135
- func: run server
@@ -8145,7 +8145,7 @@ tasks:
81458145
TOPOLOGY: standalone
81468146
COVERAGE: "1"
81478147
PYTHON_VERSION: "3.10"
8148-
tags: [server-version, "3.10", standalone-auth-nossl]
8148+
tags: [server-version, python-3.10, standalone-auth-nossl]
81498149
- name: test-python3.11-noauth-ssl-standalone-cov
81508150
commands:
81518151
- func: run server
@@ -8161,7 +8161,7 @@ tasks:
81618161
TOPOLOGY: standalone
81628162
COVERAGE: "1"
81638163
PYTHON_VERSION: "3.11"
8164-
tags: [server-version, "3.11", standalone-noauth-ssl]
8164+
tags: [server-version, python-3.11, standalone-noauth-ssl]
81658165
- name: test-python3.12-noauth-nossl-standalone-cov
81668166
commands:
81678167
- func: run server
@@ -8177,7 +8177,7 @@ tasks:
81778177
TOPOLOGY: standalone
81788178
COVERAGE: "1"
81798179
PYTHON_VERSION: "3.12"
8180-
tags: [server-version, "3.12", standalone-noauth-nossl]
8180+
tags: [server-version, python-3.12, standalone-noauth-nossl]
81818181
- name: test-python3.13-auth-ssl-replica-set-cov
81828182
commands:
81838183
- func: run server
@@ -8193,7 +8193,7 @@ tasks:
81938193
TOPOLOGY: replica_set
81948194
COVERAGE: "1"
81958195
PYTHON_VERSION: "3.13"
8196-
tags: [server-version, "3.13", replica_set-auth-ssl]
8196+
tags: [server-version, python-3.13, replica_set-auth-ssl]
81978197
- name: test-pypy3.10-auth-nossl-replica-set
81988198
commands:
81998199
- func: run server
@@ -8207,7 +8207,7 @@ tasks:
82078207
SSL: nossl
82088208
TOPOLOGY: replica_set
82098209
PYTHON_VERSION: pypy3.10
8210-
tags: [server-version, pypy3.10, replica_set-auth-nossl]
8210+
tags: [server-version, python-pypy3.10, replica_set-auth-nossl]
82118211
- name: test-python3.9-noauth-ssl-replica-set-cov
82128212
commands:
82138213
- func: run server
@@ -8223,7 +8223,7 @@ tasks:
82238223
TOPOLOGY: replica_set
82248224
COVERAGE: "1"
82258225
PYTHON_VERSION: "3.9"
8226-
tags: [server-version, "3.9", replica_set-noauth-ssl]
8226+
tags: [server-version, python-3.9, replica_set-noauth-ssl]
82278227
- name: test-python3.10-noauth-nossl-replica-set-cov
82288228
commands:
82298229
- func: run server
@@ -8239,7 +8239,7 @@ tasks:
82398239
TOPOLOGY: replica_set
82408240
COVERAGE: "1"
82418241
PYTHON_VERSION: "3.10"
8242-
tags: [server-version, "3.10", replica_set-noauth-nossl]
8242+
tags: [server-version, python-3.10, replica_set-noauth-nossl]
82438243
- name: test-python3.12-auth-nossl-sharded-cluster-cov
82448244
commands:
82458245
- func: run server
@@ -8255,7 +8255,7 @@ tasks:
82558255
TOPOLOGY: sharded_cluster
82568256
COVERAGE: "1"
82578257
PYTHON_VERSION: "3.12"
8258-
tags: [server-version, "3.12", sharded_cluster-auth-nossl]
8258+
tags: [server-version, python-3.12, sharded_cluster-auth-nossl]
82598259
- name: test-python3.13-noauth-ssl-sharded-cluster-cov
82608260
commands:
82618261
- func: run server
@@ -8271,7 +8271,7 @@ tasks:
82718271
TOPOLOGY: sharded_cluster
82728272
COVERAGE: "1"
82738273
PYTHON_VERSION: "3.13"
8274-
tags: [server-version, "3.13", sharded_cluster-noauth-ssl]
8274+
tags: [server-version, python-3.13, sharded_cluster-noauth-ssl]
82758275
- name: test-pypy3.10-noauth-nossl-sharded-cluster
82768276
commands:
82778277
- func: run server
@@ -8285,7 +8285,7 @@ tasks:
82858285
SSL: nossl
82868286
TOPOLOGY: sharded_cluster
82878287
PYTHON_VERSION: pypy3.10
8288-
tags: [server-version, pypy3.10, sharded_cluster-noauth-nossl]
8288+
tags: [server-version, python-pypy3.10, sharded_cluster-noauth-nossl]
82898289

82908290
# Serverless tests
82918291
- name: test-serverless
@@ -8317,8 +8317,9 @@ tasks:
83178317
tags:
83188318
- standard-non-linux
83198319
- server-4.0
8320-
- "3.9"
8320+
- python-3.9
83218321
- standalone-noauth-nossl
8322+
- sync
83228323
- name: test-v4.2-python3.10-async-noauth-ssl-replica-set
83238324
commands:
83248325
- func: run server
@@ -8338,8 +8339,9 @@ tasks:
83388339
tags:
83398340
- standard-non-linux
83408341
- server-4.2
8341-
- "3.10"
8342+
- python-3.10
83428343
- replica_set-noauth-ssl
8344+
- async
83438345
- name: test-v4.4-python3.11-sync-auth-ssl-sharded-cluster
83448346
commands:
83458347
- func: run server
@@ -8359,8 +8361,9 @@ tasks:
83598361
tags:
83608362
- standard-non-linux
83618363
- server-4.4
8362-
- "3.11"
8364+
- python-3.11
83638365
- sharded_cluster-auth-ssl
8366+
- sync
83648367
- name: test-v5.0-python3.12-async-noauth-nossl-standalone
83658368
commands:
83668369
- func: run server
@@ -8380,8 +8383,9 @@ tasks:
83808383
tags:
83818384
- standard-non-linux
83828385
- server-5.0
8383-
- "3.12"
8386+
- python-3.12
83848387
- standalone-noauth-nossl
8388+
- async
83858389
- name: test-v6.0-python3.13-sync-noauth-ssl-replica-set
83868390
commands:
83878391
- func: run server
@@ -8401,8 +8405,9 @@ tasks:
84018405
tags:
84028406
- standard-non-linux
84038407
- server-6.0
8404-
- "3.13"
8408+
- python-3.13
84058409
- replica_set-noauth-ssl
8410+
- sync
84068411
- name: test-v7.0-python3.9-async-auth-ssl-sharded-cluster
84078412
commands:
84088413
- func: run server
@@ -8422,8 +8427,9 @@ tasks:
84228427
tags:
84238428
- standard-non-linux
84248429
- server-7.0
8425-
- "3.9"
8430+
- python-3.9
84268431
- sharded_cluster-auth-ssl
8432+
- async
84278433
- name: test-v8.0-python3.10-sync-noauth-nossl-standalone
84288434
commands:
84298435
- func: run server
@@ -8443,8 +8449,9 @@ tasks:
84438449
tags:
84448450
- standard-non-linux
84458451
- server-8.0
8446-
- "3.10"
8452+
- python-3.10
84478453
- standalone-noauth-nossl
8454+
- sync
84488455
- name: test-rapid-python3.11-async-noauth-ssl-replica-set
84498456
commands:
84508457
- func: run server
@@ -8464,8 +8471,9 @@ tasks:
84648471
tags:
84658472
- standard-non-linux
84668473
- server-rapid
8467-
- "3.11"
8474+
- python-3.11
84688475
- replica_set-noauth-ssl
8476+
- async
84698477
- name: test-latest-python3.12-sync-auth-ssl-sharded-cluster
84708478
commands:
84718479
- func: run server
@@ -8485,5 +8493,6 @@ tasks:
84858493
tags:
84868494
- standard-non-linux
84878495
- server-latest
8488-
- "3.12"
8496+
- python-3.12
84898497
- sharded_cluster-auth-ssl
8498+
- sync

.evergreen/scripts/generate_config.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ def create_server_version_tasks():
591591
continue
592592
task_types.append((python, topology, auth, ssl))
593593
for python, topology, auth, ssl in task_types:
594-
tags = ["server-version", python, f"{topology}-{auth}-{ssl}"]
594+
tags = ["server-version", f"python-{python}", f"{topology}-{auth}-{ssl}"]
595595
expansions = dict(AUTH=auth, SSL=ssl, TOPOLOGY=topology)
596596
if python not in PYPYS:
597597
expansions["COVERAGE"] = "1"
@@ -609,7 +609,13 @@ def create_standard_non_linux_tasks():
609609
for version, python, topology, sync in zip_cycle(ALL_VERSIONS, CPYTHONS, TOPOLOGIES, SYNCS):
610610
auth = "auth" if topology == "sharded_cluster" else "noauth"
611611
ssl = "nossl" if topology == "standalone" else "ssl"
612-
tags = ["standard-non-linux", f"server-{version}", python, f"{topology}-{auth}-{ssl}"]
612+
tags = [
613+
"standard-non-linux",
614+
f"server-{version}",
615+
f"python-{python}",
616+
f"{topology}-{auth}-{ssl}",
617+
sync,
618+
]
613619
expansions = dict(AUTH=auth, SSL=ssl, TOPOLOGY=topology, VERSION=version)
614620
name = get_task_name("test", python=python, sync=sync, **expansions)
615621
server_func = FunctionCall(func="run server", vars=expansions)

0 commit comments

Comments
 (0)