Job builder-web
README
Skip to buildsBuilder-web - a web frontend for reproducible builds
Builder-web takes in submissions of builds, typically from builder, and displays the produced artifacts in a way that makes it easy to compare checksums and build status. Produced binaries can be downloaded and executed. builds.robur.coop itself runs builder-web.
Overview
Builder-web is a single binary web server using a sqlite3 database with versioned schemas. Finished builds from builder are uploaded to builder-web, stored and indexed in the database and presented in the web interface to the user. Users can:
- Get an overview of jobs - a job is typically script or opam package that is run and builds an artifact,
- Browse all builds of a job - each job may have multiple builds, that are executed periodically by builder
- Browse individual build and download artifacts and build information for reproducing the same binary.
- Compare two builds, observing the differences in used opam packages, environment variables, and system packages.
- Search for the SHA-256 hash of a binary to view a build that resulted in that binary.
Installation
Installing from source can be done with opam: opam install builder-web
.
We also provide reproducible binary packages.
Setup
Builder-web consists of a binary builder-web
that runs a web server on port 3000 listening on all interfaces by default.
These values can be changed with the --port
and --host
flags respectively.
See builder-web --help
for more information.
Service scripts for FreeBSD and systemd are provided.
The web server expects a sqlite3 database in its data directory.
An empty database can be created with builder-db migrate
.
Database migrations
The sqlite3 database builder-web uses contains versioning information.
On every schema change the database schema version is updated, and migration and rollback scripts are provided.
The tool for database migrations is builder-migrations
.
See the builder-migrations --help
output for each migration for further details.
Less common workflows
Here are listed some less common but useful workflows:
Extracting builds from one server to another
This is useful for development on a separate machine that doesn't run the build jobs itself.
On the source server:
builder-db extract-build <build-hash> --dest <build-hash>.full
After copying the file over the destination server (you need a user first,
see builder-db user-add --help
):
curl --data-binary @<build-hash>.full http://<user>:<passwd>@localhost:<builder-web-port>/upload
JSON Responses
Some endpoints return JSON when the headers contain Accept: application/json
.
/compare/:build_left/:build_right
/job/:job/build/latest/**
/job/:job/build/latest
Builds
Back to readme- ☑ freebsd-14 2024-12-21 03:44:31Z builder-web.pkg
SHA256:469383c0a13d67fb8f007caa0b880cf3aaf506f7d5c91929e367e35bd41b7ba5
(12.5MB) - ☑ debian-11 2024-12-20 19:11:37Z builder-web.deb
SHA256:818f09edbff73dca4ae0e80148b8cbb73ba5516e3f91a187a946aa7c29df2675
(14.3MB) - ☑ debian-12 2024-12-20 18:56:19Z builder-web.deb
SHA256:4c72201ff40dd0da4ab5c7f77f98dfe45a0f77fbc711d816478e2da03034b04c
(14.9MB) - ☑ freebsd-14 2024-12-20 01:02:31Z builder-web.pkg
SHA256:14c4bf2574f071012c61d387082c18a0981c9b3edc7ea78bac24418be19e8f8e
(12.5MB) - ☑ debian-11 2024-12-19 18:53:37Z builder-web.deb
SHA256:8ae3227e66ac36f5eb150f9e2ef9e334308af807ebe4af00734f8cfa95d64b72
(14.3MB) - ☑ debian-12 2024-12-19 18:53:20Z builder-web.deb
SHA256:f720b8c667aeb605ebec781bd52f8484aaaec4b4c5e41229cbd084302122d1c1
(14.9MB) - ☑ freebsd-14 2024-12-17 00:59:53Z builder-web.pkg
SHA256:6ce18c65a38150cecafc8ed5d95e86461fb18cdbbbba656b2bc40dd75b25180e
(12.5MB) - ☑ debian-11 2024-12-16 18:53:43Z builder-web.deb
SHA256:be00a9c0407fde312bc6c3bc47f1fe4c6bf4f6299fe3d29ddd87ade2f53d7e69
(14.3MB) - ☑ debian-12 2024-12-16 18:53:22Z builder-web.deb
SHA256:85c1850958f0d72f31b35bfc06b5a2a861d6bd095f59582e9bccca26a258c297
(14.9MB) - ☑ debian-11 2024-11-15 14:12:36Z builder-web.deb
SHA256:03a5f4a0201f9ad560d2f04a9a22d38f9b8458f8a5ee154545bbec46ddf86908
(14.3MB) - ☑ debian-12 2024-11-15 14:12:22Z builder-web.deb
SHA256:43ed2759f28e49e4148216928f998296910b97d042b2d40e0051b1af6d5b286b
(14.9MB) - ☑ freebsd-14 2024-11-15 02:36:51Z builder-web.pkg
SHA256:742e1d24547a484781632b1c970925a620ad02150a5606bd0b4aa24c1988cb8a
(12.5MB) - ☑ debian-11 2024-11-14 14:01:43Z builder-web.deb
SHA256:2b3e2039f3b5182add86851b7ddb86c35d702bd2576eb5aa60b7d7e9d3372428
(14.3MB) - ☑ debian-12 2024-11-14 14:01:33Z builder-web.deb
SHA256:c5758ae8fc418355130aee518a3dc1960c47bdeca98272b4eb4979b3685869c7
(14.9MB) - ☑ freebsd-14 2024-11-14 00:41:13Z builder-web.pkg
SHA256:efd54b36ab32cb4e05dfe40ab293b7b5670e9eef886e3e5b0100384c5e9d203b
(12.5MB) - ☑ debian-12 2024-11-08 14:01:25Z builder-web.deb
SHA256:6a6e62b25d1daaed0d437e5899e968c1fe36c4f2a50848620bf48ca083a90f52
(14.9MB) - ☑ debian-11 2024-11-02 14:01:33Z builder-web.deb
SHA256:30719d1ac9ac32707e0619463ef43a41ad65e1812f0ea9a0c1b9e03e7ad532a2
(14.3MB) - ☑ debian-11 2024-10-24 14:01:23Z builder-web.deb
SHA256:c55d653d4f32f5b879921d2c157ccd8bb0c6e9c7c3a3fb9f3eb5564f86a40421
(14.3MB) - ☑ debian-12 2024-10-24 14:01:13Z builder-web.deb
SHA256:b2dcedbbc3f90448def598a0ee4f7eec3c314653d4057449bfcf7d45179b0b8a
(14.9MB) - ☑ freebsd-14 2024-10-24 00:13:30Z builder-web.pkg
SHA256:a0ee88845b0d41e2774bc56a480c47a83a24833ca626055b8d1ff388e77bc531
(12.5MB) - ☑ debian-11 2024-09-27 14:01:03Z builder-web.deb
SHA256:30a0b93cd8cc7117e2c1ab70e93a3ad86683bfe56320068ed6bc6aab44eddd01
(14.3MB) - ☑ debian-12 2024-09-27 14:00:48Z builder-web.deb
SHA256:55025fc1496dc018df858dddad4d111490e40a622cebc61f176493122bbcb9ce
(14.9MB) - ☑ freebsd-14 2024-09-27 13:18:29Z builder-web.pkg
SHA256:eb21c4cafc147af0163da5fca717d092b91a591aaa25948ee84f8e4415a122e2
(12.5MB) - ☑ freebsd-14 2024-09-27 09:11:11Z builder-web.pkg
SHA256:e86713c1c6620c89419246c58de7f04aafeda2d3779e62cc5557b627a24efb81
(13.5MB) - ☑ debian-11 2024-09-26 14:29:30Z builder-web.deb
SHA256:ec96ed3b445911db2c30f3967ea2b2290cad8337e813c78168cb9b4b72bbe32e
(15.5MB) - ☑ debian-12 2024-09-26 14:29:07Z builder-web.deb
SHA256:6430749e43066cc7f343bba6f5783b134dcf6cd37a619f69160d8b02a4601579
(16.1MB) - ☑ debian-11 2024-09-20 14:28:56Z builder-web.deb
SHA256:ba11b233b8e5648455362290d94a64eb0497d984d818a4a3b8ae8a9ec45fb720
(15.5MB) - ☑ debian-12 2024-09-20 14:28:09Z builder-web.deb
SHA256:174e202838c4523435ed9b77f5740b3ed57c2862000833d0e8dc069a0666e2a2
(16.1MB) - ☑ debian-11 2024-09-13 14:11:40Z builder-web.deb
SHA256:cd30a645139521663445915840ff97ef19686feaf712b7233465731f7e215285
(15.4MB) - ☑ debian-12 2024-09-13 14:11:23Z builder-web.deb
SHA256:be7e23168ede8e8cc6674573ccceca2c04e3cfe598caca64784b9cbecde5aa09
(16.1MB) - ☑ freebsd-14 2024-09-13 13:05:54Z builder-web.pkg
SHA256:f3fd3a72e08248afdb2062333bb4184ff1cad23116045e1af0c1c42f33dff66b
(13.5MB) - ☑ debian-11 2024-09-12 14:00:51Z builder-web.deb
SHA256:ff5199a933fd9102d66f2049337c8074e40320071575ed0d344f0e0c3fd4ba4a
(15.4MB) - ☑ debian-12 2024-09-12 14:00:42Z builder-web.deb
SHA256:9a5b46ab9ed16d182a81f277ce32d55f2051e68b6383ff374020caa4983ef03f
(16.1MB) - ☑ debian-11 2024-09-11 14:42:37Z builder-web.deb
SHA256:ca2f940389d5a4d4d6aa16967f9cfce8665be48a07670640e102bf667d7c8792
(15.5MB) - ☑ freebsd-14 2024-09-11 13:04:00Z builder-web.pkg
SHA256:881062a7ffdca0f0a70597d0439ad0590ce00d9ec7f248fd8f66573b87f431a0
(13.5MB) - ☑ debian-11 2024-09-10 14:11:45Z builder-web.deb
SHA256:0c0278134fa2cf40a9f2785d09ec917b5e12b5f5740cd504cb9697c9420f00a3
(14.3MB) - ☑ freebsd-14 2024-09-10 13:03:02Z builder-web.pkg
SHA256:ffe0afea46a0144142b7f505cc78e52b4c3ac20b7612aa23706f859fd34b33a9
(12.5MB) - ☑ debian-11 2024-09-09 14:00:46Z builder-web.deb
SHA256:319e02b02db61739b65d22ffa7545178aa2ac486949c27a17651a1a7449a9019
(14.3MB) - ☑ debian-12 2024-09-09 14:00:36Z builder-web.deb
SHA256:034ea4899cfe8137d292760adf5c94908041ab6420efefc0d263bc39958feeaf
(14.9MB) - ☑ freebsd-14 2024-09-09 13:02:07Z builder-web.pkg
SHA256:ecb27b268130d47193fa0993da31df9c5c0b2dcf80b529de8a33017a216fa5cc
(12.5MB) - ☑ freebsd-14 2024-09-05 17:28:31Z builder-web.pkg
SHA256:708521501fd8233120285918a4de5e5328a581e8a19c22c5bdd872a2b876649b
(12.4MB) - ☑ debian-11 2024-09-05 14:30:10Z builder-web.deb
SHA256:f3bed930efc1e0ca23ff23e1c2f3bd07a7a973f78f31eda95d0b316b57f09c75
(14.5MB) - ☑ debian-12 2024-09-05 14:29:39Z builder-web.deb
SHA256:4e891061fc5338971f0269380dea5d44cc2afb7b50f37f89d5263a3f7478f0f8
(15.1MB) - ☑ freebsd-14 2024-09-05 12:58:23Z builder-web.pkg
SHA256:7d187f2b78760aa1e9dd0183b60eadeb2a0498627e48f2ea067d8b0483048f5c
(12.6MB) - ☑ debian-11 2024-09-03 14:00:45Z builder-web.deb
SHA256:5eb1e0f5d4f694c197ce91296d8b007ea13c0bd6741e072e5629ecbdf0f7f8ee
(14.5MB) - ☑ debian-12 2024-09-03 14:00:29Z builder-web.deb
SHA256:6701e16b3d245fc17e7b795b45cc757148511e5b6a272a5a8907332b2394da65
(15.1MB) - ☑ freebsd-14 2024-09-03 12:56:30Z builder-web.pkg
SHA256:22c9cbe389539c61b56c2417d18774c3f1c50c6dbd28da6df09ba90371870bf9
(12.6MB) - ☑ debian-12 2024-08-30 14:29:27Z builder-web.deb
SHA256:8c54604c16aca7b1dbca905182932b2593c98adcb96306d7511cf240bde062f6
(15.1MB) - ☑ debian-11 2024-08-23 14:13:09Z builder-web.deb
SHA256:7a44c53edc9b03018b2fb540b542eb1a7512daea505afc095fb728931e4cc5f2
(14.4MB) - ☑ debian-12 2024-08-23 14:12:46Z builder-web.deb
SHA256:283cb4e286694371d861d0f1eeb3e058e50a0bcc657abdab281b1a246c6fbb9d
(15.1MB) - ☑ freebsd-14 2024-08-23 12:46:11Z builder-web.pkg
SHA256:9af024c4f3d51c7a5f4865db916b511c67a7e30cfd7cc18f4119cb113c94563a
(12.6MB) - ☑ debian-11 2024-08-22 14:00:37Z builder-web.deb
SHA256:154fcb79d8435ad682763349c60bfaf834f6d9e23f9ac6ef18cc2d1747b36b3e
(14.4MB) - ☑ debian-12 2024-08-22 14:00:24Z builder-web.deb
SHA256:383335b275111a8dd8fbe331bd4b1220588a276ad180c77bea56f832a95fda13
(15.1MB) - ☑ freebsd-14 2024-08-22 12:45:14Z builder-web.pkg
SHA256:bdea5573616253de249aa2752d01d82247e15fd0940ef50dad71f2f3fd18bdbe
(12.7MB) - ☑ debian-11 2024-08-21 14:30:38Z builder-web.deb
SHA256:0f2c0fb5aeda5b53a0db969b0643bad9518cbd9a70012af1fefad8e5a6310a5d
(14.4MB) - ☑ debian-12 2024-08-21 14:30:06Z builder-web.deb
SHA256:bfc643705c59c4ccaa8e8417bb6dc4bfdf68cf5b9da71304e90f9ab68dab5e4f
(15.1MB) - ☑ freebsd-14 2024-08-21 12:44:16Z builder-web.pkg
SHA256:d2dacd5e7dddf5ba9d350524fe809448a06189ebe61f4e6b4c0ad6fac9ca755b
(12.7MB) - ☒ debian-11 2024-08-18 14:30:55Z Build failure: exited 20
- ☒ debian-12 2024-08-18 14:30:22Z Build failure: exited 20
- ☑ freebsd-14 2024-08-18 12:41:23Z builder_web.pkg
SHA256:9d57e7f226fdffe4588bac05ac8fc8536961fd1850987987bb993150d6d73f23
(7.4MB) - ☒ debian-11 2024-08-17 14:13:06Z Build failure: exited 20
- ☒ debian-12 2024-08-17 14:12:51Z Build failure: exited 20
- ☒ debian-11 2024-08-16 14:00:28Z Build failure: exited 20
- ☒ debian-12 2024-08-16 14:00:18Z Build failure: exited 20
- ☒ debian-11 2024-08-15 14:29:41Z Build failure: exited 31
- ☒ debian-12 2024-08-15 14:29:01Z Build failure: exited 31
- ☒ freebsd-14 2024-08-15 12:38:34Z Build failure: exited 31
- ☒ debian-11 2024-08-14 14:10:38Z Build failure: exited 31
- ☒ debian-12 2024-08-14 14:10:20Z Build failure: exited 31
- ☒ freebsd-14 2024-08-14 12:37:37Z Build failure: exited 31
- ☑ debian-11 2024-08-13 14:04:15Z builder-web.deb
SHA256:0941e2aaa957ed8ba91b628c3bbebc5ef62f7ad64f73511276baacb4448a44ff
(12.9MB) - ☑ debian-12 2024-08-13 14:04:07Z builder-web.deb
SHA256:d7bf6019bd044b238b36c442035111f2c0b90cbb05fcd3075f030c4c99959b8e
(13.5MB) - ☑ freebsd-14 2024-08-13 12:36:40Z builder-web.pkg
SHA256:8a46ff408ce777c36886160951f160a541159071ba7f84a6f4e605f11e12882e
(11.2MB) - ☒ debian-11 2024-08-11 14:10:38Z Build failure: exited 31
- ☒ debian-12 2024-08-11 14:10:24Z Build failure: exited 31
- ☒ freebsd-14 2024-08-11 12:34:46Z Build failure: exited 31
- ☒ debian-11 2024-08-10 14:04:14Z Build failure: exited 31
- ☒ debian-12 2024-08-10 14:04:02Z Build failure: exited 31
- ☒ freebsd-14 2024-08-10 12:33:50Z Build failure: exited 31
- ☒ debian-11 2024-08-09 14:24:45Z Build failure: exited 31
- ☒ debian-12 2024-08-09 14:23:56Z Build failure: exited 31
- ☒ freebsd-14 2024-08-09 12:32:52Z Build failure: exited 31
- ☒ debian-11 2024-08-08 14:10:42Z Build failure: exited 31
- ☒ debian-12 2024-08-08 14:10:25Z Build failure: exited 31
- ☒ freebsd-14 2024-08-08 12:31:56Z Build failure: exited 31
- ☑ debian-11 2024-08-06 14:25:16Z builder-web.deb
SHA256:f2de62e56b4055a3277f8bbd2e1c54e0c7d78458d5f9c1ecb4355976c5afad4c
(12.9MB) - ☑ debian-12 2024-08-06 14:24:47Z builder-web.deb
SHA256:9b53481db5d76c7c572e9696f54057fcb00e3faf4733f87b92e4bd955d41d139
(13.5MB) - ☑ freebsd-14 2024-08-06 12:30:03Z builder-web.pkg
SHA256:8f08137e61f9b0e36457c57a35d96417cce22126538a798cb0bc91ae78d2d173
(11.2MB) - ☒ freebsd-14 2024-08-01 12:25:33Z Build failure: exited 127
- ☑ debian-11 2024-07-20 14:10:55Z builder-web.deb
SHA256:dfe4f8063e07656a47cb06ec631f0a69726c432d894c135ac0a03136de86905d
(12.9MB) - ☑ debian-12 2024-07-20 14:10:37Z builder-web.deb
SHA256:f9197a2f503cf8d673c3247892c16c0fd99e99c6b3a11aff3623b5f5331434e7
(13.5MB) - ☑ freebsd-14 2024-07-20 12:14:04Z builder-web.pkg
SHA256:334a161dfe9a9e284502177f507c8bcc58b78b0417611834db2ff4263852693f
(11.1MB) - ☑ freebsd-14 2024-07-15 12:09:19Z builder-web.pkg
SHA256:33bcc336600b19d5cb294adfc5e94eb4b7a54bd5e7cdfae6bdb0ccd3d88904ff
(11.1MB) - ☑ debian-12 2024-07-15 10:55:25Z builder-web.deb
SHA256:25cde2746d2403cbad2d3910358ddbc7f1344e2bf7272c21d2f32f281efa8431
(13.5MB) - ☑ debian-11 2024-07-15 10:55:18Z builder-web.deb
SHA256:f4ca75be5c43f92dfd178b777286584293abb039c97a890f69761ed3327573d9
(12.9MB) - ☑ debian-11 2024-07-02 14:10:30Z builder-web.deb
SHA256:91a8b9e64b1b54b242ae4184231b172bbfa2ae3764d9e0a4c5c1c98066daf7f0
(12.5MB) - ☑ debian-12 2024-07-02 14:10:19Z builder-web.deb
SHA256:4d502f1ad59736324bf7866791342e9cefb7f76d819470f470c0ffad4d1e9589
(13MB) - ☑ freebsd-14 2024-07-02 11:57:00Z builder-web.pkg
SHA256:7f2afc5600b95e6b621292ef1f8bd7a3e422bfc5bcd82e96932ecea86cbd7ea6
(10.8MB) - ☑ debian-11 2024-06-28 14:05:17Z builder-web.deb
SHA256:1ec36364980a720001c5be74bfc7baee94a08a804f7ac3893f8e2a26e55da3ca
(12.5MB) - ☑ debian-12 2024-06-28 14:04:54Z builder-web.deb
SHA256:3aac602c2ab6d337a116c3b3c41f2e891c81d51f34f5cf031a96511886ae72ad
(13MB) - ☑ freebsd-14 2024-06-28 11:53:11Z builder-web.pkg
SHA256:3e9cfee0a0593df672534976d3512b3c42c37f540aa5a08a3a3cb4788750be6a
(10.8MB) - ☑ debian-11 2024-06-26 14:02:05Z builder-web.deb
SHA256:7b51853aac8b314eb29514fd34c22e49d6c41e8644aa30dc8888a05afc2b51f7
(8.89MB)
Excluding failed builds here.