feat: enable per-worker local store slots #24

Open
raito wants to merge 20 commits from local-stores into main
Owner

This is reinventing badly the Nix remote building scheduling protocol. We don't have the choice as we are trying to pass --store which forces us to know which target we are looking at.

This is reinventing badly the Nix remote building scheduling protocol. We don't have the choice as we are trying to pass `--store` which forces us to know which target we are looking at.
Signed-off-by: Raito Bezarius <raito@lix.systems>
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>
It expected a `str`, not a `PosixPath`.

Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
The way to use Buildbot jobs without Flakes is via `.ci/buildbot.nix`.

Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
Signed-off-by: Raito Bezarius <raito@lix.systems>
@ -581,0 +698,4 @@
"--store",
build_store,
"--eval-store",
"ssh-ng://localhost",
Owner

does this require trusted user on localhost? or wait, are we doing this to prevent needing trusted user while still doing remote builds? am confuse

does this require trusted user on localhost? or wait, are we doing this to prevent needing trusted user while still doing remote builds? am confuse
Author
Owner

no, it doesn't anymore!

no, it doesn't anymore!
Author
Owner

(and yes, that's correct, that's untrusted remote building!)

(and yes, that's correct, that's untrusted remote building!)
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin local-stores:local-stores
git switch local-stores

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff local-stores
git switch local-stores
git rebase main
git switch main
git merge --ff-only local-stores
git switch local-stores
git rebase main
git switch main
git merge --no-ff local-stores
git switch main
git merge --squash local-stores
git switch main
git merge --ff-only local-stores
git switch main
git merge local-stores
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Depends on
#23 feat: non-flakes entrypoint
lix-project/buildbot-nix
Reference: lix-project/buildbot-nix#24
No description provided.