Skip to content

Commit f7175ee

Browse files
MagicRBMic92
authored andcommitted
Remove buildRetries from the nix code
Signed-off-by: magic_rb <[email protected]>
1 parent e665daa commit f7175ee

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

buildbot_nix/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def maybe_interpolate(value: str | Interpolate) -> str | util.Interpolate:
174174
class BuildbotNixConfig(BaseModel):
175175
db_url: str
176176
auth_backend: AuthBackendConfig
177-
build_retries: int
178177
cachix: CachixConfig | None
179178
gitea: GiteaConfig | None
180179
github: GitHubConfig | None

nix/master.nix

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,6 @@ in
110110
'';
111111
};
112112

113-
buildRetries = lib.mkOption {
114-
type = lib.types.int;
115-
default = 1;
116-
description = "Number of times a build is retried";
117-
};
118-
119113
postBuildSteps = lib.mkOption {
120114
default = [ ];
121115
description = ''
@@ -606,7 +600,6 @@ in
606600
(pkgs.formats.json { }).generate "buildbot-nix-config.json" {
607601
db_url = cfg.dbUrl;
608602
auth_backend = cfg.authBackend;
609-
build_retries = cfg.buildRetries;
610603
cachix =
611604
if !cfg.cachix.enable then
612605
null

0 commit comments

Comments
 (0)