Commit Graph

16 Commits

Author SHA1 Message Date
Tonis Tiigi
03c7a6d769 lint: fix some testifylint warnings
This does not cover all warning yet but split
into chunks to ease review.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2024-05-30 11:32:55 -07:00
JordanGoasdoue
e849b623c9 feat: allow ignoring remote cache-export error if failing
Signed-off-by: JordanGoasdoue <jordan.goasdoue@dailymotion.com>
2022-12-28 15:21:10 +01:00
Justin Chadwell
e8b4f7fc76 test: fix flaky duplicate cache test
Return args order is not guaranteed (since we use a map internally), so
we need to make sure the test does not rely on order of returns.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-11-22 17:56:46 +00:00
Justin Chadwell
621ab1c0af cache: error on duplicate sets of cache options
Previously, we attempted to gracefully resolve duplicate cache export
options, however, we should explicitly error - a client has made an
error if the same options appear twice. If we really want
de-duplication, then clients such as buildx should implement it there.

Signed-off-by: Justin Chadwell <me@jedevc.com>
2022-11-16 12:01:35 +00:00
Tonis Tiigi
5244a14bc2 client: add integration tests
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-19 14:35:57 -07:00
Derek McGowan
94d62fd432 Add context to functions which call snapshotter
Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-06-13 16:10:31 -07:00
Tonis Tiigi
45bcca5c80 control: add diskusage service
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-09 14:49:01 -07:00
Tonis Tiigi
28045f19bf worker: add stdout/stderr to runc worker
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-02 10:20:20 -07:00
Tonis Tiigi
08134677cd worker: runc worker exection
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-06-02 10:20:05 -07:00
Tonis Tiigi
f4695e7b4e blobmapping: account blob size in disk usage
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 16:52:53 -07:00
Tonis Tiigi
1c5dbe562a cachemanager: size reporting in diskusage
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 16:45:04 -07:00
Tonis Tiigi
490ac15654 snapshot: add tracking for content blobs
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-31 15:09:48 -07:00
Tonis Tiigi
fdde46f7ff cachemanager: check pulled snapshot
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-30 14:17:04 -07:00
Tonis Tiigi
ae05d02379 Renames and refactoring
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 23:12:13 -07:00
Tonis Tiigi
35e661faf3 sources: basic pull code
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 22:10:26 -07:00
Tonis Tiigi
58c113167f control: dependencies for pulling with containerd
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2017-05-26 15:15:20 -07:00