Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Build Matrix #101

Open
angerman opened this issue Sep 11, 2023 · 3 comments
Open

Dynamic Build Matrix #101

angerman opened this issue Sep 11, 2023 · 3 comments
Assignees

Comments

@angerman
Copy link
Collaborator

We currently wait for hydra jobs, and then run a set of pre-defined jobs to build. But it would be better (also ux wise) if we took the hydra jobs, and then generically generated the containers/codespaces. Maybe use a regex to extract the necessary bits, and create a dynamic matrix.

https://www.kenmuse.com/blog/dynamic-build-matrices-in-github-actions/.

To get this right, it somewhat depends on #100.

@angerman angerman self-assigned this Sep 11, 2023
@andreabedini
Copy link
Member

We can use nix-eval-jobs for that. IIRC can point it to a specific attribute to use as root.

@angerman
Copy link
Collaborator Author

@andreabedini yes, we just need to make sure we don't need to build anything 😅

@andreabedini
Copy link
Member

@andreabedini yes, we just need to make sure we don't need to build anything 😅

true :-/ Maybe --option allow-import-from-derivation false can be a fail safe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants