Commit graph

88 commits

Author SHA1 Message Date
magic_rb 62e7fc4d88 Actually fix Cachix, attempt 3
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-27 14:14:23 +00:00
Jörg Thalheim f5fd4bf2a8 fix cachix usage 2024-07-26 17:39:07 +00:00
Jörg Thalheim 2620f2cd31
Merge pull request #217 from MagicRB/combined-build-reports-github
Combined build reports GitHub
2024-07-26 13:47:13 +02:00
magic_rb 36ef50e49f
Add check, which catchis silent disabling of cachix
Signed-off-by: magic_rb <richard@brezak.sk>
2024-07-26 12:23:05 +02:00
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 93942c0a66 also introduce buildbotNixpkgs for buildbot-worker module 2024-07-14 16:52:57 +00: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 ffabc831bb
Merge pull request #208 from nix-community/update_flake_lock_action
flake.lock: Update
2024-07-09 11:47:29 +02:00
Jörg Thalheim 701a5ac400 add build retries nixos option 2024-07-09 09:29:57 +00:00
zowoq ff3821bd05 treefmt: update ruff settings 2024-07-09 09:54:08 +10: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
Jörg Thalheim 20c19aca5b gitea: fix status update for pull requests 2024-05-27 15:25:56 +02: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 cb1e2640cd make worker name configurable 2024-04-15 15:17:25 +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 235fb5166d Revert "buildbot: drop secret patch"
This reverts commit e4b55ed8e7.
2024-03-21 10:42:47 +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 b2467c4ac5 typecheck twisted 2024-01-01 15:38:28 +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 e4b55ed8e7 buildbot: drop secret patch
we have to wait until https://github.com/buildbot/buildbot/pull/7159 is
part of a new release.
2023-12-10 10:19:38 +00:00