-
Notifications
You must be signed in to change notification settings - Fork 0
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
Shared initialization step? #8
Comments
One idea from JuliaCon BoF on Julia in Production: build a system image of all the dependencies, and invalidate only if the Manifest changes |
We could even do this into a Singularity container? |
I think that would work as long as nothing had to be written to the singularity container during runtime (after build step) |
I think singularity containers are immutable |
How about this:
|
If we could do this with a singleton slurm job instead of as extra logic in the agent I think that would be preferable as it is a bit more flexible. Is this possible with slurm? |
on second thoughts, I agree an explicit extra step would be better. |
Yes, you give it a unique job name (say |
Ok I think this should be straightforward then |
This might be a nice solution: https://github.com/JuliaCI/DepotCompactor.jl/ |
In our old slurmci we have a separate init job that installs the packages and does a round of precompilation. This isn't such an issue with buildkite as agents have a cache that they can use (reducing the need to reinstall packages), but if we wanted to do something like this we would need a way to share the initialized cache between the downstream agents.
The text was updated successfully, but these errors were encountered: