Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modules/nixos/buildbot: disable topic, switch to repoAllowlist #1707

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/continuous-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ See [here](./infrastructure.md#continuous-integration) for details about the har

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

To enable buildbot add the [`nix-community-buildbot`](https://github.com/topics/nix-community-buildbot) topic to the repository.

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

#### Hercules

Expand Down
22 changes: 22 additions & 0 deletions modules/nixos/buildbot-repo-allowlist.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
"nix-community/authentik-nix"
"nix-community/autofirma-nix"
"nix-community/dream2nix"
"nix-community/ethereum.nix"
"nix-community/infra"
"nix-community/lanzaboote"
"nix-community/neovim-nightly-overlay"
"nix-community/nix-direnv"
"nix-community/nix-index"
"nix-community/nix4nvchad"
"nix-community/NixNG"
"nix-community/nixos-facter"
"nix-community/nixos-facter-modules"
"nix-community/nixos-generators"
"nix-community/nixos-images"
"nix-community/nixpkgs-update"
"nix-community/nixpkgs-xr"
"nix-community/nixvim"
"nix-community/raspberry-pi-nix"
"nix-community/srvos"
]
3 changes: 2 additions & 1 deletion modules/nixos/buildbot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ in
webhookSecretFile = config.sops.secrets.buildbot-github-webhook-secret.path;
oauthSecretFile = config.sops.secrets.buildbot-github-oauth-secret.path;
oauthId = "Iv23liN9rjd1Bm3bvYKZ";
topic = "nix-community-buildbot";
topic = null;
repoAllowlist = import ./buildbot-repo-allowlist.nix;
};
};

Expand Down