expose minimized_stack_depth functionality in the CLI/API (#715)

This commit is contained in:
bmc-msft
2021-03-23 10:09:34 -04:00
committed by GitHub
parent 92d8299412
commit 516b1e000e
8 changed files with 52 additions and 0 deletions

View File

@ -79,6 +79,7 @@ class TaskFeature(Enum):
check_fuzzer_help = "check_fuzzer_help"
expect_crash_on_failure = "expect_crash_on_failure"
report_list = "report_list"
minimized_stack_depth = "minimized_stack_depth"
# Permissions for an Azure Blob Storage Container.

View File

@ -171,6 +171,7 @@ class TaskDetails(BaseModel):
ensemble_sync_delay: Optional[int]
preserve_existing_outputs: Optional[bool]
report_list: Optional[List[str]]
minimized_stack_depth: Optional[int]
@validator("check_retry_count", allow_reuse=True)
def validate_check_retry_count(cls, value: int) -> int:
@ -399,6 +400,7 @@ class TaskUnitConfig(BaseModel):
stats_format: Optional[StatsFormat]
ensemble_sync_delay: Optional[int]
report_list: Optional[List[str]]
minimized_stack_depth: Optional[int]
# from here forwards are Container definitions. These need to be inline
# with TaskDefinitions and ContainerTypes