ocurrent / obuilder

Experimental "docker build" alternative using btrfs/zfs snapshots
Apache License 2.0
61 stars 18 forks source link

Add obuilder store that doesn't cache anything #181

Open tmcgilchrist opened 8 months ago

tmcgilchrist commented 8 months ago

In some circumstances like running obuilder inside docker, it is faster and more efficient to cache nothing. For example when running ocaml-docs-ci inside a docker container we use the rsync backend (because other backends are not easy to setup) to run builds. Running them using rsync is much slower than just redoing the work. It should be possible to implement module type STORE as a no-op cache, which does nothing.