Open mokuki082 opened 6 years ago
Investigate the application of Hydra https://nixos.org/hydra/ for usage of building container images and archives. It also has a paper, but apparently out of date. The manual is more up to date.
It may be difficult to bind into a complex system as hydra as it is not a library. So maybe we can take ideas and break it down to just what we need.
Buildkit takes Dockerfile source and produces LLB (intermediate binary format), and executes the intermediate binary format (somehow...)
LLB is defined via protobuf protocol. We can use autogeneration for marshalling and unmarshalling haskell libraries to deal with this. A possible opportunity is to convert Nix expressions into LLB, instead of directly using Dockerfiles. Remember that this depends on the market. If the market wants to use Dockerfiles, then we support this.
Here is a note on CI/CD with no implementation details
Next step is to look into Hydra and how CI/CD is actually implemented.
Map test stages to Matrix Forge