Commit Graph

2601 Commits (03987d2a7536ba58c7654b9d416f9364bfc2437f)

Author SHA1 Message Date
Vlad A. Ionescu 03987d2a75 Rename nativeID to nsPath. Simplify.
Signed-off-by: Vlad A. Ionescu <vladaionescu@users.noreply.github.com>
2020-11-02 11:39:17 -08:00
Vlad A. Ionescu 39fd96d2dd Fix race in CNI namespaces.
Signed-off-by: Vlad A. Ionescu <vladaionescu@users.noreply.github.com>
2020-11-02 11:23:28 -08:00
Tõnis Tiigi 2b6cccb9b3
Merge pull request #1701 from thaJeztah/bump_console
go.mod: github.com/containerd/console v1.0.1
2020-09-24 17:18:07 -07:00
Sebastiaan van Stijn a9d16cea41
go.mod: github.com/containerd/console v1.0.1
full diff: https://github.com/containerd/console/compare/v1.0.0...v1.0.1

Fixes compatibility with current versions of golang.org/x/sys

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-09-24 23:09:21 +02:00
Tibor Vass 718f86ca1f
Merge pull request #1692 from tonistiigi/multi-arg
dockerfile: allow multiple values for ARG
2020-09-24 12:35:11 -07:00
Tõnis Tiigi d441d4f6d5
Merge pull request #1695 from tilt-dev/nicks/issue914
sshprovider: on Windows, ModeSocket might not be set on the ssh socket
2020-09-22 17:07:46 -07:00
Nick Santos 399dacf410 sshprovider: on Windows, ModeSocket might not be set on the ssh socket
Fixes https://github.com/moby/buildkit/issues/914

Signed-off-by: Nick Santos <nicholas.j.santos@gmail.com>
2020-09-22 19:42:38 -04:00
Tonis Tiigi c810b8ed25 dockerfile: allow multiple values for ARG
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-09-22 11:56:51 -07:00
Tõnis Tiigi b0a3ab1b33
Merge pull request #1694 from ktock/sgzcache
Allow stargz target in Dockerfile to use golang build cache
2020-09-22 08:55:52 -07:00
ktock 32e70827f7 Allow stargz target in Dockerfile to use golang build cache
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-09-22 18:26:24 +09:00
Edgar Lee 2943a08389
Merge pull request #1686 from tonistiigi/git-cap
client: avoid checking token cap on default case
2020-09-17 10:17:26 -07:00
Edgar Lee 7ef6041b51
Merge pull request #1687 from tonistiigi/nil-result
client: allow build callback to return nil result
2020-09-17 10:16:14 -07:00
Akihiro Suda 6361c6bad2
Merge pull request #1666 from ktock/sgz-oci
Enable to use stargz snapshotter without spawning plugin process
2020-09-17 16:00:19 +09:00
Tonis Tiigi ebf0194d51 client: allow build callback to return nil result
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-09-16 19:36:16 -07:00
Tonis Tiigi 6b145fa964 client: avoid checking token cap on default case
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-09-16 19:29:06 -07:00
Akihiro Suda a2563079f7
Merge pull request #1679 from ktock/layers
Limit size of additional label for avoiding preparation failure
2020-09-14 12:35:18 +09:00
Akihiro Suda a8fd4130b2
Merge pull request #1681 from tonistiigi/test-busybox-fix
fix tests after busybox update
2020-09-13 15:42:26 +09:00
Tonis Tiigi b18c08c4ab fix tests after busybox update
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-09-11 23:24:55 -07:00
ktock a9ba84fd5e Limit size of additional label for avoiding preparation failure
In containerd, there is a size limit for label size (4096 chars).
If an image has many layers (> (4096-43)/72 > 55),
`containerd.io/snapshot/remote/stargz.layers` will hit the limit of
label size and the remote snapshot preparation will fail.
This commit fixes this by limiting the size of the label.

Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-09-11 11:40:56 +09:00
Tõnis Tiigi 477b1aab89
Merge pull request #1669 from errordeveloper/master
vendor: update containerd to d4e7820
2020-09-07 13:11:18 -07:00
Ilya Dmitrichenko 6e8fde8431
vendor: update containerd to d4e7820
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2020-09-07 10:40:09 +01:00
ktock cf3d695cc2 Enable to run integration tests with stargz snapshotter
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-09-03 16:52:21 +09:00
ktock fb7fe99311 Enable to use stargz snapshotter without spawning plugin process
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-09-03 14:13:26 +09:00
Tõnis Tiigi 3aa7902d40
Merge pull request #1664 from coryb/issue-1637
ensure containerd is running for worker tests
2020-09-01 12:36:25 -07:00
Cory Bennett 9855a080c7 ensure containerd is running for worker tests
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2020-09-01 07:04:27 +00:00
Erik Sipsma a57f8a2dcc
Merge pull request #1402 from ktock/remote-snapshotter
Support stargz snapshotter for dev stages
2020-08-31 10:41:11 -07:00
Akihiro Suda d80830fe01
Merge pull request #1661 from tonistiigi/update-containerd
vendor: update containerd to efa0e809
2020-08-31 15:55:54 +09:00
Tonis Tiigi d33756e17b vendor: update containerd to efa0e809
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-30 23:04:25 -07:00
ktock 76189201a8 Add integration test for containerd and stargz snapshotter
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-08-27 15:50:11 +09:00
Tõnis Tiigi 898d720788
Merge pull request #1633 from wangyumu/add-buildkit-syntax-build-arg
build-arg add support BUILDKIT_SYNTAX
2020-08-24 16:26:21 -07:00
Tõnis Tiigi 1b350e46cf
Merge pull request #1652 from thaJeztah/bump_deps
vendor: gofrs/flock v0.7.3, pkg/profile v1.5.0
2020-08-24 10:59:44 -07:00
Sebastiaan van Stijn 546704520f
vendor: github.com/pkg/profile v1.5.0
full diff: https://github.com/pkg/profile/compare/v1.2.1...v1.5.0

v1.5.0
-------------------------

- Add MemProfileType to allow overriding type of memory profile
- Make Go 1.13 the minimum supported Go version.

v1.4.0
-------------------------

- Added goroutine profiling

v1.3.0
-------------------------

- Add ThreadcreationProfile
- Bump Go versions

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-24 10:56:12 +02:00
Sebastiaan van Stijn 4d4287c05f
vendor: github.com/gofrs/flock v0.7.3
full diff: https://github.com/gofrs/flock/compare/v0.7.0...v0.7.3

v0.7.3
-------------------------

- Fix issues in the license file, update year.

v0.7.2
-------------------------

- Ensure we release file handle if we failed to take an exclusive lock

v0.7.1
-------------------------

- Fix linting issues and add goreportcard badge

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-24 10:55:23 +02:00
ktock c975424deb Enable to use remote snapshots for refs
Signed-off-by: ktock <ktokunaga.mail@gmail.com>
2020-08-24 08:44:00 +09:00
Akihiro Suda 4b66930270
Merge pull request #1651 from jimen0/cni-duplicate-err
cni: remove duplicate error check
2020-08-24 05:14:47 +09:00
Miguel Ángel Jimeno 6e1d460d4c
cni: remove duplicate error check
Signed-off-by: Miguel Ángel Jimeno <miguelangel4b@gmail.com>
2020-08-23 21:51:01 +02:00
Tõnis Tiigi 4484f91957
Merge pull request #1645 from AkihiroSuda/containerd-140
update containerd to v1.4.0, runc to v1.0.0-rc92
2020-08-18 13:17:43 -07:00
Akihiro Suda 4da183e083
update containerd to v1.4.0, runc to v1.0.0-rc92
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-08-18 22:19:53 +09:00
Wang Yumu 882fc73790 build-arg add support BUILDKIT_SYNTAX
Signed-off-by: Wang Yumu <37442693@qq.com>
2020-08-18 18:05:57 +08:00
Tõnis Tiigi 92c0dab419
Merge pull request #1646 from JonZeolla/fix-platform-typo
Fix platform typo
2020-08-17 21:09:44 -07:00
Jon Zeolla 4f966cc3da Fix platform typo
Signed-off-by: Jon Zeolla <zeolla@gmail.com>
2020-08-17 19:31:02 -04:00
Tõnis Tiigi 91067efc28
Merge pull request #1643 from thaJeztah/simplify_env_handling
secretsprovider.NewStore() simplify env handling
2020-08-14 09:22:58 -07:00
Sebastiaan van Stijn f0e241905e
secretsprovider.NewStore() simplify env handling
The `doesEnvExist()` utility was copied from the classic builder,
and was developed when `os.LookupEnv()` did not yet exist.

Now that it's available, replace our custom implementation in
favor of Golang's function.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-08-14 17:27:41 +02:00
Erik Sipsma 661cafc09d
Merge pull request #1636 from tonistiigi/resolver-pool
resolver: add better pooling and custom authenticator
2020-08-13 19:03:10 -07:00
Tonis Tiigi e6500927d2 resolver: handle nil group properly
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:25 -07:00
Tonis Tiigi e322304c07 resolver: avoid retrying fatal error
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:25 -07:00
Tonis Tiigi 8f8dccf837 resolver: add docs to new functions
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:25 -07:00
Tonis Tiigi 5f69909037 resolver: switch post/get order on requesting token
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:25 -07:00
Tonis Tiigi b474dbf55f resolver: clean up unused resolver pool
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:18 -07:00
Tonis Tiigi 21c4ab8621 resolver: fix token expiring issues
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:18 -07:00