Phil Estes
cffe399e89
Merge pull request #9184 from Kern--/xnet013
...
Bump x/net to 0.13
2023-10-03 10:41:57 -04:00
Kern Walster
42dc8faba8
Bump x/net to 0.13
...
This silences govulncheck detecting
https://pkg.go.dev/vuln/GO-2023-1988 .
containerd does not directly use x/net
Signed-off-by: Kern Walster <walster@amazon.com >
2023-10-03 04:41:35 +00:00
Wei Fu
11a7751af5
*: add runc-fp as runc wrapper to inject failpoint
...
Signed-off-by: Wei Fu <fuweid89@gmail.com >
2023-10-02 17:44:41 +00:00
Bjorn Neergaard
79acce4621
integration: use mediatype helpers
...
Signed-off-by: Bjorn Neergaard <bjorn.neergaard@docker.com >
2023-09-27 13:12:54 -06:00
Sebastiaan van Stijn
4b1bb1293e
remove github.com/opencontainers/runc dependency
...
This migrates uses of github.com/opencontainers/runc/libcontainer/user
to the new github.com/moby/sys/user module, which was extracted from
runc at commit [opencontainers/runc@a3a0ec48c4 ].
This is the initial release of the module, which is a straight copy, but
some changes may be made in the next release (such as fixing camel-casing
in some fields and functions (Uid -> UID).
[opencontainers/runc@a3a0ec48c4 ]: a3a0ec48c4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-09-27 17:34:28 +02:00
Derek McGowan
650148313c
Add warning log for unknown config fields
...
Add error log for failure to parse toml
Signed-off-by: Derek McGowan <derek@mcg.dev >
2023-09-24 20:50:54 -07:00
Derek McGowan
b5615caf11
Update go-toml to v2
...
Updates host file parsing to use new v2 method rather than the removed
toml.Tree.
Signed-off-by: Derek McGowan <derek@mcg.dev >
2023-09-22 15:35:12 -07:00
Derek McGowan
2f1b92710a
Update zfs library to use new log repository
...
Signed-off-by: Derek McGowan <derek@mcg.dev >
2023-09-22 07:53:23 -07:00
Derek McGowan
508aa3a1ef
Move to use github.com/containerd/log
...
Add github.com/containerd/log to go.mod
Signed-off-by: Derek McGowan <derek@mcg.dev >
2023-09-22 07:53:23 -07:00
Sebastiaan van Stijn
d69ae811d6
alias log package to github.com/containerd/log v0.1.0
...
This "soft" deprecates the package, but keeps the local uses of the package,
which can make backporting this to release-branches easier (we can
still move all uses in those branches as well though).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-09-19 08:44:10 +02:00
Sebastiaan van Stijn
8cbb4ea5d3
vendor: github.com/containerd/nri v0.5.0
...
This version no longer has a dependency on containerd, cutting
down the number of circular dependencies.
full diff: https://github.com/containerd/nri/compare/v0.4.0...v0.5.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-09-16 10:40:21 +02:00
Fu Wei
fe17f65159
Merge pull request #8287 from kinvolk/rata/userns-stateless-idmap
...
Add support for userns in stateless and stateful pods with idmap mounts (KEP-127, k8s >= 1.27)
2023-09-14 18:14:02 +08:00
Rodrigo Campos
fce1b95076
go.mod: Update runtime spec to include features.MountExtensions
...
Future patches will use that field.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com >
2023-09-13 16:44:54 +02:00
Phil Estes
0f52935a53
Merge pull request #9088 from samuelkarp/nri
...
vendor: update github.com/containerd/nri@v0.4.0
2023-09-13 10:26:02 -04:00
Samuel Karp
39804bc3f0
Merge pull request #8909 from liggitt/fieldmask
2023-09-13 00:33:44 -07:00
Samuel Karp
6f9de91efc
vendor: update github.com/containerd/nri@v0.4.0
...
Signed-off-by: Samuel Karp <samuelkarp@google.com >
2023-09-12 16:41:05 -07:00
Sebastiaan van Stijn
05093d7c07
vendor: github.com/cncf-tags/container-device-interface v0.6.1
...
Removes uses of the github.com/opencontainers/runc/libcontainer/devices
package.
full diff: https://github.com/cncf-tags/container-device-interface/compare/v0.6.0...v0.6.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-09-08 13:53:43 +02:00
Jordan Liggitt
55b2df560f
go.mod: github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2
...
Signed-off-by: Jordan Liggitt <liggitt@google.com >
2023-09-07 16:53:10 -04:00
Derek McGowan
b11439fc4b
Merge pull request #9034 from thaJeztah/replace_reference
...
replace reference/docker for github.com/distribution/reference v0.5.0
2023-09-05 06:52:29 -07:00
Ilya Hanov
9d01ed1c32
integration: add test for idmapped mounts
...
Signed-off-by: Alexey Perevalov <alexey.perevalov@huawei.com >
Signed-off-by: Ilya Hanov <ilya.hanov@huawei-partners.com >
2023-09-05 01:23:30 +03:00
Sebastiaan van Stijn
9bc6441c21
vendor: github.com/google/uuid v1.3.1
...
Contains some performance improvements:
full diff: https://github.com/google/uuid/compare/v1.3.0...v1.3.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-09-01 11:49:50 +02:00
Sebastiaan van Stijn
4923470902
replace reference/docker for github.com/distribution/reference v0.5.0
...
The reference/docker package was a fork of github.com/distribution/distribution,
which could not easily be used as a direct dependency, as it brought many other
dependencies with it.
The "reference' package has now moved to a separate repository, which means
we can replace the local fork, and use the upstream implementation again.
The new module was extracted from the distribution repository at commit:
b9b19409cf
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-31 15:54:50 +02:00
Kirtana Ashok
fd5d92a7f5
Update hcsshim tag versioning to v0.12.0-rc.0
...
hcsshim tags v0.10.* is deprecated, so using the new
v0.12.0-rc.* versioning for hcsshim tags on containerd/main
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2023-08-29 17:41:20 -07:00
Akihiro Suda
490905be6f
go.mod: github.com/containerd/continuity v0.4.2
...
https://github.com/containerd/continuity/compare/1e0d26eb2381...v0.4.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-08-25 16:39:55 +09:00
Sebastiaan van Stijn
b76cd4d9fd
replace some fmt.Sprintfs with strconv
...
Teeny-tiny optimizations:
BenchmarkSprintf-10 37735996 32.31 ns/op 0 B/op 0 allocs/op
BenchmarkItoa-10 591945836 2.031 ns/op 0 B/op 0 allocs/op
BenchmarkFormatUint-10 593701444 2.014 ns/op 0 B/op 0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-08-23 16:43:02 +02:00
James Sturtevant
8399a4ee71
Remove temporary replace
...
Signed-off-by: James Sturtevant <jstur@microsoft.com >
2023-08-21 16:29:18 +00:00
Derek McGowan
465c04c289
Merge pull request #8946 from lengrongfu/feat/bump-client-go
...
bump client-go v0.26.4
2023-08-18 16:35:24 -07:00
Samuel Karp
3b32d3c6f2
Merge pull request #8922 from lengrongfu/feat/sync-image-action
...
feat: replace mcr.microsoft.com registry to ghcr.io/containerd registry
2023-08-17 00:59:46 -07:00
Akihiro Suda
f35d1f08ec
go.mod: github.com/opencontainers/runc v1.1.9
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-08-11 21:25:29 +09:00
rongfu.leng
b451fa96a6
bump client-go v0.26.4
...
Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io >
2023-08-11 00:30:03 +08:00
Kirtana Ashok
e7e5619fed
Update hcsshim tag to v0.10.0
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2023-08-09 11:55:54 -07:00
rongfu.leng
4f3c8c4687
replace mcr.microsoft.com registry to ghcr.io/containerd registry
...
Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io >
2023-08-06 21:14:07 +08:00
Markus Lehtonen
850b2e1bf3
go.mod: update cri-api to v1.28.0-beta.0
...
Required to support upcoming Kubernetes (v1.28) features.
Signed-off-by: Markus Lehtonen <markus.lehtonen@intel.com >
2023-07-24 14:49:14 +03:00
Akihiro Suda
bc96b9039a
go.mod: github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0
...
5330a85ea6...8075edf89b
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:01 +09:00
Akihiro Suda
da27408854
go.mod: google.golang.org/genproto v0.0.0-20230720185612-659f7aaaa771
...
ccb25ca9f1...659f7aaaa7
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:01 +09:00
Akihiro Suda
73dc13ad62
go.mod: github.com/urfave/cli/compare v1.22.14
...
https://github.com/urfave/cli/compare/v1.22.13...v1.22.14
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:00 +09:00
Akihiro Suda
1c4fc568b1
go.mod: github.com/prometheus/client_golang/compare v1.16.0
...
https://github.com/prometheus/client_golang/compare/v1.14.0...v1.16.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:00 +09:00
Akihiro Suda
68abb525a5
go.mod: github.com/minio/sha256-simd v1.0.1
...
https://github.com/minio/sha256-simd/compare/v1.0.0...v1.0.1
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:00 +09:00
Akihiro Suda
1f2216cc78
go.mod: github.com/klauspost/compress v1.16.7
...
https://github.com/imdario/mergo/compare/v0.3.13...v1.0.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:00 +09:00
Akihiro Suda
3c6ab04203
go.mod: dario.cat/mergo v1.0.0
...
https://github.com/imdario/mergo/compare/v0.3.13...v1.0.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:08:00 +09:00
Akihiro Suda
4bda0a69e2
go.mod: github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
...
https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.3.0...v1.4.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:59 +09:00
Akihiro Suda
0f033b6125
go.mod: github.com/emicklei/go-restful/v3 v3.10.2
...
https://github.com/emicklei/go-restful/compare/v3.10.1...v3.10.2
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:59 +09:00
Akihiro Suda
90e050298c
go.mod: github.com/containernetworking/plugin v1.3.0
...
https://github.com/containernetworking/plugins/compare/v1.2.0...v1.3.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:59 +09:00
Akihiro Suda
0498acefb9
go.mod: github.com/.../container-device-interface v0.6.0
...
https://github.com/container-orchestrated-devices/container-device-interface/compare/v0.5.4...v0.6.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:59 +09:00
Akihiro Suda
74b8cb850a
go.mod: github.com/opencontainers/runc v1.1.8
...
https://github.com/opencontainers/runc/compare/v1.1.7...v1.1.8
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:59 +09:00
Akihiro Suda
895dd2e93b
go.mod: github.com/opencontainers/image-spec v1.1.0-rc4
...
https://github.com/opencontainers/image-spec/compare/v1.1.0-rc3...v1.1.0-rc4
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:58 +09:00
Akihiro Suda
235a4452df
go.mod: github.com/opencontainers/runtime-spec v1.1.0
...
https://github.com/opencontainers/runtime-spec/compare/v1.1.0-rc.2...v1.1.0
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp >
2023-07-23 03:07:58 +09:00
Kirtana Ashok
56d80f81a2
Update hcsshim tag to v0.10.0-rc.9
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com >
2023-07-17 10:28:47 -07:00
Sebastiaan van Stijn
05fef52b68
vendor: github.com/containerd/zfs v1.1.0
...
- update github.com/mistifyio/go-zfs dependency to github.com/mistifyio/go-zfs/v3,
which contains various bugfixes, and adds go module support (which required a major
version update): https://github.com/mistifyio/go-zfs/compare/f784269be439...v3.0.1
- remove github.com/pkg/errors dependency
- various minor cleanups/fixes
Full diff: https://github.com/containerd/zfs/compare/v1.0.0...v1.1.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-07-06 11:56:07 +02:00
Fu Wei
fec3191abc
Merge pull request #8755 from dcantah/withbytesbuffers-chg
...
integration/client: Rework withBytesBuffers
2023-07-04 10:04:10 +08:00