25 releases (15 breaking)

new 0.16.3 Nov 28, 2021
0.15.0 Oct 16, 2021
0.13.0 Jul 22, 2021
0.9.1 Dec 27, 2020
0.4.0 Apr 30, 2020

#79 in Operating systems

Download history 25/week @ 2021-08-16 3/week @ 2021-09-13 26/week @ 2021-09-20 34/week @ 2021-09-27 6/week @ 2021-10-04 38/week @ 2021-10-11 5/week @ 2021-10-18 21/week @ 2021-11-08 4/week @ 2021-11-15 59/week @ 2021-11-22

62 downloads per month

GPL-3.0 license

78KB
2K SLoC

Rust 1.5K SLoC // 0.0% comments Shell 246 SLoC // 0.1% comments

Rebuilderd Workers

Workers are tasked with, in short, carrying out the actual rebuild. Here you'll find:

  1. The rust codebase for the worker daemon (that listens in for rebuild commands) under src/
  2. A series of entrypoints needed by the workers (i.e., rebuilder-{archlinux,debian}) to instantiate new build environments.
  3. A series of dockerfiles to build dockerized worker workloads (e.g., in case you would want to use an autoscaling group in a k8s cluster or in case you just want to keep workers separated).

You can test workers individually by (for example) building a container and scheduling a build (for a debian worker):

$ docker build -t rebuilderd-worker-debian worker/Dockerfile.debian
$ docker run --cap-add=SYS_ADMIN --rm \
    rebuilderd-worker-debian build debian \
    https://buildinfos.debian.net/buildinfo-pool/r/rust-sniffglue/rust-sniffglue_0.11.1-6+b1_amd64.buildinfo
📝 WARNING
note these commands are run in the root of the repo, not here
⚠️ WARNING
Running Debian workers as containers requires SYS_ADMIN capabilities which could be dangerous!

Dependencies

~23MB
~523K SLoC