add buildbot extension for autoscaling nix builders
This commit is contained in:
parent
ea12318b88
commit
d1976a5fd8
13 changed files with 2300 additions and 8 deletions
14
buildbot-ext/buildbot_autoscale_ext/settings.py
Normal file
14
buildbot-ext/buildbot_autoscale_ext/settings.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue