Merge pull request #60811 from ClickHouse/new-private-runners

New private runners
This commit is contained in:
Alexey Milovidov 2024-03-05 04:45:16 +03:00 committed by GitHub
commit 7ecd67fc27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -264,6 +264,8 @@ class BuildConfig:
def process(field_name: str, field: Union[bool, str]) -> str: def process(field_name: str, field: Union[bool, str]) -> str:
if isinstance(field, bool): if isinstance(field, bool):
field = str(field).lower() field = str(field).lower()
elif not isinstance(field, str):
field = ""
if export: if export:
return f"export BUILD_{field_name.upper()}={repr(field)}" return f"export BUILD_{field_name.upper()}={repr(field)}"
return f"BUILD_{field_name.upper()}={field}" return f"BUILD_{field_name.upper()}={field}"

View File

@ -20,11 +20,12 @@ RUNNER_TYPE_LABELS = [
"style-checker", "style-checker",
"style-checker-aarch64", "style-checker-aarch64",
# private runners # private runners
"private-style-checker",
"private-builder", "private-builder",
"private-clickpipes",
"private-func-tester", "private-func-tester",
"private-fuzzer-unit-tester", "private-fuzzer-unit-tester",
"private-stress-tester", "private-stress-tester",
"private-style-checker",
] ]