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
Cory Bennett
b97b1a58f7
add capability entry for gateway exec
...
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2020-09-03 05:59:00 +00: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
Cory Bennett
8df17c83cc
cleanup release on error logic for gateway NewContainer
...
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2020-09-01 22:45:20 +00: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
Cory Bennett
355e937e15
update gateway to add ability to run and exec into containers
...
Signed-off-by: Cory Bennett <cbennett@netflix.com>
2020-08-31 21:13:59 +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
Tonis Tiigi
c95dd17ffe
remotecache: validate out broken links from loops
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-30 18:59:15 -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
Tonis Tiigi
f1cd79bf65
resolver: add better pooling and custom authenticator
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-13 17:27:11 -07:00
Tõnis Tiigi
8861f58db9
Merge pull request #1639 from tonistiigi/add-maintainers
...
add sipsma and coryb as maintainers
2020-08-11 11:34:23 -07:00
Tonis Tiigi
a50e3ee9fa
add sipsma and coryb as maintainers
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-11 10:26:23 -07:00
Edgar Lee
be534ae9a7
Merge pull request #1635 from sipsma/memoize-defn-op
...
llb: Cache DefinitionOp inputs to support memoization during Marshal
2020-08-11 09:50:58 -07:00
Tonis Tiigi
ec756078f3
vendor: update containerd to fa1220fce
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-10 20:12:46 -07:00
Erik Sipsma
3b418db323
llb: Cache DefinitionOp inputs to support memoization during Marshal
...
llb.State.Marshal uses a vertexCache map (keyed by the llb.Vertex interface
value) to memoize which vertexes it has already visited while marshalling.
However, before this change, llb.DefinitionOp was constructing new pointers for
each value in the return slice of Inputs(), which meant that each input had a
different key in the vertexCache (due to being different pointer values). This
meant no memoization actually occured. I noticed this while using
llb.DefinitionOp with a fairly large graph when my program crashed after using
>16GB of RSS during a call to llb.State.Marshal.
The fix here avoids changing vertexCache as that would impact many other
vertex implementations. Instead, just DefinitionOp.Inputs() is updated to cache
the pointers it creates and pass that cache to its descendents. This fix
resulted in the program that was previously crashing out-of-memory to run
without any perceivable increase in RSS.
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2020-08-10 17:23:04 -07:00
Tõnis Tiigi
279d686fec
Merge pull request #1567 from everpeace/fix-authority-header
...
Setting `Host` part of address url to `:authority` pseudo header
2020-08-06 15:43:00 -07:00
Tõnis Tiigi
545532ab0e
Merge pull request #1475 from sipsma/lazy-ref
...
Add support for lazily-pulled blobs in cache manager.
2020-08-06 12:54:45 -07:00
Tõnis Tiigi
d88fb2170b
Merge pull request #1602 from tonistiigi/grpcerrors-typeurl
...
grpcerrors: use full typeurl registration
2020-08-06 12:48:15 -07:00
Tõnis Tiigi
75c0c1a381
Merge pull request #1629 from AkihiroSuda/podman-connhelper
...
new connection helper: podman-container://<CONTAINER>
2020-08-06 12:30:56 -07:00
Tonis Tiigi
862387445e
grpcerrors: use full typeurl registration
...
Also switches current types to json.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-06 12:28:48 -07:00
Akihiro Suda
6d14bfd206
Merge pull request #1628 from tonistiigi/connhelper-fix
...
client: fix connhelper context canceling
2020-08-06 15:57:19 +09:00
Akihiro Suda
8d5e9f8294
new connection helper: podman-container://<CONTAINER>
...
Similar to `docker-container://` but for Podman containers.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2020-08-06 15:38:16 +09:00
Tonis Tiigi
9fcd482211
client: fix connhelper context canceling
...
Dial context is canceled after connection is
established so can’t be used for a long running process.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2020-08-05 23:25:13 -07:00
Erik Sipsma
1b30fd146b
cache: Remove ImageRef from DescHandlers
...
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2020-08-05 17:18:43 -07:00