Commit Graph

3481 Commits (357524943fa39e9221d913ef303eda2070744e52)

Author SHA1 Message Date
Akihiro Suda 357524943f
Merge pull request #2461 from tonistiigi/pusher-workaround-wrap
push: workaround deadlock in containerd pusher
2021-11-14 18:27:28 +09:00
Tonis Tiigi faf5ad9e96 push: workaround deadlock in containerd pusher
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-11-12 17:33:08 -08:00
Tõnis Tiigi f421e24291
Merge pull request #2455 from AkihiroSuda/doc-rootless-20211110
update rootless docs
2021-11-10 15:14:28 -08:00
Akihiro Suda 57659ca24a
update rootless docs
Kernel-mode overlayfs is now widely available, so we can simplify docs/rootless.md

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-11-10 21:31:52 +09:00
Akihiro Suda a87b801ca0
Merge pull request #2443 from tonistiigi/frontend-def
gateway: allow access to current frontend definition
2021-11-10 13:25:37 +09:00
Tõnis Tiigi 083dfc9f63
Merge pull request #2452 from crazy-max/update-hashstructure
update to github.com/mitchellh/hashstructure v2.0.2
2021-11-09 16:14:13 -08:00
CrazyMax d81e79540b
update to github.com/mitchellh/hashstructure v2.0.2
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-11-09 09:56:10 +01:00
Tonis Tiigi 0364e00aac gateway: allow access to current frontend definition
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-11-05 20:27:50 -07:00
Tõnis Tiigi 0ad26d49f2
Merge pull request #2448 from thaJeztah/bump_moby_sys
go.mod: github.com/moby/sys/mount v0.3.0, mountinfo v0.5.0, signal v0.6.0
2021-11-05 20:22:33 -07:00
Sebastiaan van Stijn 5b489dc25c
go.mod: github.com/moby/sys/signal v0.6.0
full diff: https://github.com/moby/sys/compare/8a51b5cc8879...signal/v0.6.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-11-05 13:28:54 +01:00
Sebastiaan van Stijn 17a0e3ed12
go.mod: github.com/moby/sys/mount v0.3.0, mountinfo v0.5.0
- diff: https://github.com/moby/sys/compare/mount/v0.2.0...mount/v0.3.0
- diff: https://github.com/moby/sys/compare/mountinfo/v0.4.1...mount/v0.5.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-11-05 13:26:59 +01:00
Sebastiaan van Stijn 98f9c412e1
go.mod: golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359
full diff: ed5796bab1...69cdffdb93

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-11-05 13:23:26 +01:00
CrazyMax fae6ef5031
Merge pull request #2445 from crazy-max/fix-ci
ci: fix git protocol
2021-11-02 18:50:22 +01:00
CrazyMax b434e7314b
ci: fix git protocol
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-11-02 18:02:32 +01:00
Akihiro Suda 0279989d7f
Merge pull request #2433 from tonistiigi/gha-export-fix
gha: fix handling removed blobs on reexport
2021-11-01 13:23:57 +09:00
Akihiro Suda d47b46cf2a
Merge pull request #2432 from crazy-max/gofmt
go fmt: add //go:build
2021-10-29 12:32:52 +09:00
Tonis Tiigi 962c287b1b gha: fix handling removed blobs on reexport
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-10-28 20:30:48 -07:00
Tõnis Tiigi b33357bcd2
Merge pull request #2430 from crazy-max/cgroup-parent
cgroup-parent support
2021-10-28 10:21:03 -07:00
CrazyMax 54b8ff2fc8
go fmt: add //go:build
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-28 13:26:43 +02:00
Tõnis Tiigi 4b86211bed
Merge pull request #2405 from ktock/cachecompression
Propagate compression options to the inline cache export
2021-10-27 20:58:53 -07:00
Tõnis Tiigi 8a8b4cbf17
Merge pull request #2427 from crazy-max/update-containerd
update to containerd v1.6.0-beta.1
2021-10-27 18:27:36 -07:00
Tõnis Tiigi 9b95d30c4f
Merge pull request #2431 from jmacelroy/master
Handling parsing of multiple scopes combined in a single string.
2021-10-27 18:23:30 -07:00
Jacob MacElroy 5279e683a5 Handling parsing of multiple scopes combined in a single string.
It is possible for challenge headers to contain multiple scopes in a single string. This change ensures that this case is handled when parsing the scopes by splitting out scopes combined in a single string.

Signed-off-by: Jacob MacElroy <jacob@okteto.com>
2021-10-27 16:32:36 -06:00
CrazyMax c82ef274bf
cgroup-parent support
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-27 23:50:20 +02:00
CrazyMax 7b171f6b6a
update to containerd v1.6.0-beta.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-26 22:48:51 +02:00
Tõnis Tiigi 33fb83eb71
Merge pull request #2425 from sipsma/refinalize
Re-add Finalize method to ImmutableRef.
2021-10-25 15:24:36 -07:00
Erik Sipsma 3adb271954 Re-add Finalize method to ImmutableRef.
It turns out that while Buildkit code did not need this method to
be public, moby code does still use it, so we have to re-add it
after its removal in #2216 (commit b85ef15).

This commit is not a revert because some of the changes are
still desireable, namely the removal of the "commit" parameter
which didn't serve any purpose.

Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2021-10-25 10:51:30 -07:00
Kohei Tokunaga f9e0346b34 Propagate compression options to the inline cache export
Co-authored-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2021-10-22 15:43:32 +09:00
Akihiro Suda f352ee857b
Merge pull request #2410 from tonistiigi/exporter-sync-fix
solver: fix exporters unsafely sharing records
2021-10-21 17:18:02 +09:00
CrazyMax 8778943ac3
Merge pull request #2422 from crazy-max/fix-tmpfs-size
use bytes as given size for tmpfs mount
2021-10-19 20:58:19 +02:00
CrazyMax 94378a87b4
use `opts.MemBytes` for tmpfs size run mount instruction
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-19 20:16:01 +02:00
CrazyMax 954c4721f7
use bytes as given size for tmpfs mount
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-19 19:47:17 +02:00
Tõnis Tiigi 41c0a18147
Merge pull request #2411 from crazy-max/tpmfs-size
add size to tmpfs mounts
2021-10-18 13:26:44 -07:00
CrazyMax 32d95c8ece
deduplicate mounts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-18 10:54:53 +02:00
CrazyMax 87e1fa7ecb
add size to tmpfs mounts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-18 10:54:52 +02:00
Akihiro Suda 9dd4ec0f48
Merge pull request #2419 from tonistiigi/session-dialer
client: allow setting custom dialer for session endpoint
2021-10-18 13:45:31 +09:00
Tonis Tiigi 1c51e87e16 client: allow setting custom dialer for session endpoint
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-10-17 20:21:28 -07:00
Tõnis Tiigi cbf808fb09
Merge pull request #2394 from smira/insecure-capabilities
fix: provide only available capabilities to insecure environment
2021-10-15 17:08:29 -07:00
Andrey Smirnov a5d1cfc1e4
fix: provide only available capabilities to insecure environment
The problem this change is trying to fix are the environments where some
capabilities are already dropped, so they can't be granted to the
job with `--security=insecure`.

I know that probably fixed set of capabilities was implemented to
provide a stable build environment, but at the same time this breaks
environments with reduced capabilities.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-10-15 19:57:32 +03:00
Tonis Tiigi 4cec7a064c solver: fix exporters unsafely sharing records
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-10-08 19:51:11 -07:00
Tõnis Tiigi ba673bbdab
Merge pull request #2395 from jmacelroy/master
Creating tcp socket without using go-connections.
2021-10-08 14:00:08 -07:00
Tõnis Tiigi 7671a84fc2
Merge pull request #2398 from crazy-max/ulimit
Add support for ulimit
2021-10-08 10:50:44 -07:00
Tõnis Tiigi c46f7ad20c
Merge pull request #2399 from AkihiroSuda/update-multiplatform-docs
README.md: improve "Building multi-platform images" section
2021-10-08 10:44:33 -07:00
CrazyMax 4e32ae5630
Add support for ulimit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-10-08 11:50:09 +02:00
Akihiro Suda 6813db907b
README.md: improve "Building multi-platform images" section
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-10-08 16:21:27 +09:00
Akihiro Suda b8462c3b7c
Merge pull request #2403 from tonistiigi/push-deadlock
limited: fix possible deadlock when pushhandler calls fetcher
2021-10-07 16:58:37 +09:00
Tonis Tiigi 7153f5a9bb limited: fix possible deadlock when pushhandler calls fetcher
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-10-06 22:46:37 -07:00
Tõnis Tiigi b2ff444122
Merge pull request #2243 from crazy-max/gha-cache
Use gha cache on CI
2021-10-05 15:52:38 -07:00
Tõnis Tiigi 91ecc991c3
Merge pull request #2393 from ktock/converter-uncompressed-annotation
converter: make sure uncompressed digest annotation is set
2021-10-05 15:52:03 -07:00
Jacob MacElroy 6d396b9684 Creating tcp socket without using go-connections.
Signed-off-by: Jacob MacElroy <jacob@okteto.com>
2021-10-05 12:28:17 -06:00