Open zmrocze opened 8 months ago
needs documentation
i would separate the two effects since the abstraction is too complicated, there are significant differences, and there is still repetition.
I'd also add mkCachixPushEffect
and mkAtticPushEffect
functions.
@brainrake what if instead type
would take a list, i.e.: types = ["attic" "cachix"]
?
How it is currently I agree that the effect should be split into two effects.
Motivation
We want to push some paths to either the cachix or attic cache, additionaly to the cache configured for herculesCI. We discussed it recently on mlabs slack. If you guys would be interested here's a module doing that to be used like below:
it's a flake-parts module producing effects under
herculesCI.onPush.default.outputs.effects.populate-cache-effect
option.Questions
It works. But I don't understand the structure of this repository, so I'd like to ask first how to incorporate that into the codebase:
attic-client-pkg
cachix-pkg
Maintainer checklist