Buildbot for Nix, tailored for Lix usecases
Go to file
github-actions[bot] a1c203d91f flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01)
  → 'github:hercules-ci/flake-parts/34fed993f1674c8d06d58b37ce1e0fe5eebcb9f5' (2023-12-01)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/e2fa3d60550627938495aa368a1d4635c9cf64ff' (2023-11-29)
  → 'github:Nixos/nixpkgs/3934dbde4f4a0e266825348bc4ad1bdd00a8d6a3' (2023-11-30)
2023-12-03 01:46:52 +00:00
.github add dependabot && flake update 2023-10-27 08:34:04 +02:00
buildbot_nix fix status_name and virtual_builder_name 2023-11-20 09:07:45 +01:00
examples make evalWorkerCount configurable 2023-11-12 07:23:35 +01:00
nix worker: don't kill service when a process takes too much RAM 2023-11-30 09:14:19 +01:00
.gitignore also create webhooks automatically 2023-10-12 17:50:43 +02:00
.mergify.yml add mergify 2023-10-12 23:59:45 +02:00
default.nix add buildbot_nix as a python package to buildbot 2023-10-31 11:35:35 +01:00
flake.lock flake.lock: Update 2023-12-03 01:46:52 +00:00
flake.nix move nixpkgs back to nixos-unstable-small 2023-11-20 09:44:19 +01:00
pyproject.toml add buildbot_nix as a python package to buildbot 2023-10-31 11:35:35 +01:00
README.md README: mention oauth credentials 2023-11-17 16:29:28 +01:00

Buildbot-nix

A nixos module to make buildbot a proper Nix-CI.

For an example checkout the example and the module descriptions for master and worker.

This project is still in early stage and many APIs might change over time.

Github

We currently primarly support Github as a platform but we are also looking into supporting other CIs such as gitea.

Buildbot requires a GitHub app, to allow login for GitHub users to its dashboard. After installing the app, create oauth credentials and set them in the buildbot-nix nixos module.

Furthermore buildbot requires a github token with the following permissions:

  • admin:repo_hook, public_repo, repo:status

For github organisations it's recommend to create an additional GitHub user for that.

Real-worlds deployments