Commit graph

103 commits

Author SHA1 Message Date
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
Paul Haerle 9ad17c646b fmt 2023-10-27 09:11:40 +00:00
Paul Haerle c7b360eb16 pass project name for forced builds 2023-10-27 09:11:39 +00:00
Paul Haerle 2edf6860b0 allow github projects with "." in their name 2023-10-27 09:11:39 +00:00
Paul Haerle eac9acc041 only activate github auth if no other is active 2023-10-27 09:11:39 +00:00
Paul Haerle 10db40a5a8 worker: actually use cfg.masterUrl 2023-10-27 09:11:39 +00:00
Paul Haerle 44486f6633 skip github projects without sufficient perms 2023-10-27 09:11:39 +00:00
Paul Haerle a758cb41ca fix: also set repos if not cached 2023-10-27 09:11:38 +00:00
Paul Haerle f14619f0df strip read secrets 2023-10-27 09:11:38 +00:00
Paul Haerle 4ae3ef7ca7 make buildbot_nix a python module 2023-10-27 09:11:38 +00:00
Jörg Thalheim 850233c1f0
Merge pull request #14 from Mic92/fixes
add patch to make systemd LoadCredential work again
2023-10-27 11:04:47 +02:00
Jörg Thalheim b69e22270f disable aarch64-linux for now
getting some weird setuptools import error
2023-10-27 11:04:05 +02:00
Jörg Thalheim 7c96e552a3 fix tests 2023-10-27 09:58:10 +02:00
Jörg Thalheim 25f210a21a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/12bdeb01ff9e2d3917e6a44037ed7df6e6c3df9d' (2023-10-15)
  → 'github:Nixos/nixpkgs/75a52265bda7fd25e06e3a67dee3f0354e73243c' (2023-10-25)
2023-10-27 08:41:36 +02:00
Jörg Thalheim 510cbe6a24 add dependabot && flake update 2023-10-27 08:34:04 +02:00
Jörg Thalheim 0732e17b14 add patch to make systemd LoadCredential work again 2023-10-27 08:29:34 +02:00
Jörg Thalheim fcf58ff31b flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/7f53fdb7bdc5bb237da7fefef12d099e4fd611ca' (2023-09-01)
  → 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03)
• Updated input 'nixpkgs':
    'github:Nixos/nixpkgs/01441e14af5e29c9d27ace398e6dd0b293e25a54' (2023-10-11)
  → 'github:Nixos/nixpkgs/12bdeb01ff9e2d3917e6a44037ed7df6e6c3df9d' (2023-10-15)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/e951529be2e7c669487de78f5aef8597bbae5fca' (2023-09-21)
  → 'github:numtide/treefmt-nix/aae39f64f5ecbe89792d05eacea5cb241891292a' (2023-10-15)
2023-10-27 08:29:34 +02:00