Commit graph

364 commits

Author SHA1 Message Date
Jörg Thalheim fe1909ce5c replace black with ruff 2023-11-18 09:17:51 +01:00
Jörg Thalheim 47ea2c1825 bump flake dependencies 2023-11-18 09:17:51 +01:00
Jörg Thalheim 0c087c78a6
Merge pull request #38 from Mic92/fixes
fix conditionals when skipping cached builds
2023-11-18 07:10:24 +01:00
Jörg Thalheim 392329ea71 fix conditionals when skipping cached builds 2023-11-18 07:02:34 +01:00
Jörg Thalheim f159440830
Merge pull request #37 from Mic92/fixes
skip cached builds
2023-11-17 18:13:37 +01:00
Jörg Thalheim 37372c90da skip cached builds 2023-11-17 18:04:27 +01:00
Jörg Thalheim 9ddcbcb918 README: mention oauth credentials 2023-11-17 16:29:28 +01:00
Jörg Thalheim 01b1e50bea
Merge pull request #34 from Mic92/fixes
Simplify retry, fix github avatars, make evalWorkerCount configurable
2023-11-12 07:30:08 +01:00
Jörg Thalheim 5b4ddd014c make evalWorkerCount configurable 2023-11-12 07:23:35 +01:00
Jörg Thalheim c477a14d1a fix github avatar authentication 2023-11-12 07:23:23 +01:00
zowoq 8dbd6a2101 prefix scheduler names with project.id 2023-11-11 15:10:13 +00:00
Jörg Thalheim 1719bf1810 make eval lock exclusive
looks like maxCount doesn't quite work
2023-11-11 15:10:13 +00:00
Jörg Thalheim 4d71870239
Merge pull request #27 from Mic92/fixes
Also pass GITHUB_TOKEN to AvatarGithub
2023-11-10 17:24:47 +01:00
Jörg Thalheim 524c8fd150 buildbot-nix: limit evaluation to one job per worker 2023-11-10 14:30:09 +01:00
zowoq 2a565a8d5a pad worker numbering 2023-11-10 13:49:24 +01:00
zowoq 0b145d91d8 master: add prometheus metrics 2023-11-10 13:49:14 +01:00
Jörg Thalheim abdff1d927 also pass GITHUB_TOKEN to AvatarGithub 2023-11-09 08:52:46 +01:00
Jörg Thalheim f7573d02bc make sure update-flake has a github project field set 2023-11-09 08:52:46 +01:00
Jörg Thalheim 30b8d7b090 Configurator: make sure all config values have defaults set before hand 2023-11-09 08:52:46 +01:00
Jörg Thalheim 0ec8fcd740
Merge pull request #29 from flokli/update-comment-nix-eval-jobs
buildbot_nix: update comment
2023-11-08 23:28:40 +01:00
Florian Klink 5b3f986a29 buildbot_nix: update comment
This doesn't invoke nix-instantiate anymore, but
`nix-eval-jobs --flake .#checks`.
2023-11-08 15:31:14 +02:00
Jörg Thalheim 7998338b3b document github support 2023-11-06 06:35:09 +00:00
Jörg Thalheim 1679eadca6 examples: add outputsPath 2023-11-06 06:35:09 +00:00
Jörg Thalheim 9884c25e94
Merge pull request #24 from Mic92/fixes
add integration test for worker
2023-11-04 13:54:54 +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 3bf9f399f9
Merge pull request #23 from Mic92/fixes
set treeStableTimer; fix tmpfiles.rules for outputsPath
2023-11-04 12:20:34 +01:00
Jörg Thalheim 0e52cdf81f buildbot: set treeStableTimer
Otherwise we build every commit
2023-11-04 12:14:53 +01:00
Jörg Thalheim 4acc8695e1 fix tmpfiles.rules for outputsPath 2023-11-04 11:32:16 +01:00
Jörg Thalheim fae171ca3f
Merge pull request #22 from Mic92/fixes
nixos/master: make buildbot a system user
2023-11-04 11:29:31 +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 8df1b9a293
Merge pull request #21 from Mic92/fixes
buildbot: switch to extra-allowed-users
2023-11-04 08:57:34 +01:00
Jörg Thalheim 35a8ad6354 buildbot: switch to extra-allowed-users 2023-11-04 08:44:15 +01:00
Jörg Thalheim bdd9673d0a
Merge pull request #20 from qowoz/hook
remove extra slash from webhook url
2023-11-04 08:40:09 +01:00
zowoq 3551cb6bef remove extra slash from webhook url 2023-11-04 13:47:55 +10:00
Jörg Thalheim c6e90dbc4a
Merge pull request #18 from Mic92/fixes
drop setuptools from PYTHONPATH
2023-10-31 11:51:06 +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 a65ad19e93 flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
  → 'github:hercules-ci/flake-parts/f76e870d64779109e41370848074ac4eaa1606ec' (2023-10-29)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c' (2023-10-25)
  → 'github:Nixos/nixpkgs/90e85bc7c1a6fc0760a94ace129d3a1c61c3d035' (2023-10-29)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/aae39f64f5ecbe89792d05eacea5cb241891292a' (2023-10-15)
  → 'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27)
2023-10-31 10:48:06 +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
Jörg Thalheim 7b5a5bd052
Merge pull request #16 from Mic92/fixes
fix jobs filter
2023-10-27 11:47:03 +02:00
Jörg Thalheim 25fe8ed9ae fix jobs filter 2023-10-27 11:45:54 +02:00
Jörg Thalheim d16fbb0f71
Merge pull request #15 from phaer/fixes
small fixes
2023-10-27 11:12:47 +02:00
Jörg Thalheim 9f2ec133e1 use rstrip to remove trailing newlines 2023-10-27 09:11:40 +00:00
phaer 9ad17c646b fmt 2023-10-27 09:11:40 +00:00
phaer c7b360eb16 pass project name for forced builds 2023-10-27 09:11:39 +00:00
phaer 2edf6860b0 allow github projects with "." in their name 2023-10-27 09:11:39 +00:00
phaer eac9acc041 only activate github auth if no other is active 2023-10-27 09:11:39 +00:00
phaer 10db40a5a8 worker: actually use cfg.masterUrl 2023-10-27 09:11:39 +00:00