add buildbot extension for autoscaling nix builders

This commit is contained in:
Abel Luck 2026-02-27 12:17:36 +01:00
parent ea12318b88
commit d1976a5fd8
13 changed files with 2300 additions and 8 deletions

View file

@ -0,0 +1,14 @@
from dataclasses import dataclass
@dataclass(frozen=True)
class AutoscaleSettings:
daemon_socket: str
system_property: str = "system"
default_system: str = "x86_64-linux"
reserve_timeout_seconds: int = 900
poll_interval_seconds: float = 5.0
retry_max_attempts: int = 5
retry_base_seconds: float = 0.5
retry_max_seconds: float = 5.0
release_on_finish: bool = True