Commit graph

67 commits

Author SHA1 Message Date
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
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
Jörg Thalheim b33d7e5a3e drop nix_update_flake_config pipeline
This is better offloaded to tools like dependabot/renovatebot.
I will probably work on integrate the latter one.
2023-12-03 15:10:16 +00:00
Jörg Thalheim e4965e5540 worker: don't kill service when a process takes too much RAM 2023-11-30 09:14:19 +01:00
zowoq b50b9ededa remove unused plugins 2023-11-26 09:00:43 +01:00
Jörg Thalheim 3c1cf982ad switch to ensureDBOwnership for buildbot 2023-11-18 09:17:52 +01:00
Jörg Thalheim fe1909ce5c replace black with ruff 2023-11-18 09:17:51 +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 19d2d512f0 add integration test for worker 2023-11-04 13:50:23 +01:00
Jörg Thalheim 21a9864cd7 create gcroots directory for buildbot 2023-11-04 13:50:23 +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 35a8ad6354 buildbot: switch to extra-allowed-users 2023-11-04 08:44:15 +01:00
Jörg Thalheim 4966c611aa add buildbot_nix as a python package to buildbot 2023-10-31 11:35:35 +01:00
Jörg Thalheim 7d317826c0 drop setuptools from PYTHONPATH
fixed in nixpkgs in https://nixpk.gs/pr-tracker.html?pr=263963
2023-10-30 10:53:44 +01:00
phaer 10db40a5a8 worker: actually use cfg.masterUrl 2023-10-27 09:11:39 +00:00
Jörg Thalheim 7c96e552a3 fix tests 2023-10-27 09:58:10 +02:00