rebuilderd-worker-0.18.1 is not a library.
Rebuilderd Workers
Workers are tasked with, in short, carrying out the actual rebuild. Here you'll find:
- The rust codebase for the worker daemon (that listens in for rebuild commands) under src/
- A series of entrypoints needed by the workers (i.e., rebuilder-{archlinux,debian}) to instantiate new build environments.
- 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):
:memo: WARNING |
---|
note these commands are run in the root of the repo, not here |
:warning: WARNING |
---|
Running Debian workers as containers requires SYS_ADMIN capabilities which could be dangerous! |