Commit Graph

3768 Commits (e6c96c80fd1dc0e77dca20e71cd0fcdd66cb17fe)

Author SHA1 Message Date
Tõnis Tiigi e6c96c80fd
Merge pull request #2651 from earthly/vlad/fix-layer-index-upstream
Eliminate auto-removal of empty layers
2022-02-25 11:35:40 -08:00
Erik Sipsma 0692ad7974
Merge pull request #2668 from sipsma/progress-order
Add support for weak ProgressGroup membership.
2022-02-25 11:08:04 -08:00
Erik Sipsma cc1499e6d9 Add support for weak ProgressGroup membership.
A ProgressGroup will now only be displayed if a vertex member marked as
non-weak has started.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-02-25 10:24:15 -08:00
Erik Sipsma 77e383d156 progress: fix check for whether terminal is in use
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-02-25 10:22:56 -08:00
Tõnis Tiigi 6fa5a92c61
Merge pull request #2678 from crazy-max/vendor-moby
vendor: github.com/docker/docker c78f696
2022-02-25 08:52:12 -08:00
Tõnis Tiigi 6fe5f72fb9
Merge pull request #2677 from ktock/zstdtest
test: Ensure testPullZstdImage pulls zstd image
2022-02-25 08:50:24 -08:00
CrazyMax 56af096d7f
vendor: github.com/docker/docker c78f696
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-25 13:44:51 +01:00
Kohei Tokunaga 35f658525b test: Ensure testPullZstdImage pulls zstd image
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-25 17:11:58 +09:00
Tõnis Tiigi b9657e33c6
Merge pull request #2674 from ktock/variantlease
Fix refs ignoring gc labels of contents
2022-02-24 21:06:57 -08:00
Tõnis Tiigi 27cc24a648
Merge pull request #2675 from sipsma/fix-vertex-startstop
progress: use unique id for vertex start/stop
2022-02-24 20:41:23 -08:00
Erik Sipsma a96f9a9f1f progress: use unique id for vertex start/stop
This commit fixes more issues where vertex progress updates were using
the same ID and incorrectly deduplicating with each other. A previous
commit addressed this in solver/jobs.go but the same problem existed
elsewhere.

The update results in a random ID being used for vertex start/stop
events as it is the simplest approach that works everywhere in a
consistent pattern.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-02-24 12:30:41 -08:00
CrazyMax c393d5c66d
Merge pull request #2658 from tonistiigi/inline-cache-progress
show progress when exporting inline cache
2022-02-24 11:33:13 +01:00
Kohei Tokunaga ec09df1198 Fix refs ignoring gc reference labels of contents
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-24 15:19:03 +09:00
Erik Sipsma ff205f9ad9
Merge pull request #2673 from sipsma/no-stargz-hardlink
merge: disable stargz hardlinking
2022-02-23 16:50:13 -08:00
Tõnis Tiigi a99e3181ba
Merge pull request #2669 from tonistiigi/ci-0.10-rc
ci: update buildkit to latest rc
2022-02-23 16:11:29 -08:00
Erik Sipsma d1e6b7d7c9 merge: disable stargz hardlinking
The stargz snapshotter creates separate FUSE mounts for each lazy
snapshot and non-FUSE mounts for newly created local snapshots. This
means that hardlinking during diffApply fails. The code then falls back
to doing a copy, which works fine, but it also results in a ton of debug
logs about the failing hardlinks to be printed. This change just results
in those noisy log lines no longer appearing.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2022-02-23 13:04:41 -08:00
Tõnis Tiigi b0e56cd563
Merge pull request #2654 from crazy-max/buildinfo-contexts
buildinfo: named input contexts support
2022-02-23 12:13:14 -08:00
Tonis Tiigi 8b1a1a054d ci: update buildkit to latest rc
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-23 11:50:03 -08:00
Tõnis Tiigi b124b0c3f1
Merge pull request #2672 from tonistiigi/copy-link-state
dockerfile: fix COPY —link to keep previous llb state
2022-02-23 11:22:13 -08:00
Tonis Tiigi c99126012c dockerfile: fix COPY —link to keep previous llb state
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-23 10:52:23 -08:00
Tõnis Tiigi 9bc409d26b
Merge pull request #2661 from ktock/bklog
Do not drop logger set by containerd
2022-02-23 08:05:22 -08:00
Tõnis Tiigi d24cfa0871
Merge pull request #2670 from ktock/fixrestartpanic
stargz: fix panic on restart
2022-02-23 08:04:12 -08:00
Tõnis Tiigi f5a831c550
Merge pull request #2652 from ktock/sharemounts-cleanup
cache: Clean up temporary mount pool on restart
2022-02-23 08:02:28 -08:00
CrazyMax 4411f5369c
Merge pull request #2659 from tonistiigi/gateway-local-cache
client: make sure local cache import is propagated via gateway API
2022-02-23 16:38:47 +01:00
CrazyMax 2661917e8d
buildinfo: handle deps
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-23 10:40:33 +01:00
Kohei Tokunaga 09923fc8fe stargz: fix panic on restart
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-23 17:00:04 +09:00
Kohei Tokunaga 3b7422996a cache: Clean up temporary mount pool on restart
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-23 16:33:25 +09:00
Tonis Tiigi 6e82a4a89b show progress when exporting inline cache
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-22 20:05:05 -08:00
Tõnis Tiigi 99f6199fa6
Merge pull request #2633 from sipsma/mergediff-docs
Merge+Diff docs+examples
2022-02-22 16:56:02 -08:00
Tõnis Tiigi 02217d0b71
Merge pull request #2660 from ktock/rootless-containerd-worker
Support rootless containerd worker
2022-02-22 12:18:13 -08:00
Tõnis Tiigi 15e46c19b5
Merge pull request #2665 from ktock/metricsloglevel
stargz-snapshotter: switch metrics log level to debug
2022-02-22 11:56:46 -08:00
Tõnis Tiigi 0154dfcfaf
Merge pull request #2648 from ktock/cache-stargz-snapshotter
Enable estargz-based lazy pulling on registry cache importer
2022-02-22 09:24:17 -08:00
Kohei Tokunaga 16fa4aed7c stargz-snapshotter: move metrics log level to debug
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-22 15:34:38 +09:00
Kohei Tokunaga 382993bfda Bump up stargz-snaphsotter to v0.11.1
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-22 15:34:17 +09:00
Kohei Tokunaga 2e58406dbe Do not drop logger set by containerd
Currently, bklog overwrites `(github.com/containerd/containerd/log).G` and
doesn't preserve the logger set by
`(github.com/containerd/containerd/log).WithLogger`.

This causes log fields set by
`(github.com/containerd/containerd/log).WithLogger` are dropped.

This commit fixes this issue by allowing `bklog.GetLogger` to get logger set by
`(github.com/containerd/containerd/log).WithLogger`.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-22 13:32:51 +09:00
Kohei Tokunaga 393bc5b7b0 Allow using compressions unsupported by containerd on non-overlayfs snapshotter
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-21 15:59:57 +09:00
Kohei Tokunaga 21aeba6fd6 Support rootless containerd worker
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-21 15:39:14 +09:00
CrazyMax 292c0bf6f4
buildinfo: filter attrs while merging metadata in bridge result
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-19 22:48:20 +01:00
CrazyMax 3ed526759f
buildinfo: named input contexts support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-19 22:48:20 +01:00
Tõnis Tiigi a1cfefeaeb
Merge pull request #2657 from crazy-max/fix-nil
fix nil pointer dereference in bridge result
2022-02-18 16:45:26 -08:00
Tonis Tiigi 3396aab16b client: make sure local cache import is propagated via gateway API
Currently the local cache import only worked with client.Solve
function.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-18 16:41:57 -08:00
CrazyMax a3da60d114
fix nil pointer dereference in bridge result
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-18 19:54:25 +01:00
Tõnis Tiigi a08d2ea19b
Merge pull request #2645 from crazy-max/buildinfo-wout-exporter
buildinfo: export metadata without exporter
2022-02-17 21:57:46 -08:00
Tõnis Tiigi 7eca34edd2
Merge pull request #2653 from crazy-max/update-containerd-bin
Update containerd bins
2022-02-17 11:15:58 -08:00
CrazyMax 9824607de7
Update containerd bins
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-17 14:42:26 +01:00
Akihiro Suda 8821787364
Merge pull request #2650 from tonistiigi/config-load
buildkitd: handle config loading errors correctly
2022-02-17 20:25:15 +09:00
Akihiro Suda 22cf9cb2b4
Merge pull request #2649 from tonistiigi/addr-fix
buildkitd: fix handling multiple addr flags
2022-02-17 20:24:48 +09:00
Vlad A. Ionescu d67243ed0b Fix invalid layer index error
Signed-off-by: Vlad A. Ionescu <vladaionescu@users.noreply.github.com>
2022-02-16 21:11:44 -08:00
Tonis Tiigi 46dcd7d9a6 buildkitd: handle config loading errors correctly
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-16 20:53:17 -08:00
Tonis Tiigi 1a19c6e8bf buildkitd: fix handling multiple addr flags
The issue in the cli package that added extra
field has been fixed now.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-16 20:41:26 -08:00