Tonis Tiigi
9a5dff09b5
vendor: update to containerd v2.1.1
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-05-21 09:09:33 -06:00
Marat Radchenko
5be7edb69c
Upgrade to containerd 2
...
Co-authored-by: Derek McGowan <derek@mcg.dev >
Signed-off-by: Marat Radchenko <marat@slonopotamus.org >
2025-01-13 16:42:48 -08:00
Sebastiaan van Stijn
175973babc
switch to github.com/containerd/platforms module
...
Switch to use github.com/containerd/platforms module, because containerd's
platforms package has moved to a separate module. This allows updating the
platforms parsing independent of the containerd module itself.
The package in containerd is deprecated, but kept as an alias to provide
compatibility between codebases.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2024-07-02 22:59:12 +02:00
Akihiro Suda
67f3e79553
Dedupe "containerd.io/uncompressed" constants and literals
...
Dedupe the several "containerd.io/uncompressed" constants and literals
into `github.com/containerd/containerd/labels.LabelUncompressed`
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-25 03:02:09 +09:00
Tonis Tiigi
8ffc03b8f0
move flightcontrol to use generics
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-06-28 23:44:05 -07:00
Sebastiaan van Stijn
647a2b5892
vendor: github.com/opencontainers/image-spec v1.1.0-rc3
...
full diff: https://github.com/opencontainers/image-spec/compare/3a7f492d3f1b...v1.1.0-rc3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-07 20:54:31 +02:00
Akihiro Suda
d63a2bc4c5
go.mod: github.com/containerd/containerd v1.7.0-beta.3
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-01-29 00:52:17 +09:00
Tonis Tiigi
18ac7f9552
imageutil: validate source on resolving existing blob by digest
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2022-10-18 16:12:32 -07:00
Avi Deitcher
1fe66075b7
Add OCI source
...
Signed-off-by: Avi Deitcher <avi@deitcher.net >
2022-06-15 23:04:11 +03:00
Brian Goff
78bb7137ee
Do not re-tag non-distributable blob descriptors
...
Before this change buildkit was changing the media type for
non-distributable layers to normal layers.
It was also clearing out the urls to get those blobs.
Now the layer mediatype and URL's are preserved.
If a layer blob is seen more than once, if it has extra URL's they will
be appended to the stored value.
On export there is now a new exporter option to preserve the
non-distributable data values.
All URL's seen by buildkit will be added to the exported content.
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2022-02-10 01:12:42 +00:00
Koichi Shiraishi
671ae38fb7
all: unify the specs-go package import alias to ocispecs
...
ocispecs means "O"pen "C"ontainer "I"nitiative image-spec/"specs"-go/v1
opencontainers /image-spec/specs-go/v1
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com >
2021-08-11 08:29:09 +09:00
Tonis Tiigi
f269d00f28
new implementation for limiting tcp connections
...
The previous implementation had many issues. Eg. on fetch, even if
the data already existed and no remote connections were needed
the request would still be waiting in the queue. Or if two fetches
of same blob happened together they would take up two places in queue
although there was only one remote request.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-07-14 20:41:02 -07:00
Tonis Tiigi
a558ac4cce
add per domain semaphore to limit concurrent connections
...
This is a safer alternative until we figure out why
http.Transport based limiting fails.
Some connections like cache export/import do not have a
domain key atm and these connections use global pool.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2021-07-13 14:08:03 -07:00
Tonis Tiigi
cf8babde54
progress: refactor logger handler to better reuse
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-11-15 13:33:58 -08:00
Tonis Tiigi
aa29e77294
fix import cycle in integration test pulls
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-11-11 21:21:08 -08:00
Tonis Tiigi
ffe71a1ea9
add retry handlers to push/pull
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-11-11 20:39:01 -08:00
Tonis Tiigi
e3b05289d8
add session injection to remote loading
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-11-02 22:20:44 -08:00
Tonis Tiigi
6a3d6e983b
source: fix puller error caching on cancellation
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-10-27 13:21:49 -07:00
Tonis Tiigi
f1cd79bf65
resolver: add better pooling and custom authenticator
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-08-13 17:27:11 -07:00
Erik Sipsma
926ca1804c
pull: de-pointer non-optional platform field
...
Signed-off-by: Erik Sipsma <erik@sipsma.dev >
2020-08-05 17:18:43 -07:00
Erik Sipsma
cdcf49fd18
Fix progress in schema1 pull.
...
Signed-off-by: Erik Sipsma <erik@sipsma.dev >
2020-08-05 17:18:43 -07:00
Erik Sipsma
55cbd19dec
Add support for lazily-pulled blobs in cache manager.
...
This allows the layers of images to only be pulled if/once they are actually
required.
Signed-off-by: Erik Sipsma <erik@sipsma.dev >
2020-08-05 17:18:43 -07:00
Tonis Tiigi
5da4a40ae8
lint: enable more linters
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-07-19 09:28:36 -07:00
Tonis Tiigi
37b8832d00
upgrade errors checks to Is()
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-04-18 22:53:38 -07:00
Tonis Tiigi
6be136db6e
cleanup unused code
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-10-16 10:33:01 -07:00
Tonis Tiigi
688e2c2272
cache: update components to new lease based cache manager
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-10-16 10:32:04 -07:00
Tonis Tiigi
481d39c176
add cross-repo push support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-08-22 17:25:13 -07:00
Tonis Tiigi
42cd080667
imageutil: keep config and manifest lease for time based cache
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-05-28 19:18:56 -07:00
Tonis Tiigi
8e25187cc7
pull: fix content blobs deletion on pull race
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2019-05-28 14:39:05 -07:00
Derek McGowan
edd603e4cd
Update containerd vendor
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2019-02-13 11:03:48 -08:00
Tonis Tiigi
89e8097d4c
fix setting uncompressed label on content
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-10-08 23:11:25 -07:00
Tonis Tiigi
301da72ce3
misspell fixes
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-09-18 22:06:38 -07:00
Derek McGowan
279a144686
Update containerd vendor
...
Picks up platform changes
Signed-off-by: Derek McGowan <derek@mcgstyle.net >
2018-08-28 14:26:14 -07:00
Tonis Tiigi
6be1257f5d
export: manifest list support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-07-25 16:01:12 -07:00
Tonis Tiigi
e1471c5682
pull: do not send duplicate status for completed jobs
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-07-03 12:14:09 -07:00
Tonis Tiigi
f9383c48a3
source: image source platform support
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-06-25 10:39:17 -07:00
Akihiro Suda
47a00b84fe
update containerd library
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2018-06-08 21:44:17 +09:00
Akihiro Suda
d22e5a1721
split puller from source/containerimage into util/pull
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp >
2018-05-18 06:14:06 +09:00