Commit Graph

3787 Commits (23ac84a557dc0585c45efae8ba8cc7b46e8f2723)

Author SHA1 Message Date
dependabot[bot] 23ac84a557
build(deps): bump github.com/containerd/containerd from 1.6.0 to 1.6.1
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-03 13:33:16 +00:00
Tõnis Tiigi d1a8f137c1
Merge pull request #2662 from ktock/overlayfs-differ-cancel
overlay differ: cancel diff calculation cleanly
2022-03-02 21:53:42 -08:00
Tõnis Tiigi e58afa464c
Merge pull request #2695 from hinshun/exec-telemetry
Add events for exec op for container start / exit
2022-03-02 16:37:07 -08:00
Edgar Lee d21254e7f7 Add events for exec op
Signed-off-by: Edgar Lee <edgarl@netflix.com>
2022-03-02 12:05:35 -08:00
Tõnis Tiigi 1d66f6f174
Merge pull request #2690 from crazy-max/ci-buildinfo-attrs
ci: opt-in buildinfo attrs with output opt
2022-03-02 08:26:45 -08:00
Tõnis Tiigi 0aa6882334
Merge pull request #2693 from tonistiigi/context-default-platform
dockerfile: check named context for default platform if none set
2022-03-02 08:25:29 -08:00
Tõnis Tiigi 5eced594b4
Merge pull request #2692 from alexcb/acb/default-cgroup-parent-config
Allow DefaultCgroupParent to be specified in config
2022-03-02 08:25:09 -08:00
Tonis Tiigi 520da6f241 dockerfile: check named context for default platform if none set
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-03-01 21:30:10 -08:00
Tõnis Tiigi 2dfbe317c9
Merge pull request #2689 from tonistiigi/active-status
progressui: handle active statuses for completed vertex
2022-03-01 18:36:03 -08:00
Tõnis Tiigi 23242f23ca
Merge pull request #2688 from tonistiigi/progressui-index
progressui: fix possible out of order indexing on plain mode
2022-03-01 18:35:41 -08:00
Alex Couture-Beil 1e50902ce6
Allow DefaultCgroupParent to be specified in config
This allows the DefaultCgroupParent to be changed via buildkit config
toml file.

Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
2022-03-01 12:01:19 -08:00
CrazyMax 46422e3aba
ci: opt-in buildinfo attrs with output opt
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-01 14:23:48 +01:00
Tonis Tiigi d75a79eacc progressui: handle case where active statuses appear completed vertex
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-28 23:40:45 -08:00
Tonis Tiigi 379ac1b1f7 progressui: fix possible out of order indexing on plain mode
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2022-02-28 23:37:51 -08:00
Tõnis Tiigi 578f045d5c
Merge pull request #2687 from ktock/fixpanicdebug
Fix nil error on `buildctl debug`
2022-02-28 12:15:15 -08:00
Kohei Tokunaga 9e17a454ca Fix nil error on `buildctl debug`
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-28 20:03:51 +09:00
Tõnis Tiigi 9ff8e77230
Merge pull request #2679 from crazy-max/ci-optin-buildinfo-attrs
ci: opt-in buildinfo attrs
2022-02-25 12:08:20 -08:00
CrazyMax 73f4cb3a47
ci: opt-in buildinfo attrs
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-25 20:38:06 +01:00
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