Commit graph

63 commits

Author SHA1 Message Date
magic_rb e53acc6660 Support setting jobReportLimit to 0, which always combines bulids
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 11:23:49 +02:00
magic_rb 28b6da6e73
Make the cut off point for combining build reports customizable.
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 11:23:38 +02:00
magic_rb dd2df67009 Combine build reports for GitHub if there are too many
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 11:09:12 +02:00
Jörg Thalheim 7480ee03b3 jwt: fix passing private_key_file to command 2024-07-26 06:13:34 +00:00
magic_rb 6e8e735628 Utilize pydantic for serialization and deserialization
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 06:13:34 +00:00
Jörg Thalheim 5bdbb76096
Merge pull request #229 from MagicRB/support-other-caches
Generalize Cachix support to `post_build_steps`
2024-07-19 17:27:23 +02:00
Jörg Thalheim 69f357021e
nix/master: describe how to inject secrets. 2024-07-19 17:16:48 +02:00
magic_rb 8a6d34b83c Create gcroots on skipped builds too
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-19 15:09:38 +00:00
magic_rb e99623b2f6
Generalize Cachix support to post_build_steps
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-18 17:39:36 +02:00
Jörg Thalheim 0b301f0782 switch to www package back 2024-07-14 04:50:23 +02:00
Jörg Thalheim 5163434da6 github/reporter: use properties to render github secret 2024-07-14 02:48:29 +00:00
Jörg Thalheim e8a88f8f15 use nixos options instead of nixpkgs overlay
The overlay will break if buildbot in unstable will change it's python
override in nixpkgs.
This will happen in the next release when sqlalchemy will be update.

Also I have at least three installations where I share nixpkgs instances
across multiple nixos configuration for performance reasons,
where I cannot use overlays defined in a NixOS module.
2024-07-14 02:48:29 +00:00
Jörg Thalheim 6efd536381 remove unused fixPatch 2024-07-14 02:48:29 +00:00
magic_rb c3346978d5 Support per installation tokens directly in GitHubStatusPush
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-14 02:48:29 +00:00
magic_rb 4b8c544db8 Vendor buildbot from the nixpkgs input (nixpkgs-unstable-small)
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-14 02:48:29 +00:00
zowoq 8678bdf73b drop pre 24.05 patch 2024-07-12 11:31:30 +00:00
Jörg Thalheim 6dab953092 change type of buildRetries to int that allows 0 values 2024-07-09 12:02:34 +02:00
Jörg Thalheim 701a5ac400 add build retries nixos option 2024-07-09 09:29:57 +00:00
zowoq d1d3746aa7 remove boot workaround
partial revert of b2ed2ccacc
2024-07-06 06:54:52 +00:00
Jörg Thalheim 83849e86f8 allow secretKeyFile to be a path 2024-06-25 16:42:24 +02:00
zowoq 1912618053 remove github.user 2024-06-14 14:35:31 +00:00
magic_rb 4f6d08a33d Improve Nix code and docs
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb d586b9155b Fix examples and checks
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:40 +00:00
magic_rb 067f3e0fc1 Add GitHub App support
Signed-off-by: magic_rb <richard@brezak.sk>
2024-06-07 08:16:39 +00:00
zowoq b35d937c0c master: on-failure -> always 2024-05-10 06:24:18 +00:00
Dionysis Grigoropoulos 21804ebc84 master: Add config to force https for the endpoint 2024-05-09 18:28:56 +00:00
Jörg Thalheim 2f389003e6 webhookBaseUrl: avoid redundant string interpolation 2024-05-08 20:00:55 +00:00
Andreas Fuchs 760aec7e07 Make the webhook endpoint URL configurable
In some CI setups, the URL to access the CI server differs from the
URL that the (external) webhook endpoint listens on. This change
introduces an option webhookBaseUrl that allows setting that URL
independently from the buildbot installation URL.
2024-05-08 20:00:55 +00:00
Jörg Thalheim 6ae08b645c make it possible to disable github 2024-04-30 17:32:40 +02:00
magic_rb 3f01a96147 Add Gitea backend
Signed-off-by: magic_rb <richard@brezak.sk>
2024-04-29 18:30:15 +02:00
magic_rb 1605d2d3c2 Remove assumption of GitHub being the only forge
Signed-off-by: magic_rb <richard@brezak.sk>
2024-04-29 18:29:35 +02:00
Jörg Thalheim b2ed2ccacc master: add workaround if github is not present during boot 2024-04-29 18:16:10 +02:00
Jörg Thalheim cd977bb378 re-introduce buildbot patch for old buildbot versions 2024-03-21 10:50:37 +01:00
Jörg Thalheim 298fe5a72a Revert "drop buildbot secret patch"
This reverts commit c23b6e3c5f.
2024-03-21 10:42:37 +01:00
Jörg Thalheim 3c1e2c0e76 cleanup drv gcroots after a build 2024-01-15 13:17:19 +00:00
Jörg Thalheim 9f889624aa fix syntax error if cachix is disabled 2023-12-26 17:08:26 +01:00
Jörg Thalheim f56e43267d expose cachix options explictly 2023-12-24 07:10:01 +00:00
Jörg Thalheim d0a378ef49 buildbot-nix: fix evalWorkerCount == null 2023-12-18 16:19:10 +01:00
Jörg Thalheim a13cd78a1c drop prometheus exporter again
User can add this themself
2023-12-08 11:11:48 +00:00
Jörg Thalheim c23b6e3c5f drop buildbot secret patch 2023-12-08 11:11:48 +00:00
Jörg Thalheim cbe4ce0571 move extraConfig into configurator
extraConfig can be only set once. By moving it to the configurator we allow users to set this option themself.
2023-12-08 11:11:48 +00:00
zowoq c27ab31330 remove unused plugins 2023-11-25 10:19:06 +10:00
Jörg Thalheim 3c1cf982ad switch to ensureDBOwnership for buildbot 2023-11-18 09:17:52 +01:00
Jörg Thalheim 5b4ddd014c make evalWorkerCount configurable 2023-11-12 07:23:35 +01:00
zowoq 0b145d91d8 master: add prometheus metrics 2023-11-10 13:49:14 +01:00
Jörg Thalheim 4acc8695e1 fix tmpfiles.rules for outputsPath 2023-11-04 11:32:16 +01:00
Jörg Thalheim 333cd055c1 disable default schedulers defined in nixos 2023-11-04 11:27:12 +01:00
Jörg Thalheim ecaafe61b4 make nginx output paths optional 2023-11-04 11:21:36 +01:00
Jörg Thalheim fe70af3ad6 nixos/master: make buildbot a system user 2023-11-04 09:19:56 +01:00
Jörg Thalheim 4966c611aa add buildbot_nix as a python package to buildbot 2023-10-31 11:35:35 +01:00