Skip to content

Commit c885e17

Browse files
committed
modules/nixos/buildbot: disable topic, switch to repoAllowlist
1 parent 68c208b commit c885e17

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

docs/continuous-integration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ See [here](./infrastructure.md#continuous-integration) for details about the har
1717

1818
_Buildbot is the only CI system that supports pull requests from forked repositories._
1919

20-
To enable buildbot add the [`nix-community-buildbot`](https://github.com/topics/nix-community-buildbot) topic to the repository.
21-
22-
_Newly enabled repos are imported into buildbot twice a day, you can also ask the admins to trigger an import manually._
20+
To enable buildbot add the repo to the `repoAllowlist` in this [file](https://github.com/nix-community/infra/blob/master/modules/nixos/buildbot.nix).
2321

2422
#### Hercules
2523

modules/nixos/buildbot.nix

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,31 @@
44
...
55
}:
66
let
7+
repoAllowlist = [
8+
# keep-sorted start case=no
9+
"nix-community/authentik-nix"
10+
"nix-community/autofirma-nix"
11+
"nix-community/dream2nix"
12+
"nix-community/ethereum.nix"
13+
"nix-community/infra"
14+
"nix-community/lanzaboote"
15+
"nix-community/neovim-nightly-overlay"
16+
"nix-community/nix-direnv"
17+
"nix-community/nix-eval-jobs"
18+
"nix-community/nix-index"
19+
"nix-community/nix4nvchad"
20+
"nix-community/NixNG"
21+
"nix-community/nixos-facter"
22+
"nix-community/nixos-facter-modules"
23+
"nix-community/nixos-generators"
24+
"nix-community/nixos-images"
25+
"nix-community/nixpkgs-update"
26+
"nix-community/nixpkgs-xr"
27+
"nix-community/nixvim"
28+
"nix-community/srvos"
29+
# keep-sorted end
30+
];
31+
732
buildSystems =
833
[
934
config.nixpkgs.hostPlatform.system
@@ -63,7 +88,8 @@ in
6388
webhookSecretFile = config.sops.secrets.buildbot-github-webhook-secret.path;
6489
oauthSecretFile = config.sops.secrets.buildbot-github-oauth-secret.path;
6590
oauthId = "Iv23liN9rjd1Bm3bvYKZ";
66-
topic = "nix-community-buildbot";
91+
topic = null;
92+
inherit repoAllowlist;
6793
};
6894
};
6995

0 commit comments

Comments
 (0)