← Back to context

Comment by poidos

12 hours ago

Love sourcehut and want to see them succeed, but their build service (despite having some very cool ideas like allowing you to SSH into your build container) is pretty barebones / lacking compared to GH/GitHub actions. You either get no task parallelism (all your tasks are in one manifest) or you get up to N=4 parallelism (you have four manifests). As far as I can tell, you can’t specify job dependencies beyond just “when this job finishes, trigger this next job by deploying a manifest”. No build caching, and artifact sharing felt like a kludge.

OTOH, the nice thing about a minimalist build system is it forces you to solve these problems yourself, in a way that’s broadly compatible with any provider: for me, nix builds, cache with cachix, and use gnu parallel for running concurrent jobs.

Means that my CI pipeline can be ~instantly moved to any provider, or a box that I own, or whatever.