Commit Graph

2262 Commits (75ab2b1137aa17b8330fcb4591f39b34ba7f7310)

Author SHA1 Message Date
Stepan Blyshchak 98a6ff4fe2 apply gofmt
Signed-off-by: Stepan Blyshchak <stepanblischak@gmail.com>
2019-05-11 18:25:22 +03:00
Stepan Blyshchak ad4ae59aa6 [dockerfile2llb] check for circular dependency in convert
Signed-off-by: Stepan Blyshchak <stepanblischak@gmail.com>
2019-05-11 18:25:22 +03:00
Dave Chen 8e9cc2794e cleanup: no need to mkdir when importing cache
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-05-11 14:11:14 +08:00
Sebastiaan van Stijn 3780f5d6aa
Merge pull request #996 from msg555/locked_broadcasts
Add missing locks around broadcasts
2019-05-10 18:48:03 -07:00
msg 78a8e643f6 Add missing locks around broadcasts
Signed-off-by: Mark Gordon <msg555@gmail.com>
2019-05-10 18:27:37 -04:00
Tõnis Tiigi e0e3ad6b47
Merge pull request #998 from AkihiroSuda/authprovider-stderr
authprovider: set stderr
2019-05-10 10:51:41 -07:00
Akihiro Suda 073aa092e7 authprovider: set stderr
Fix #997

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-10 15:45:05 +09:00
StefanSchoof c91e44a724 add testresult example to readme
Signed-off-by: StefanSchoof <Stefan.Schoof@direkt-gruppe.de>
2019-05-09 17:54:21 +00:00
Tõnis Tiigi 646fc0af6d
Merge pull request #984 from AkihiroSuda/sd-notify
buildkitd: support sd_notify
2019-05-08 22:19:53 -07:00
Akihiro Suda 243351a8e1 session/grpchijack: fix race
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-09 08:07:45 +09:00
Akihiro Suda 0dee033264 buildkitd: support sd_notify
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-09 03:06:29 +09:00
Tõnis Tiigi 95660b215e
Merge pull request #988 from AkihiroSuda/fix-no-process-sandbox
executor/oci: remove /proc masks for NoProcessSandBox mode
2019-05-08 10:09:14 -07:00
Tõnis Tiigi 6422157090
Merge pull request #985 from AkihiroSuda/buildkitd-lock
buildkitd: create buildkitd.lock under root
2019-05-08 10:06:36 -07:00
Akihiro Suda 38d16c97cf executor/oci: remove /proc masks for NoProcessSandBox mode
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-08 22:04:41 +09:00
Akihiro Suda 5225a66020 buildkitd: create buildkitd.lock under root
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-08 12:11:57 +09:00
Tõnis Tiigi 97b4b9a6db
Merge pull request #982 from tiborvass/fix-stdin-blocking
session: add lock to fix hang
2019-05-07 19:39:11 -07:00
Tibor Vass f467c292da session: add lock to fix hang
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-05-07 21:20:04 +00:00
Tõnis Tiigi bec5b3ea32
Merge pull request #980 from AkihiroSuda/no-pivot
runexecutor: support NoPivot
2019-05-07 11:02:29 -07:00
Akihiro Suda eba3ffc268 runexecutor: support NoPivot
This flag allows DOCKER_BUILDKIT to be running on minikube host: https://github.com/kubernetes/minikube/issues/4143

moby/builder/build-next needs to be updated to set NoPivot when
$DOCKER_RAMDISK is set.

This flag is deprecated from its birth and not exposed to the standalone buildkitd OCI worker.
See https://github.com/kubernetes/minikube/issues/3512

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-05-07 23:22:55 +09:00
Tõnis Tiigi 89851c6c69
Merge pull request #968 from tonistiigi/security-cap-fix
llb: fix security mode cap check
2019-04-27 09:55:44 -07:00
Tonis Tiigi d106163985 llb: fix security mode cap check
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-27 08:57:36 -07:00
Tõnis Tiigi 8c0fa8fdec
Merge pull request #966 from tonistiigi/csv-fix
hack: fix csv values
2019-04-26 17:08:12 -07:00
Tonis Tiigi dcacc3985b hack: fix csv values
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-26 16:58:28 -07:00
Tõnis Tiigi 3c78a9c736
Merge pull request #909 from fuweid/me-allow-unpack-action
exporter: support unpack opt for image exporter
2019-04-26 14:04:48 -07:00
Tõnis Tiigi 37ae84ba19
Merge pull request #961 from tonistiigi/dockerfile-subdir
dockerfile: allow subdirs for remote contexts
2019-04-26 13:30:20 -07:00
Akihiro Suda d0b3ba50bc
Merge pull request #962 from tonistiigi/differ-patch
vendor: patch differ deadlock
2019-04-27 02:15:49 +09:00
Tonis Tiigi ac18391f2b vendor: update containerd and continuity
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-25 23:33:52 -07:00
Tonis Tiigi 9c70c31a51 vendor: patch differ deadlock
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-25 22:50:38 -07:00
Tonis Tiigi bb03ee6873 dockerfile: allow subdirs for remote contexts
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-25 22:27:43 -07:00
Wei Fu ffad8ada79 exporter: support unpack opt for image exporter
It is enhancement which allows to unpack image into containerd
snapshotter storage by `--output type=image,<.>=<.>,unpack=true`.

In order to support this feature, we needs to extend the Snapshotter
witwh `Name() string` function. Because we needs to set gc label for
snapshotter which need snapshotter name.

fix: #908

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2019-04-24 21:24:06 +08:00
Tõnis Tiigi 8818c67cff
Merge pull request #956 from AkihiroSuda/kube-consistent-hash
add example/kube-consistent-hash
2019-04-23 10:10:13 -07:00
Tõnis Tiigi 9a18f80403
Merge pull request #955 from tonistiigi/arm-variant
exporter: put arm variant in the image config
2019-04-23 08:09:00 -07:00
Akihiro Suda aa9c666e16 add example/kube-consistent-hash
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-04-23 19:35:29 +09:00
Tõnis Tiigi 6864605c88
Merge pull request #942 from thaJeztah/hack_add_BUILDKITD_TAGS
hack/binaries: add BUILDKITD_TAGS
2019-04-22 21:41:55 -07:00
Tibor Vass c87e82f06c
Merge pull request #954 from tonistiigi/cache-import-errors
llbsolver: make remote cache errors not fatal
2019-04-22 18:01:37 -07:00
Tonis Tiigi 427e2f0a5f exporter: put arm variant in the image config
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-22 18:01:30 -07:00
Tibor Vass e2f33ce4f0
Merge pull request #934 from tonistiigi/shared-session
client: add shared session possibility
2019-04-22 17:39:13 -07:00
Tonis Tiigi 84bbb344fa llbsolver: make remote cache errors not fatal
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-22 16:50:18 -07:00
Tõnis Tiigi e8f65b65a3
Merge pull request #951 from AkihiroSuda/kube-pod-connhelper
new connhelper: kube-pod
2019-04-22 15:22:13 -07:00
Tõnis Tiigi 925aff3294
Merge pull request #947 from tonistiigi/external-dockerfile
dockerfile: allow external dockerfile on remote context
2019-04-22 11:02:03 -07:00
Sebastiaan van Stijn ac7893837f
hack/binaries: add BUILDKITD_TAGS
This makes setting build-tags more convenient;

    make binaries BUILDKITD_TAGS="$(cat frontend/dockerfile/release/experimental/tags)"

Based-on-patch-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-20 21:22:55 +02:00
Akihiro Suda fc044d0e6b new connhelper: kube-pod
Fix #769
Relates to tonistiigi/buildx#22

Usage:

  $ kubectl run --generator=run-pod/v1 --image moby/buildkit:master-rootless bk -- --oci-worker-no-process-sandbox
  $ export BUILDKIT_HOST=kube-pod://bk

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-04-19 20:34:00 +09:00
Tibor Vass 6085a25a2f
Merge pull request #946 from tonistiigi/arm64-detect
binfmt_misc: detect arm64 properly
2019-04-18 20:16:04 -07:00
Tõnis Tiigi 8a9f70c4eb
Merge pull request #949 from crosbymichael/vab
Replace boss callout with vab
2019-04-18 18:34:19 -07:00
Michael Crosby 23a16a90ed Replace boss callout with vab
`vab` is a small build frontend that uses buildkit to build images or
output files localy from a Dockerfile.  Its pretty sweet.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-04-18 15:47:30 -04:00
Tonis Tiigi ef58b61d83 client: add shared session possibility
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-18 08:33:57 -07:00
Tonis Tiigi 01f17243bb dockerfile: allow external dockerfile on remote context
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-17 23:50:15 -07:00
Tõnis Tiigi aebcb7f808
Merge pull request #945 from thaJeztah/update_authors
Update AUTHORS and mailmap
2019-04-17 18:35:10 -07:00
Tonis Tiigi 0dfe132df3 binfmt_misc: detect arm64 properly
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2019-04-17 16:14:08 -07:00
Sebastiaan van Stijn 02b477d8a3
Update AUTHORS and mailmap
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-17 16:49:54 +02:00