debian-forge/schutzbot
Christian Kellner ae0680da11 osbuid: integrate FsCache into ObjectStore
Integrate the recently added file system cache `FsCache` into our
object store `ObjectStore`. NB: This changes the semantics of it:
previously a call to `ObjectStore.commit` resulted in the object
being in the cache (i/o errors aside). But `FsCache.store`, which
is now the backing store for objects, will only commit objects if
there is enough space left. Thus we cannot rely that objects are
present for reading after a call to `FsCache.store`. To cope with
this we now always copy the object into the cache, even for cases
where we previously moved it: for the case where commit is called
with `object_id` matching `Object.id`, which is the case for when
`commit` is called for last stage in the pipeline. We could keep
this optimization but then we would have to special case it and
not call `commit` for these cases but only after we exported all
objects; or in other words, after we are sure we will never read
from any committed object again. The extra complexity seems not
worth it for the little gain of the optimization.
Convert all the tests for the new semantic and also remove a lot
of them that make no sense under this new paradigm.

Add a new command line option `--cache-max-size` which will set
the maximum size of the cache, if specified.
2022-12-09 12:03:40 +01:00
..
ci_details.sh tests: run tests on RHEL-9.1 and 8.7 nightly 2022-07-16 18:59:06 +02:00
deploy.sh tests: Update OSBUILD_COMPOSER_COMMIT for testing on Fedora 36 2022-07-25 15:58:43 +02:00
manifest_tests.sh osbuid: integrate FsCache into ObjectStore 2022-12-09 12:03:40 +01:00
mockbuild.sh schutzbot/mockbuild: stop running mock as root 2022-10-17 18:36:02 +02:00
RH-IT-Root-CA.keystore tests/ci: add sonarqube scan 2022-01-25 13:23:36 +02:00
sonarqube.sh tests/ci: fix sonarqube analysis for main branch 2022-02-04 12:57:36 +02:00
team_ssh_keys.txt schutzbot: remove ssh keys of team member that left us 2022-01-06 09:18:17 +01:00
terraform ci: use the latest terraform to fix missing images 2022-11-29 11:49:51 +01:00
update_github_status.sh ci: add Gitlab CI 2021-06-30 19:54:37 +02:00