rebuilderd-worker

Crates.iorebuilderd-worker
lib.rsrebuilderd-worker
version
sourcesrc
created_at2020-04-13 16:04:28.604317+00
updated_at2025-02-27 16:45:12.886138+00
descriptionrebuilderd - rebuild worker
homepage
repositoryhttps://github.com/kpcyrd/rebuilderd
max_upload_size
id229744
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(kpcyrd)

documentation

README

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
: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!
Commit count: 433

cargo fmt