Add a new runner type for ci metrics and autoscaling

This commit is contained in:
Mikhail f. Shiryaev 2023-05-31 23:17:41 +02:00
parent e8b03d7498
commit 0ddd53088d
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4
2 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,10 @@ def get_scales(runner_type: str) -> Tuple[int, int]:
# 10. I am trying 7 now.
# UPDATE THE COMMENT ON CHANGES
scale_up = 7
elif runner_type == "limited-tester":
# The limited runners should inflate and deflate faster
scale_down = 1
scale_up = 2
return scale_down, scale_up

View File

@ -15,6 +15,7 @@ RUNNER_TYPE_LABELS = [
"func-tester",
"func-tester-aarch64",
"fuzzer-unit-tester",
"limited-tester",
"stress-tester",
"style-checker",
"style-checker-aarch64",