1- from config_generator .components .funcs .install_c_driver import InstallCDriver
2- from config_generator .components .funcs .install_uv import InstallUV
3-
4- from config_generator .etc .distros import find_large_distro
5- from config_generator .etc .function import Function , merge_defns
6- from config_generator .etc .utils import bash_exec
1+ from itertools import product
72
83from shrub .v3 .evg_build_variant import BuildVariant
94from shrub .v3 .evg_command import EvgCommandType , git_get_project , s3_put
105from shrub .v3 .evg_task import EvgTask , EvgTaskRef
116from shrub .v3 .evg_task_group import EvgTaskGroup
127
13- from itertools import product
14-
8+ from config_generator .components .funcs .install_c_driver import InstallCDriver
9+ from config_generator .components .funcs .install_uv import InstallUV
10+ from config_generator .etc .distros import find_large_distro
11+ from config_generator .etc .function import Function , merge_defns
12+ from config_generator .etc .utils import bash_exec
1513
1614TAG = 'abi-stability'
1715
@@ -34,11 +32,10 @@ class AbiComplianceCheck(Function):
3432 commands = [
3533 bash_exec (
3634 command_type = EvgCommandType .SETUP ,
37- script = 'mongo-cxx-driver/.evergreen/scripts/abi-compliance-check-setup.sh'
35+ script = 'mongo-cxx-driver/.evergreen/scripts/abi-compliance-check-setup.sh' ,
3836 ),
3937 bash_exec (
40- command_type = EvgCommandType .TEST ,
41- script = 'mongo-cxx-driver/.evergreen/scripts/abi-compliance-check-test.sh'
38+ command_type = EvgCommandType .TEST , script = 'mongo-cxx-driver/.evergreen/scripts/abi-compliance-check-test.sh'
4239 ),
4340 s3_put (
4441 command_type = EvgCommandType .SYSTEM ,
@@ -92,11 +89,11 @@ class Abidiff(Function):
9289 commands = [
9390 bash_exec (
9491 command_type = EvgCommandType .SETUP ,
95- script = 'mongo-cxx-driver/.evergreen/scripts/abidiff-setup.sh'
92+ script = 'mongo-cxx-driver/.evergreen/scripts/abidiff-setup.sh' ,
9693 ),
9794 bash_exec (
9895 command_type = EvgCommandType .TEST ,
99- script = 'mongo-cxx-driver/.evergreen/scripts/abidiff-test.sh'
96+ script = 'mongo-cxx-driver/.evergreen/scripts/abidiff-test.sh' ,
10097 ),
10198 s3_put (
10299 command_type = EvgCommandType .SYSTEM ,
@@ -127,7 +124,7 @@ class AbiProhibitedSymbols(Function):
127124 name = 'abi-prohibited-symbols'
128125 commands = bash_exec (
129126 command_type = EvgCommandType .TEST ,
130- script = 'mongo-cxx-driver/.evergreen/scripts/abi-prohibited-symbols-test.sh'
127+ script = 'mongo-cxx-driver/.evergreen/scripts/abi-prohibited-symbols-test.sh' ,
131128 )
132129
133130
@@ -198,7 +195,7 @@ def task_groups():
198195 'distro_id' ,
199196 'UV_INSTALL_DIR' ,
200197 ],
201- script = 'mongo-cxx-driver/.evergreen/scripts/abi-stability-setup.sh'
198+ script = 'mongo-cxx-driver/.evergreen/scripts/abi-stability-setup.sh' ,
202199 ),
203200 s3_put (
204201 command_type = EvgCommandType .SETUP ,
@@ -214,7 +211,9 @@ def task_groups():
214211 ],
215212 tasks = [task .name for task in TASKS if polyfill in task .name and f'cxx{ cxx_standard } ' in task .name ],
216213 teardown_task_can_fail_task = True ,
217- teardown_task = [bash_exec (script = 'rm -rf *' ),],
214+ teardown_task = [
215+ bash_exec (script = 'rm -rf *' ),
216+ ],
218217 )
219218 for polyfill , cxx_standard in MATRIX
220219 ]
@@ -223,11 +222,8 @@ def task_groups():
223222def variants ():
224223 return [
225224 BuildVariant (
226- name = f'abi-stability' ,
227- display_name = f'ABI Stability Checks' ,
228- tasks = [
229- EvgTaskRef (name = f'tg-{ TAG } -{ polyfill } -cxx{ cxx_standard } ' )
230- for polyfill , cxx_standard in MATRIX
231- ],
225+ name = 'abi-stability' ,
226+ display_name = 'ABI Stability Checks' ,
227+ tasks = [EvgTaskRef (name = f'tg-{ TAG } -{ polyfill } -cxx{ cxx_standard } ' ) for polyfill , cxx_standard in MATRIX ],
232228 )
233229 ]
0 commit comments