What do you expect the NixOS Github Action Runner Image to have?

What do you expect the NixOS Github Action Runner Image to have?

  • Nothing and be a very minimal Image then you can use nixpkgs.
  • Included Tools by Default (examples like rust, python, go, others…)
0 voters

This is for GitHub Actions Runner Images: Feature a NixOS Image

1 Like

Nothing is happening, I don’t understand why you’re building up hype when nothing has been delivered or even confirmed.

1 Like

I am getting community opinion first before doing a image so that I can do it collaborative with @Malix, GitHub employee that knows info and maybe others. So that we are not rushing to get this image out and actually get a proper approval.

I hope this clears up your question.

Are you part of the Actions team at GitHub, like, are you a GitHub employee? I don’t understand…

I am not, however I do know a couple of people from nix-windows work that I have done. Like @JamieMagee which I have sent a message to see if they are interested.

I don’t think there is any point of doing anything until there’s concrete confirmation from GitHub.

btw, you can’t delete a post, just edit.

2 Likes

I would like if it had good support for caching nix store paths. I have used GHA before to build my systems but it felt wrong hitting cache.nixos.org everytime for gigs of paths.

2 Likes

E.g, Hestia? Or do you mean a global cache like the Garnix one?

GitHub Actions are Ephemeral VMs, by design

You can use GitHub Action Cache for this, which you can use through GitHub - DeterminateSystems/magic-nix-cache: Save 30-50%+ of CI time without any effort or cost. Use Magic Nix Cache, a totally free and zero-configuration binary cache for Nix on GitHub Actions. · GitHub

Unfortunately for me, I have experienced the exact opposite with DeterminateSystems/magic-nix-cache and I have some issues on the repo that have still yet to be addressed. It generally adds CI time, exponentially, in some cases turning a 2min action into 30min+.

You also cannot specify more than one cache for it to check before trying to cache things, so you are limited to only either cache.nixos.org or your own cache, but not both.

I would recommend using GitHub - Mic92/hestia: Nix binary cache and build matrix for GitHub Actions: eval once, build checks in parallel jobs, deduplicated uploads, automatic GC, zero setup · GitHub instead.

5 Likes

Hestia is pretty good and simple to set up, but I will also mention that oranc is a fun hack and has ~unlimited cache size, and can be consumed by other Nix users, but requires more setup and might violate GitHub TOS if you use it on GHCR.

2 Likes

Could there be a GitHub Action added to the Oranc repository?
I have some weird things I want to try with it

I had this idea one year ago but forgot about it because I thought it would require unreasonable hacks

2 Likes

I checked Hastia when it had 0 stars and wasn’t ready, but I didn’t know it was now full fledged, I might actually try this and compare too, thanks!

2 Likes

It’s not mentioned in the README, but: GitHub - linyinfeng/oranc-action · GitHub!

1 Like