Skip to content

Commit 4364b64

Browse files
committed
clean up tasks
1 parent 91b4f2f commit 4364b64

File tree

2 files changed

+18
-238
lines changed

2 files changed

+18
-238
lines changed

.evergreen/generated_configs/tasks.yml

Lines changed: 6 additions & 237 deletions
Original file line numberDiff line numberDiff line change
@@ -714,195 +714,6 @@ tasks:
714714
tags: [auth-aws, auth-aws-web-identity]
715715

716716
# Compression tests
717-
- name: test-compression-v4.0-python3.9-no-c
718-
commands:
719-
- func: run server
720-
vars:
721-
VERSION: "4.0"
722-
- func: run tests
723-
tags: [compression, "4.0"]
724-
- name: test-compression-v4.2-python3.9-no-c
725-
commands:
726-
- func: run server
727-
vars:
728-
VERSION: "4.2"
729-
- func: run tests
730-
tags: [compression, "4.2"]
731-
- name: test-compression-v4.4-python3.9-no-c
732-
commands:
733-
- func: run server
734-
vars:
735-
VERSION: "4.4"
736-
- func: run tests
737-
tags: [compression, "4.4"]
738-
- name: test-compression-v5.0-python3.9-no-c
739-
commands:
740-
- func: run server
741-
vars:
742-
VERSION: "5.0"
743-
- func: run tests
744-
tags: [compression, "5.0"]
745-
- name: test-compression-v6.0-python3.9-no-c
746-
commands:
747-
- func: run server
748-
vars:
749-
VERSION: "6.0"
750-
- func: run tests
751-
tags: [compression, "6.0"]
752-
- name: test-compression-v7.0-python3.9-no-c
753-
commands:
754-
- func: run server
755-
vars:
756-
VERSION: "7.0"
757-
- func: run tests
758-
tags: [compression, "7.0"]
759-
- name: test-compression-v8.0-python3.9-no-c
760-
commands:
761-
- func: run server
762-
vars:
763-
VERSION: "8.0"
764-
- func: run tests
765-
tags: [compression, "8.0"]
766-
- name: test-compression-rapid-python3.9-no-c
767-
commands:
768-
- func: run server
769-
vars:
770-
VERSION: rapid
771-
- func: run tests
772-
tags: [compression, rapid]
773-
- name: test-compression-latest-python3.9-no-c
774-
commands:
775-
- func: run server
776-
vars:
777-
VERSION: latest
778-
- func: run tests
779-
tags: [compression, latest]
780-
- name: test-compression-v4.0-python3.9
781-
commands:
782-
- func: run server
783-
vars:
784-
VERSION: "4.0"
785-
- func: run tests
786-
tags: [compression, "4.0"]
787-
- name: test-compression-v4.2-python3.9
788-
commands:
789-
- func: run server
790-
vars:
791-
VERSION: "4.2"
792-
- func: run tests
793-
tags: [compression, "4.2"]
794-
- name: test-compression-v4.4-python3.9
795-
commands:
796-
- func: run server
797-
vars:
798-
VERSION: "4.4"
799-
- func: run tests
800-
tags: [compression, "4.4"]
801-
- name: test-compression-v5.0-python3.9
802-
commands:
803-
- func: run server
804-
vars:
805-
VERSION: "5.0"
806-
- func: run tests
807-
tags: [compression, "5.0"]
808-
- name: test-compression-v6.0-python3.9
809-
commands:
810-
- func: run server
811-
vars:
812-
VERSION: "6.0"
813-
- func: run tests
814-
tags: [compression, "6.0"]
815-
- name: test-compression-v7.0-python3.9
816-
commands:
817-
- func: run server
818-
vars:
819-
VERSION: "7.0"
820-
- func: run tests
821-
tags: [compression, "7.0"]
822-
- name: test-compression-v8.0-python3.9
823-
commands:
824-
- func: run server
825-
vars:
826-
VERSION: "8.0"
827-
- func: run tests
828-
tags: [compression, "8.0"]
829-
- name: test-compression-rapid-python3.9
830-
commands:
831-
- func: run server
832-
vars:
833-
VERSION: rapid
834-
- func: run tests
835-
tags: [compression, rapid]
836-
- name: test-compression-latest-python3.9
837-
commands:
838-
- func: run server
839-
vars:
840-
VERSION: latest
841-
- func: run tests
842-
tags: [compression, latest]
843-
- name: test-compression-v4.0-python3.13-no-c
844-
commands:
845-
- func: run server
846-
vars:
847-
VERSION: "4.0"
848-
- func: run tests
849-
tags: [compression, "4.0"]
850-
- name: test-compression-v4.2-python3.13-no-c
851-
commands:
852-
- func: run server
853-
vars:
854-
VERSION: "4.2"
855-
- func: run tests
856-
tags: [compression, "4.2"]
857-
- name: test-compression-v4.4-python3.13-no-c
858-
commands:
859-
- func: run server
860-
vars:
861-
VERSION: "4.4"
862-
- func: run tests
863-
tags: [compression, "4.4"]
864-
- name: test-compression-v5.0-python3.13-no-c
865-
commands:
866-
- func: run server
867-
vars:
868-
VERSION: "5.0"
869-
- func: run tests
870-
tags: [compression, "5.0"]
871-
- name: test-compression-v6.0-python3.13-no-c
872-
commands:
873-
- func: run server
874-
vars:
875-
VERSION: "6.0"
876-
- func: run tests
877-
tags: [compression, "6.0"]
878-
- name: test-compression-v7.0-python3.13-no-c
879-
commands:
880-
- func: run server
881-
vars:
882-
VERSION: "7.0"
883-
- func: run tests
884-
tags: [compression, "7.0"]
885-
- name: test-compression-v8.0-python3.13-no-c
886-
commands:
887-
- func: run server
888-
vars:
889-
VERSION: "8.0"
890-
- func: run tests
891-
tags: [compression, "8.0"]
892-
- name: test-compression-rapid-python3.13-no-c
893-
commands:
894-
- func: run server
895-
vars:
896-
VERSION: rapid
897-
- func: run tests
898-
tags: [compression, rapid]
899-
- name: test-compression-latest-python3.13-no-c
900-
commands:
901-
- func: run server
902-
vars:
903-
VERSION: latest
904-
- func: run tests
905-
tags: [compression, latest]
906717
- name: test-compression-v4.0-python3.13
907718
commands:
908719
- func: run server
@@ -966,62 +777,20 @@ tasks:
966777
VERSION: latest
967778
- func: run tests
968779
tags: [compression, latest]
969-
- name: test-compression-v4.0-pypy3.10
970-
commands:
971-
- func: run server
972-
vars:
973-
VERSION: "4.0"
974-
- func: run tests
975-
tags: [compression, "4.0"]
976-
- name: test-compression-v4.2-pypy3.10
977-
commands:
978-
- func: run server
979-
vars:
980-
VERSION: "4.2"
981-
- func: run tests
982-
tags: [compression, "4.2"]
983-
- name: test-compression-v4.4-pypy3.10
984-
commands:
985-
- func: run server
986-
vars:
987-
VERSION: "4.4"
988-
- func: run tests
989-
tags: [compression, "4.4"]
990-
- name: test-compression-v5.0-pypy3.10
991-
commands:
992-
- func: run server
993-
vars:
994-
VERSION: "5.0"
995-
- func: run tests
996-
tags: [compression, "5.0"]
997-
- name: test-compression-v6.0-pypy3.10
998-
commands:
999-
- func: run server
1000-
vars:
1001-
VERSION: "6.0"
1002-
- func: run tests
1003-
tags: [compression, "6.0"]
1004-
- name: test-compression-v7.0-pypy3.10
1005-
commands:
1006-
- func: run server
1007-
vars:
1008-
VERSION: "7.0"
1009-
- func: run tests
1010-
tags: [compression, "7.0"]
1011-
- name: test-compression-v8.0-pypy3.10
780+
- name: test-compression-latest-python3.13-no-c
1012781
commands:
1013782
- func: run server
1014783
vars:
1015-
VERSION: "8.0"
784+
VERSION: latest
1016785
- func: run tests
1017-
tags: [compression, "8.0"]
1018-
- name: test-compression-rapid-pypy3.10
786+
tags: [compression, latest]
787+
- name: test-compression-latest-python3.13
1019788
commands:
1020789
- func: run server
1021790
vars:
1022-
VERSION: rapid
791+
VERSION: latest
1023792
- func: run tests
1024-
tags: [compression, rapid]
793+
tags: [compression, latest]
1025794
- name: test-compression-latest-pypy3.10
1026795
commands:
1027796
- func: run server

.evergreen/scripts/generate_config.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,18 @@ def create_load_balancer_tasks():
842842
def create_compression_tasks():
843843
tasks = []
844844
versions = get_versions_from("4.0")
845-
for python, c_ext, version in product([*MIN_MAX_PYTHON, PYPYS[-1]], C_EXTS, versions):
845+
# Test all server versions with min python.
846+
for version in versions:
847+
python = CPYTHONS[-1]
848+
tags = ["compression", version]
849+
name = get_task_name("test-compression", python=python, version=version)
850+
server_func = FunctionCall(func="run server", vars=dict(VERSION=version))
851+
test_func = FunctionCall(func="run tests")
852+
tasks.append(EvgTask(name=name, tags=tags, commands=[server_func, test_func]))
853+
854+
# Test latest with other variants.
855+
for python, c_ext in product([CPYTHONS[-1], PYPYS[-1]], C_EXTS):
856+
version = "latest"
846857
tags = ["compression", version]
847858
expansions = dict()
848859
if python != PYPYS[-1]:

0 commit comments

Comments
 (0)