Samuel Karp
6948d89e56
Merge pull request #7625 from AdamKorcz/fuzz2
2022-11-09 17:45:58 -08:00
AdamKorcz
b742aa2e77
fuzzing: bump go-fuzz-headers
...
Signed-off-by: AdamKorcz <adam@adalogics.com>
2022-11-09 14:30:30 +00:00
Kazuyoshi Kato
d4b3b54540
Merge pull request #7637 from lucacome/bump-k8s-deps
...
Bump k8s.io deps to v0.25.3
2022-11-08 10:13:53 -08:00
Kazuyoshi Kato
3fd52c852f
Merge pull request #7641 from thaJeztah/fix_usage_of_deprecated_funcs
...
Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex
2022-11-08 10:13:13 -08:00
Phil Estes
b850554be2
Merge pull request #7640 from nikitar/main
...
Extra documentation for content interfaces
2022-11-08 11:50:22 -05:00
Maksym Pavlenko
530c675841
Merge pull request #7638 from mxpv/perm
...
Fix shim socket permissions on Darwin
2022-11-08 07:34:02 -08:00
Sebastiaan van Stijn
717aa5929d
Remove uses of deprecated go-digest.NewDigestFromHex, go-digest.Digest.Hex
...
Both of these were deprecated in 55f675811a
,
but the format of the GoDoc comments didn't follow the correct format, which
caused them not being picked up by tools as "deprecated".
This patch updates uses in the codebase to use the alternatives.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-08 14:47:05 +01:00
Maksym Pavlenko
3a9044f240
Rename darwin-kubelet to containerd
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-11-07 22:58:25 -08:00
Nikita Rybak
5f48e00af1
Extra documentation for content interfaces.
...
Fixes : #7305
Signed-off-by: Nikita Rybak <nikita.rybak@gmail.com>
2022-11-08 15:55:39 +11:00
Luca Comellini
202abf8fc1
Bump k8s.io deps to v0.25.3
...
Signed-off-by: Luca Comellini <luca.com@gmail.com>
2022-11-07 15:30:06 -08:00
Derek McGowan
d1564fec5b
Merge pull request #7614 from huoqifeng/s390x
...
s390x: build and package s390x bin in release assets
2022-11-07 12:08:43 -08:00
Derek McGowan
816f7086bd
Merge pull request #7513 from cpuguy83/nix_mount_fork
...
Replace mount fork hack with CLONE_FS
2022-11-07 09:35:40 -08:00
Derek McGowan
31bb8fef7e
Merge pull request #7460 from AkihiroSuda/fetch-by-digest
...
remotes: add `FetcherByDigest` for fetching blobs without foreknown descriptors (useful for general-purpose CAS)
2022-11-04 15:20:29 -07:00
Kazuyoshi Kato
88dc30af12
Merge pull request #7403 from kit-ty-kate/freebsd-arm64
...
Fix "getCPUInfo for OS freebsd: not implemented" on FreeBSD/arm64
2022-11-04 10:22:30 -07:00
Kazuyoshi Kato
e306680f44
Merge pull request #7607 from jess-sol/main
...
Support default hosts.toml configuration
2022-11-04 10:22:00 -07:00
Kate
f32595a0c2
Fix "getCPUInfo for OS freebsd: not implemented" on FreeBSD/arm64
...
Signed-off-by: Kate <kit.ty.kate@disroot.org>
2022-11-04 12:31:03 +00:00
Maksym Pavlenko
b2a01eedf4
Merge pull request #7453 from swagatbora90/trace-cri-image
...
Add tracing spans in CRI image service and pull.go
2022-11-03 20:57:17 -07:00
Maksym Pavlenko
525fe21e22
Merge pull request #7604 from wzshiming/fix/close-fifo
...
Fix missing closed fifo
2022-11-03 20:55:28 -07:00
Maksym Pavlenko
9a5430dbee
Merge pull request #7624 from yzxiu/fix-comments
...
fix comments
2022-11-03 20:54:13 -07:00
Akihiro Suda
11a06c1a3d
ctr: add ctr content fetch-blob
...
e.g., `ctr content fetch-blob docker.io/library/debian:latest sha256:43d28810c1b4c28a1be3bac8e0e40fcc472b2bfcfcda952544ed99cb874d2b1a`
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-04 11:41:11 +09:00
Akihiro Suda
dfd6a3aa6e
remotes: add FetcherByDigest for fetching blobs without foreknown descriptors
...
Fetching blobs without foreknown descriptors is useful for using a registry as a general-purpose CAS.
Related: `oras blob fetch` (ORAS v0.15.0)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-04 11:41:07 +09:00
Shiming Zhang
c607f83c38
Fix missing closed fifo
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2022-11-04 10:13:47 +08:00
Brian Goff
a24ef09937
Replace mount fork hack with CLONE_FS
...
This change spins up a new goroutine, locks it to a thread, then
unshares CLONE_FS which allows us to `Chdir` from inside the thread
without affecting the rest of the program.
The thread is no longer usable after unshare so it leaves the thread
locked to prevent go from returning the thread to the thread pool.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2022-11-03 22:30:35 +00:00
Jess
8b1b81eefd
Update hosts doc
...
Signed-off-by: Jess <jess@ros.io>
2022-11-03 16:26:59 -06:00
Jess
f0bf9e7f8b
Support default hosts.toml configuration
...
Add support for an optional `default` registry hosts config, should no
other hosts config match.
Signed-off-by: Jess <jess@ros.io>
2022-11-03 16:26:51 -06:00
Kazuyoshi Kato
c21d1baa88
Merge pull request #7626 from akhilerm/update-cherry-pick-process
...
docs: add additional info in backport process
2022-11-03 13:56:14 -07:00
Swagat Bora
ee64926a72
add SpanAttribute
...
Signed-off-by: Swagat Bora <sbora@amazon.com>
2022-11-03 18:34:06 +00:00
Akhil Mohan
2d9f0f2fbd
add additional info in backport process
...
add information in backporting process related to cherry-picking
main PR and related fixes
Signed-off-by: Akhil Mohan <makhil@vmware.com>
2022-11-03 23:50:39 +05:30
Swagat Bora
3b87d46ce2
Add tracing spans in CRI image service and pull.go
...
Signed-off-by: Swagat Bora <sbora@amazon.com>
Add spans around image unpack operations
Use image.ref to denote image name and image.id for the image config digest
Add top-level spand and record errors in the CRI instrumentation service
2022-11-03 17:03:43 +00:00
Kazuyoshi Kato
bb0c3804c6
Merge pull request #7621 from AkihiroSuda/go-mod-sys-v0.1.0
...
go.mod: golang.org/x/*: use tagged versions
2022-11-03 08:58:21 -07:00
yaozhenxiu
902b96cf25
fix comments
...
Signed-off-by: yaozhenxiu <946666800@qq.com>
2022-11-03 22:52:41 +08:00
Akihiro Suda
30c3078ae4
go.mod: golang.org/x/*: use tagged versions
...
golang.org/x/oauth2 is not updated due to its complex dependencies
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-11-03 10:18:31 +09:00
Kazuyoshi Kato
4e3d7e0aba
Merge pull request #7620 from cpuguy83/bump_go
...
Bump go version to 1.19.3
2022-11-02 15:41:41 -07:00
Derek McGowan
49f96d8f7d
Merge pull request #7615 from turan18/export-bug
...
ctr export strictly matching
2022-11-02 14:36:56 -07:00
Brian Goff
422a240666
Bump go version to 1.19.3
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2022-11-02 19:54:42 +00:00
Kazuyoshi Kato
8c5baf4ebb
Merge pull request #7617 from mxpv/ctr-fix
...
Fix ctr crash when pulling with --http-dump and --http-trace simultaneously
2022-11-02 07:58:18 -07:00
Phil Estes
58587d3a8a
Merge pull request #7599 from cji/cji-hardenperms
...
Harden GITHUB_TOKEN permissions for OSSF Scorecard
2022-11-02 10:51:08 -04:00
Maksym Pavlenko
9c2a634408
Fix ctr crash when pulling with http-trace and http-dump
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-11-01 16:28:39 -07:00
Phil Estes
740c9335be
Merge pull request #7611 from dcantah/fast-path-userxattr
...
overlayutils: Add fastpath for userxattr check
2022-11-01 16:08:34 -04:00
Yasin Turan
78ac0046a7
ctr export strictly match default platform
...
Signed-off-by: Yasin Turan <turyasin@amazon.com>
2022-11-01 17:35:30 +00:00
Derek McGowan
68ff465fb6
Merge pull request #7606 from mxpv/diagram
...
Add sequence diagram for shim runtime v2
2022-11-01 10:18:47 -07:00
Derek McGowan
866389c949
Merge pull request #7600 from dcantah/sandbox-proxy
...
Sandbox API: Move remote impls to /sandbox/proxy
2022-11-01 10:11:14 -07:00
Craig Ingram
a270d6e8ae
Harden GITHUB_TOKEN permissions
...
Signed-off-by: Craig Ingram <cjingram@google.com>
2022-11-01 10:56:38 -04:00
huoqifeng
98269c0619
s390x: initial enabler
...
Signed-off-by: huoqifeng <huoqif@cn.ibm.com>
2022-11-01 13:15:15 +08:00
Danny Canter
4b2a23e7ea
overlayutils: Add fastpath for userxattr check
...
Cleaning up TODO's. If we're on >= 5.11 we need userxattr so check
the kernel version to skip the manual check via mounting. It feels
odd to use contrib/seccomp here but the alternative is pulling that
kernel parsing code out into the main pkgs. Another is using the moby
parser but that's in moby/moby which is also a dep we don't want here..
Signed-off-by: Danny Canter <danny@dcantah.dev>
2022-10-31 17:19:23 -07:00
Maksym Pavlenko
2da7824683
Add sequence diagram for shim runtime v2
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2022-10-31 15:45:28 -07:00
Danny Canter
0be981595d
Sandbox API: Move remote impls to /sandbox/proxy
...
Following how some of the other stores/services are returned in the
client package, it makes sense to me to move the remoteFooBars in
the sandbox API to a proxy sub-package under /sandbox. Given this
has only been in a 1.7 beta, I hope this is fine to move around still.
Signed-off-by: Danny Canter <danny@dcantah.dev>
2022-10-28 14:47:09 -07:00
Samuel Karp
8167751f56
Merge pull request #7588 from AdamKorcz/fuzz1
2022-10-28 11:22:28 -07:00
AdamKorcz
2e83d885dc
fuzzing: improve archive fuzzer
...
Signed-off-by: AdamKorcz <adam@adalogics.com>
2022-10-28 03:43:23 +01:00
Samuel Karp
d577ef872a
Merge pull request #7537 from swagatbora90/fix-client-wait-start
2022-10-26 18:31:19 -07:00