-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable multi export #1575
Closed
Closed
enable multi export #1575
Changes from all commits
Commits
Show all changes
248 commits
Select commit
Hold shift + click to select a range
024f85e
enable multi-export
fahedouch 58285c0
enabling multi-export
fahedouch 89c63ad
secrets: allow providing secrets with env
tonistiigi d1f5206
secrets: remove file specifics from variable names
tonistiigi b929bc1
secrets: reuse constant on error message
tonistiigi 4765aba
solver: fix marking already cached vertex as cancelled
tonistiigi bbee6c7
session: track sessions with a group construct
tonistiigi 8ece6bf
pull: allow separate sessions for different parts of pull
tonistiigi a10bbea
pull: fix session updating on resolver
tonistiigi 1977ec2
resolver: add credentials cache
tonistiigi 90790d1
Update Executor interface for Run and Exec
coryb f3e9a1c
fix error handling for exec when container fails to start
coryb 450049f
simplify done channel handling, fix other pr comments.
coryb 8b7ec2f
update godoc for Executor interface
coryb 32dcf0d
inline cache: fix handling of duplicate blobs
tonistiigi da2f8db
Build the containerd-shim-runc-v2 shim for tests
TBBle 302cdce
Revert "Pin containerd runtime to v1"
TBBle e884b3d
Don't build the containerd-shim shim for tests
TBBle 214ea6d
Split LocalMounter.Mount into Windows and Unix
TBBle 355d742
Correctly build forks in Travis
TBBle 8f474a1
Wrap original error when failing to read download context
TBBle 5bedb35
Move printLogs from oci.go to sandbox.go
TBBle 931da4c
Use new containerd shim in integ tests; don't skip on require error.
sipsma e3e9f8b
remotecache: Only visit each item once when walking results.
sipsma 71bdb4e
add Run/Exec to FrontendLLBBridge interface
coryb abffd6b
remove `Get` prefix from Executor/CacheManager funcs and update to av…
coryb 765733b
update FrontendLLBBridge to be composed of Executor
coryb 4ddbab9
Release needs context.TODO() so if ctx is cancelled the refs can be c…
coryb cad849a
buildkitd: ensure stack traces on logging errors
tonistiigi 4abeb61
integration: add concurrent sandbox limit
tonistiigi f88e6c6
integration: increase timeouts
tonistiigi 9ea3516
integration: fix rootless worker binaries closing after tests
tonistiigi 9640c28
hack: unblock master deploy
tonistiigi 6f52966
replace gometalinter with golangci linter
tonistiigi 32bf10e
lint: add misspell and unused
tonistiigi 51208f1
lint: enable golint
tonistiigi 6fa2b88
rename binfmt_misc to archutil
tonistiigi 5e0ce86
package name fixes
tonistiigi 57d6ae4
avoid returning private type from public function
tonistiigi 345d2f0
contenthash: avoid deprecated Xattrs header
tonistiigi 1ca5af4
session: avoid deprecated grpc.Stream type
tonistiigi 6393302
contenthash: fix buffer reuse pool
tonistiigi 08f471e
client: update dialer to contextDialer
tonistiigi 08e8ebf
lint: enable more linters
tonistiigi 3bc6b57
handle error returns more properly
tonistiigi ece1f22
Provide separate NetProviders map for Windows
TBBle a606625
Implement separate handling for Windows Network namespaces
TBBle c2fe1ba
Reorder CNI config to set options before consumers
TBBle aa61fac
Don't add loopback CNI configuration on Windows
TBBle 95d81fb
Support not chowning files on all platforms
TBBle 128df1c
vendor: update tonistiigi/fsutil v0.0.0-20200720184806-8f851f9d2045
thaJeztah 205e916
Treat unix sockets as regular files
alexcb dc9f276
integration: lock buffer for concurrent writes
tonistiigi 7c2445e
Shortcut read-only bind-mounts in Windows, like non-Windows
TBBle 9393d50
Give a name to the only mount we care about
TBBle 2df4a32
buildctl-daemonless.sh: show log on "could not connect to ..."
AkihiroSuda b95c321
vendor: update fsutil to c3ed55f3b4
tonistiigi eabedf9
hack: add shfmt
tonistiigi 507aad7
Add initial GitHub Actions-based Windows CI
TBBle dc9ce04
README.md: drop cgroup v2 notes
AkihiroSuda 306e6c7
docs/rootless.md: drop support for Debian 9 and Fedora 30
AkihiroSuda aaa879a
README.md: add HLB, Earthfile, and Cargo Wharf
AkihiroSuda ee0e94f
Fix testutil/integration build on Windows
TBBle 9db28da
Use OS-agnostic os.SameFile instead of inode comparision
TBBle c5876e8
Add errors-on-non-Linux ToRootless implementation
TBBle 535016a
Fix undefined variable in Windows-specific test
TBBle a41bdf6
Log HostComputeNamespace name instead of the whole object
TBBle 06f62a8
Skip tests on Windows that attempt to bind-mount read-only
TBBle 2afa84b
Don't rely on sh being in the PATH on Windows for tests
TBBle d3b7e36
Skip source tests on Windows that depend on read-write bind-mounts
TBBle 1396536
Run all the hasPrefix test-cases, even if one fails
TBBle 3edbb7b
Fix oci.hasPrefix to operate correctly on Windows
TBBle e0717e9
Provide the known default PATH to the llbtest test
TBBle 8dac5ef
Don't silently ignore failed wildcard expansion
TBBle 8cad19f
Use filesystem-supplied modes for checksumming content
TBBle 6eb134b
vendor: update containerd to eb6354a11
tonistiigi 1525550
add testing for containerd 1.4-beta2
tonistiigi 9cc8cd1
hack: use caching for master deploy
tonistiigi 85f9c46
resolver: allow setting both insecure tls and http
tonistiigi 4fd3a13
push: reenable setting insecure exporter opt
tonistiigi bba3e41
resolver: enable tracing on default transport
tonistiigi c97ca98
executor/oci.GetUser(): remove unused context
thaJeztah 87e4b6e
Clarify the gateway 'test' as a build-test
TBBle b34f69c
Ensure that time has passed between foo0 and foo1
TBBle 816c012
vendor: update opentracing-go v1.2.0, go-stdlib v1.0.0
thaJeztah 513f5eb
Unify OCI Spec generation across all host platforms
TBBle d74ae65
Compile containerd worker on Windows
TBBle f6cc4e9
Fix linter warning about comment mismatch
TBBle dcb0128
Refactor OCI Spec generation to use oci.SpecOpts more
TBBle 673f338
Don't ignore failure to setup networking
TBBle 45a40e7
buildctl: improve secret parsing
tonistiigi b213b87
pull: fix counter for ensuremanifestloaded check
tonistiigi bd52845
resolver: make sure authorizer is not regenerated
tonistiigi 62803b1
resolver: reenable keep-alive
tonistiigi fbd1df4
wrap errors from executor Run/Exec to allow access to exit code
coryb 6217677
remove *pixel from winsize struct, tweak ExitError handling for ctx.Err
coryb 00efe6d
fix containerd executor Run/Exec to close container input on eof from…
coryb d720280
only warn on resize errors
coryb 3e472c7
update container resize events in sequence, also move it out of exit/…
coryb 544e4b2
travis: replace after_failure with after_script
tonistiigi 7a8942f
client: fix connhelper context canceling
tonistiigi d45a78f
new connection helper: podman-container://<CONTAINER>
AkihiroSuda 7606676
grpcerrors: use full typeurl registration
tonistiigi e625149
Add support for lazily-pulled blobs in cache manager.
sipsma 8ef1199
Fix progress in schema1 pull.
sipsma aa0b9ba
pull: de-pointer non-optional platform field
sipsma b2b774d
cache: Remove ImageRef from DescHandlers
sipsma 7096349
setting host part of address as :authority pseudo header.
everpeace 026ff15
llb: Cache DefinitionOp inputs to support memoization during Marshal
sipsma a92fa99
add sipsma and coryb as maintainers
tonistiigi d4f004c
vendor: update containerd to fa1220fce
tonistiigi 3912cc9
resolver: add better pooling and custom authenticator
tonistiigi 98013e9
resolver: fix token expiring issues
tonistiigi f20894b
resolver: clean up unused resolver pool
tonistiigi 1ba8f35
resolver: switch post/get order on requesting token
tonistiigi d62cbb6
resolver: add docs to new functions
tonistiigi d6618bd
resolver: avoid retrying fatal error
tonistiigi 3e41e4f
resolver: handle nil group properly
tonistiigi dab7587
secretsprovider.NewStore() simplify env handling
thaJeztah 7b4d42b
Fix platform typo
JonZeolla bdcda22
update containerd to v1.4.0, runc to v1.0.0-rc92
AkihiroSuda 76998f7
cni: remove duplicate error check
jimen0 eb8ff0f
vendor: github.com/gofrs/flock v0.7.3
thaJeztah 248fe39
vendor: github.com/pkg/profile v1.5.0
thaJeztah f13140b
build-arg add support BUILDKIT_SYNTAX
cf24c1f
vendor: update containerd to efa0e809
tonistiigi 7022c23
Enable to use remote snapshots for refs
ktock 7812258
Add integration test for containerd and stargz snapshotter
ktock 0e22bb4
ensure containerd is running for worker tests
coryb 3b7b4fe
vendor: update containerd to d4e7820
errordeveloper 660f366
fix tests after busybox update
tonistiigi df3b716
enabling multi-export
fahedouch 3a27190
fix variable type
fahedouch eb96686
fix exporter condition
fahedouch 4db4c90
enbale cache
fahedouch 2e5c020
fix client tests
fahedouch 1d7134c
fix single output exporter
fahedouch 9b4269b
set single exporter for control
fahedouch 66e2018
fix signle exporter
fahedouch 66ad559
Limit size of additional label for avoiding preparation failure
ktock cdaf6bd
Enable to use stargz snapshotter without spawning plugin process
ktock 67a4eb1
Enable to run integration tests with stargz snapshotter
ktock 5fbb33a
client: allow build callback to return nil result
tonistiigi 54716af
client: avoid checking token cap on default case
tonistiigi 0ccb1d1
Allow stargz target in Dockerfile to use golang build cache
ktock e97ab10
sshprovider: on Windows, ModeSocket might not be set on the ssh socket
nicks 6382b3f
dockerfile: allow multiple values for ARG
tonistiigi b7cde0e
go.mod: github.com/containerd/console v1.0.1
thaJeztah 27a173d
vendor: sirupsen/logrus v1.7.0
thaJeztah 61ef714
Make HTTP/2 authority pseudo-header spec-compliant
edrevo dfcd6e1
update gateway to add ability to run and exec into containers
coryb 4d2a851
cleanup release on error logic for gateway NewContainer
coryb 6bf1434
add capability entry for gateway exec
coryb 3e27e9c
remove unnecessary gateway container interface
coryb bb3cfdc
fix case on error messages
coryb 0093d1a
add exec tests with multiple mounts
coryb fc8e415
add cap support check to gatewayClientForBuild
coryb 896e27d
make GrpcClient implement gateway.client.Client
coryb cabe104
move ExecOps mounting logic into new package so logic can be reused f…
coryb 304b0dd
update gateway exec mount tests to verity ssh and secret mounts
coryb d163dd9
fix minor nits
coryb 6c593aa
remove SessonManager from FrontendLLBBridge, adding as arg to Fronten…
coryb da370e8
Move SecurityMode to InitMessage from NewContainer message so it can …
coryb 3cacda0
remove unnecessary MountManager interface
coryb afa206e
fix unnecessary MetadataStore rename
coryb 4e0b6f0
fix linting error
coryb a7fbb3a
use grpc typed error for ExitMessage error
coryb 9ffa933
Default Cwd to "/"
coryb b392b06
Simplify rpc exec exit error handling
coryb 9f4f187
frontend: make sure inputs support for frontends is detectable from c…
tonistiigi dd618a5
dockerfile: update run mounts to stable channel
tonistiigi c922cf3
hack: fix release script
tonistiigi cb3fc0e
frontend: support for subrequests
tonistiigi b7d2722
auth: fetch tokens from client side
tonistiigi 454582f
dockerfile: parse comments associated with args and stages
tonistiigi 5a9af10
fix object name
fahedouch 9980922
fix export Attrs
fahedouch c5175a7
fix exportersResponse
fahedouch 7e5f20a
fix cache exporter
fahedouch 677d893
fix CI tests
fahedouch a4620df
Prevent context canceled errors from being permanent in authorizer
vladaionescu bb050a8
Add hostname specifying for building
jingxiaolu 71b21cb
tests: Adding tests for hostname specifying for building
jingxiaolu 231f9ff
Update binfmt_misc tests to have non-executable stack
kees 9fcc6f1
remotecache: validate out broken links from loops
tonistiigi a1f7b99
stack: remove helper functions from error stack traces
tonistiigi da559ab
add tty support for runc executor
coryb cec5eb1
refactor tty output tests to avoid flakey sleeps
coryb 5e1b599
shutdown container process when context is done
coryb 8f63b38
syscall.Errno(0x5) == syscall.EIO
coryb 201b26c
exporter: avoid descriptor annotations on docker manifests
tonistiigi f9e44bf
update go-runc to use runc.ExitError for container exec status
coryb 51f67d6
executor: remove stub files from rootfs
tonistiigi 7af6499
remotecache: don’t export cache for empty layers
tonistiigi 36010ec
exporter: don’t keep timestamp for empty layer
tonistiigi 427a6cb
exptypes: define empty gz layer digest
tonistiigi 4d0aad5
Enable parallelization of NewContentHashFunc
hinshun a3b19c5
update go-runc mod, use runc Started chan
coryb a3edbbf
authprovider: allow readonly config dir
tonistiigi 02e0447
Dockerfile: don’t remove debug info on buildkitd/runc binaries
tonistiigi 43f3aaf
debug: enable gc triggers
tonistiigi 0cc3335
solver: make sure job id cleared after build
tonistiigi b6595f2
exec: use platform specific default path
tonistiigi 823c1bf
dockerfile: set default shell based on OS
tonistiigi 2a5ab14
dockerfile: add test for default shell and path
tonistiigi 42e13ec
remotecache: allow oci mediatypes on exporting to registry
tonistiigi b4f14d5
readme: document oci-mediatypes cache export option
tonistiigi 8630c28
Add test for second solve using rootfs of first solve that error'ed f…
hinshun aa64f03
source: fix puller error caching on cancellation
tonistiigi 8703881
gateway exec: add platform and worker constraints to NewContainer api
coryb 720db13
TestParseCases(): fix "expected" and "actual" being reversed
thaJeztah bdbe498
Dockerfile: fix parsing of trailing backslash
thaJeztah d426cf6
Bump stargz-snapshotter and partial registry logic integration
ktock 7b7359d
Delay decoding stargz config for avoiding extra dependency for config…
ktock 19de44b
replace github.com/docker/docker/pkg/locker with moby/locker v1.0.1
thaJeztah 1265b52
Add documentation about stargz/eStargz support
ktock cfed559
vendor: github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
thaJeztah 35e629b
utils: move dockerignore function to builder/dockerignore
76756c5
Fix ReadAll to run on Windows.
anusha-ragunathan a6f6e39
Add support for comment in .dockerignore
yongtang dc6f379
Skip UTF-8 BOM bytes from Dockerignore if exist
yongtang 7f8438b
add defer file.Close to avoid potential fd leak
allencloud 7faba79
use t.Fatal() to output the err message where the values used for for…
c710528
Fix behavior of absolute paths in .dockerignore
simonferquel 51601bd
Add canonical import comment
dnephin 40c6ca7
Fix typos
wingkwong 6a23424
dockerignore: remove import path enforcement comments
thaJeztah 868a95f
frontend/dockerfile: use dockerignore package from buildkit
thaJeztah 2249bd2
vendor: github.com/Microsoft/go-winio v0.4.15-0.20200908182639-5b44b7…
thaJeztah 9dc2466
vendor: github.com/gorilla/mux v1.8.0
thaJeztah f8f1d61
vendor: golang.org/x/sys v0.0.0-20200922070232-aee5d888a860
thaJeztah e269ba1
vendor: github.com/docker/libnetwork v0.8.0-dev.2.0.20200917202933-d0…
thaJeztah 6d95e1e
vendor: github.com/docker/cli v20.10.0-beta1.0.20201029214301-1d20b15…
thaJeztah 3e491ff
vendor: github.com/docker/docker v20.10.0-beta1.0.20201030232932-c2cc…
thaJeztah 4afe93f
update runc used in integration tests so exec no longer panics
coryb 34a6746
Fix race in CNI namespaces.
vladaionescu 7420e92
Rename nativeID to nsPath. Simplify.
vladaionescu ead9df8
add session injection to remote loading
tonistiigi 67332ba
executor: change mount to struct
tonistiigi 60c555b
update RootlessKit, fuse-overlayfs, and containerd-fuse-overlayfs
AkihiroSuda b2616b8
progress: add log limits and clipping
tonistiigi b90486b
control: split status messages if they grow big
tonistiigi c83cf8f
client: use containerd grpc message size defaults
tonistiigi 023aa50
logs: show log limit in the clipping message
tonistiigi 7358325
Add fuse dependency to moby/buildkit image
ktock d3fb750
resolve MR conflics
fahedouch 2bab0e3
lint code
fahedouch 4facfdb
Merge branch 'master' into enable-multi-export
fahedouch File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things like output directory do not seem to support multiple afaics. That is fine but please add validation for not allowing 2 local exporters etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Would you recheck please :) ?