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

Optimize CI times #311

Merged
merged 3 commits into from
Oct 9, 2024
Merged

Optimize CI times #311

merged 3 commits into from
Oct 9, 2024

Conversation

srid
Copy link
Member

@srid srid commented Oct 9, 2024

nixci-deps has been rebuilding all this time. This PR makes it build only when nixci itself changes. The trick is to move OMNIX_SOURCE build dep to omnix-cli.

In future, we want to figure out a better to avoid build-depending on the source tree, especially after upstreaming omnix to nixpkgs.

... when OMNIX_SOURCE changes (which it does in almost every commit)
We cache these flakes locally anyway.
@srid srid merged commit 8fe1c1f into main Oct 9, 2024
3 of 5 checks passed
@srid srid deleted the nixci-rebuild-fix branch October 9, 2024 21:20
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

Successfully merging this pull request may close these issues.

1 participant