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

Question about CI and third-party binary caches. #610

Closed
vic opened this issue May 18, 2023 · 2 comments · Fixed by #627
Closed

Question about CI and third-party binary caches. #610

vic opened this issue May 18, 2023 · 2 comments · Fixed by #627

Comments

@vic
Copy link
Contributor

vic commented May 18, 2023

Hi, I've recently contributed support for the gleam language #602. However, looking at the CI logs it looks like running the gleam example is taking most of the CI time because it has to build gleam and all its rust dependencies from source.

Screenshot 2023-05-18 at 16 41 23

So, I'm thinking of creating a cachix gleam-nix cache and adding a cachix action to the gleam-nix repo, so people and CI can benefit from already built binaries. Now my question is: Suppose I push to this gleam-nix cache from the gleam-nix CI, how could we instruct devenv CI to use that cache, is that possible ?

Any advice is more than appreciated, @domenkozar

@vic
Copy link
Contributor Author

vic commented May 18, 2023

From the devenv-user perspective, I guess it's ok to expect they have to do cachix use gleam-nix, my question is more about devenv's CI perspective.

@vic
Copy link
Contributor Author

vic commented May 19, 2023

What if we could add a trusted substituter via examples/gleam/devenv.yaml, is that already posible? or only via a flake.nix nixConfig.

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 a pull request may close this issue.

1 participant