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

Suggestion: cache result of configuration checks #303

Open
StoicDeveloper opened this issue Nov 15, 2024 · 0 comments
Open

Suggestion: cache result of configuration checks #303

StoicDeveloper opened this issue Nov 15, 2024 · 0 comments

Comments

@StoicDeveloper
Copy link

When deploying all profiles within a flake, I've noticed that a long time can be spent checking the various nixos configurations. The tool nixos-rebuild will cache failures, and not attempt rebuilding a configuration if it has not been changed since the last build failure. Would it be possible to do something similar with deploy-rs? Currently I use --skip-checks a lot when deploying small changes, since running the checks takes an unfeasible amount of time, even when large parts of the config have no changes, such that their validity is guaranteed.

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

1 participant