-
Notifications
You must be signed in to change notification settings - Fork 2
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
Doc with required packages #37
Comments
Hi @MarcAntoine-Arnaud, we have the same issue with openssl, for a very small number of our packages. The simplest solution for the time being is to extend the pre-built docker image with the native libs installed (or create a completely new one if this is not appropriate). Docs.rs has the same problem. I think they use huge images with many pre-installed native libs ; but I'll check again how they handle this. Having a system with specialized workers is a possibility but it complicates the overall architecture (need to think about the interface between the core server and the workers, etc.) I'd like to avoid that if possible. Side note : The same problem arises for uncommon documentation targets. Installing a required target with |
Hi @MarcAntoine-Arnaud , on the master branch it is not possible to use cratery in a master-worker configuration with multiple workers running on different hosts. Documentation generation jobs can then be offloaded to the workers. It is also possible to configure crates to require certain capabilities from worker nodes. Nodes themselves need to explicitly declare those. I think that would fit your use-case of having specific workers with openssl installed and exposing them with an appropriate capability name. Then the relevant crates can be configured (in the admin tab) to require that capability. |
Hi @woutersl , As we deploy with Docker, it's for me not relevant to think on the SSL between worker/master as a private network is enough. I just dit not understand, you mentioned it is not possible, but it seems you have pushed some commits to handle that right ? |
Oops, I meant it is now possible ;) |
In our crates, we have some dependencies to native packages (OpenSSL, FFMpeg).
Builds of the documentation are broken.
What is the best way to install packages ?
The text was updated successfully, but these errors were encountered: