debian-forge-composer/cmd
Tom Gundersen 6002a128b8 osbuild-worker: don't flush cache between jobs
Until osbuild-14, the images were unconditionally kept in the cache,
meaning the cache could grow very large. Now only the downloaded RPMs
are saved, which greatly limits how big it can grow.

Having the RPMs cached should speed up all but the first image build a
lot, so we should take advantage of that by not flushing the cache
between each build.

The cache is still flushed when the worker is stopped / restarted.

This moves the cache from /var/tmp/osbulid-worker* to
/var/cache/osbulid-worker/osbulid-worker-*. This means that each worker
gets a dedicated cache, in case there are several on one machine. In the
future we may want to combine them and only ever have one cache, but for
that we need improvements in parallel access and cache-cleanup.

Signed-off-by: Tom Gundersen <teg@jklm.no>
2020-06-07 19:22:52 +02:00
..
osbuild-composer distro: drop fedora-30 2020-05-27 16:20:35 +02:00
osbuild-dnf-json-tests rpmmd/RepoConf: rename Id to Name 2020-05-28 00:23:54 +02:00
osbuild-image-tests test/image: move qemu code around 2020-05-15 08:01:53 -05:00
osbuild-koji cmd/koji: add error handling to logout 2020-05-19 13:54:53 +02:00
osbuild-pipeline rpmmd/RepoConf: rename Id to Name 2020-05-28 00:23:54 +02:00
osbuild-rcm-tests tests: Distro is fedora-31 update the repo URL to match 2020-04-29 18:48:51 +02:00
osbuild-store-dump store: verify that old versions of the store can still be unmarshalled 2020-06-03 00:30:01 +02:00
osbuild-tests weldr: Add support for the v1 API to /projects/source/new 2020-06-03 21:24:47 +02:00
osbuild-upload-aws Refactor Azure upload code to a separate package 2019-11-27 12:14:07 +01:00
osbuild-upload-azure cmd/osbuild-upload-azure: improve error message on wrong arguments 2020-04-27 20:34:20 +02:00
osbuild-worker osbuild-worker: don't flush cache between jobs 2020-06-07 19:22:52 +02:00