Commit graph

150 commits

Author SHA1 Message Date
Yureka 4a162a8aa5 fixup! randomly pick a builder and pass it as --store 2024-08-06 12:19:23 +02:00
Yureka 4a7a9f837a fixup! randomly pick a builder and pass it as --store 2024-08-06 11:43:59 +02:00
Yureka d21f406a25 randomly pick a builder and pass it as --store 2024-08-06 10:54:44 +02:00
Yureka 15963fa0e6 fix error: builtins.TypeError: object of type 'int' has no len() 2024-07-30 13:38:27 +02:00
Yureka 8f5ad30cb7 fixup! fix(build): use per-worker slot store 2024-07-28 20:18:12 +02:00
Yureka 3c903f14c2 fixup! fix(build): use per-worker slot store 2024-07-22 23:59:00 +02:00
Yureka e9ffeaa599 fixup! fix(build): use per-worker slot store 2024-07-22 23:37:56 +02:00
raito 7bfbd227b6 fixup! fix(build): use per-worker slot store 2024-07-22 23:20:05 +02:00
raito 22d9eeef79 fixup! fix(build): use per-worker slot store 2024-07-22 23:15:15 +02:00
raito de4ae582c8 fixup! fix(build): use per-worker slot store 2024-07-22 23:10:33 +02:00
raito 56519a81c3 fix(build): use per-worker slot store
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-22 23:00:22 +02:00
raito 8121e24f44 fix(eval): event.change.project is also a buildprop for project name
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-22 22:42:35 +02:00
raito 7e9efd267d feat(debug): add manhole debugging
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-22 14:36:23 +02:00
raito fc31cad998 fixup! fix(eval): event.refUpdate.project instead of event.project 2024-07-22 14:36:06 +02:00
raito 5b7bc4bac6 feat(eval): in case of total failure, do not derivation show
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 18:44:29 +02:00
raito 18a122a8f6 fix(eval): event.refUpdate.project instead of event.project
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 18:44:20 +02:00
raito baa085302d fix(args): pass the right string
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 01:09:59 +02:00
raito a0c79298c6 fix(buildbot-name): nix_configure → determining jobs
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 01:06:48 +02:00
raito 86a6d98642 fix(properties): use getProperty
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 01:06:23 +02:00
raito a686aef690 fix(ret): return success and write \n
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 01:01:24 +02:00
raito 64e405b228 fix(steps): add *steps* not *step*
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 00:57:14 +02:00
raito f4e23bb4d6 fix(workdir): rebase in build/ for ShellMixin
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 00:54:12 +02:00
raito e206bb1a80 feat(nix-configure): name it
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 00:51:28 +02:00
raito 17c5ea107a fix(log): add the stdio log if it doesn't exist
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-20 00:33:44 +02:00
raito adedb36cb6 fix(gerrit): pass properly the ssh private key and not its path
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 23:38:51 +02:00
raito bc3fb8f399 fix(gerrit): repourl was not formatted
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 23:04:20 +02:00
raito 8c47b2ce23 fix(sshkey): PosixPath does not play well with Buildbot APIs
It expected a `str`, not a `PosixPath`.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 23:01:17 +02:00
raito a822231580 feat: support non-flake entrypoint
The way to use Buildbot jobs without Flakes is via `.ci/buildbot.nix`.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 23:00:54 +02:00
raito b282fa5ca7 chore(dataclass): use default_factory
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito a4613f8ce6 chore(security): clean up accept-flake-config mistakes
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito 9d457e6e02 chore(builders): localize builders specification like Hydra does
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito 6584d7ebbc chore(entrypoint): hydraJobs → buildbotJobs
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito 915b1d0d61 chore(reporters): make it 3.11+ (and 4.0) compatible!
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito d23c8831b9 fix(gerrit): make buildbot able to read the priv ssh key
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito 5ae6beece9 chore(origins): expose in a cuter way allowed origins
Worked around in our original deployment, here's a nicer way to set it.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-07-19 19:24:33 +02:00
raito d5e3345097 chore(schedule): generalize source
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 21:03:58 +02:00
raito 8dd3d67735 chore(review-callback): generalize the event project name
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 20:26:42 +02:00
raito 98b5d1ed27 chore(nix-eval): generalize the builds_scheduler_group by project
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 20:26:28 +02:00
raito fd058a5022 chore(nix): make the target attribute a constant
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 20:11:12 +02:00
raito f647440f86 chore(gerrit): put the gerrit configuration in one place and generate repo URLs templates
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 20:10:52 +02:00
raito b417cd4519 chore(canceller): generalize it to any project
Just iterate over all project names.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 19:57:12 +02:00
raito 87a9b9df01 chore(auth): generalize authentication method to internals of NixOS module
This makes it easier to make it configurable, this is step 1.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 19:52:55 +02:00
raito 914c28af91 chore(*): cleanup unused code
Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 19:39:35 +02:00
raito 2a7b42ef6b chore(gerrit): offer projects configuration and factor out private SSH keys
Previously, we needed to hardcode the URL for private SSH keys,
this is cleaned up and we can iterate over each project for its
configuration.

Configuration is at deployment time.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 19:39:16 +02:00
raito f221ab324e chore(web): remove outputsPath option
It was relying on GitHub stuff which we don't have and is not an option
we want to support.

If we wanted to do it, we would rather use S3 directly.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 19:37:46 +02:00
raito 7b2fc73c78 chore(statuses): clarify why we don't use {start, summary}CB
Instead of just commenting them out.

Signed-off-by: Raito Bezarius <raito@lix.systems>
2024-05-06 18:27:38 +02:00
eldritch horrors 131fc792f7 allow worker counts to be set per arch 2024-04-05 15:13:11 +02:00
eldritch horrors daa84f4169 never build on the coordinator
for such cases just add the coordinator as a remote builder.
2024-04-05 14:12:15 +02:00
eldritch horrors 3717bfab04 automatically cancel outdated builds 2024-03-28 03:52:13 +01:00
puck 2eaee8f62b Fix marking jobs as successful if they never finish evaluating. 2024-03-18 00:07:34 +00:00