427 Commits

Author SHA1 Message Date
Austin Vazquez
c039f53490 ci: bump Go 1.24.8
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
2025-10-08 17:45:00 -05:00
ningmingxiao
53d78b68d7 runc:Update runc binary to v1.3.1
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2025-09-04 23:54:28 +08:00
Wei Fu
363e02310b install-runhcs-shim: fetch target commit instead of tags
No idea why it blames lock during fetching.

```bash
...
 * [new tag]           v0.9.9           -> v0.9.9
error: cannot lock ref 'refs/tags/v0.6.3': Unable to create 'C:/Users/runneradmin/AppData/Local/Temp/tmp.N2FTxfARN9/.git/refs/tags/v0.6.3.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
+ cleanup
+ rm -rf /tmp/tmp.N2FTxfARN9
```

Signed-off-by: Wei Fu <fuweid89@gmail.com>
2025-08-29 00:08:40 -04:00
Krisztian Litkey
48f5d42558 script/test: clean up generated NRI test configuration.
Don't emit non-existing NRI options in the configuration
we generate for test.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
2025-08-22 13:11:16 +03:00
Maksym Pavlenko
1ce8e1ca0e Merge pull request #12073 from mikebrow/update-cri-tools
time to upgrade to 1.33 cri-tools
2025-08-18 21:46:55 +00:00
Kirtana Ashok
b595e0173e Update hcsshim to v0.14.0-rc.1
in preparation for containerd/2.2

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2025-08-18 11:08:05 -07:00
Austin Vazquez
db31fbc5a1 ci: bump Go 1.24.6
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
2025-08-07 08:59:03 -05:00
Mike Brown
b70b43f6b6 time to upgrade to 1.33 cri-tools
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2025-07-29 21:08:56 +00:00
Akhil Mohan
118a841474 ci: update crun to 1.22
https://github.com/containers/crun/releases/tag/1.22

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-07-17 14:10:56 +05:30
Austin Vazquez
c5ad254a3a ci: bump Go 1.24.5
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
2025-07-16 18:08:36 +00:00
Sebastiaan van Stijn
62bbdce7f5 update go-md2man binary to v2.0.7
We updated the vendored dependency, but the binary was still left
on an older version.

full diff: https://github.com/cpuguy83/go-md2man/compare/v2.0.2...v2.0.7

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-07-08 12:48:52 +02:00
Derek McGowan
4d89721f23 Merge pull request #11623 from yashsingh74/update-golangci-v2
ci: bump golangci from 6.5.2 to 7.0.0
2025-07-01 18:06:14 +00:00
Phil Estes
89b7202173 Merge pull request #12004 from austinvazquez/remove-unused-scripts-for-windows-2019
Remove unused Windows 2019 powershell scripts
2025-06-30 12:44:44 -04:00
Rehan Khan
621d661be8 Add coverage support for CRI integration tests
Signed-off-by: Rehan Khan <Rehan.Khan7@ibm.com>
2025-06-27 18:42:51 +05:30
Austin Vazquez
97bbc1f73a Remove unused Windows 2019 powershell scripts
Signed-off-by: Austin Vazquez <austin.vazquez.dev@gmail.com>
2025-06-19 15:32:46 -07:00
yashsingh74
ed7746656d ci: bump golangci from 6.5.2 to 7.0.0
Signed-off-by: yashsingh74 <yashsingh1774@gmail.com>
2025-06-18 14:16:41 +05:30
Austin Vazquez
415df38927 ci: bump Go 1.24.4 in CI
Signed-off-by: Austin Vazquez <austin.vazquez.dev@gmail.com>
2025-06-09 08:50:26 -06:00
Derek McGowan
f6ae79a0b6 Merge pull request #11834 from austinvazquez/bump-golang-versions-05062025-in-ci
ci: bump golang [1.23.9, 1.24.3] in build and release
2025-05-23 16:56:39 +00:00
Akhil Mohan
af24e463bc update runhcs to v0.13.0
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-05-13 20:49:38 +05:30
Austin Vazquez
fea77e15b5 ci: bump golang [1.23.9, 1.24.3] in build and release
Signed-off-by: Austin Vazquez <austin.vazquez.dev@gmail.com>
2025-05-11 20:57:35 -06:00
Austin Vazquez
4dfe4e8bef Update runc binary to v1.3.0
This is the first release of the 1.3.z release branch of runc. It
contains a few minor fixes for issues found in 1.3.0-rc.2.

This is the first release of runc that will follow our new release and
support policy (see RELEASES.md for more details). This means that, as
of this release:

    As of this release, the runc 1.2.z release branch will now only
    receive security and "significant" bugfixes.
    Users are encouraged to plan migrating to runc 1.3.0 as soon as
    possible.
    Due to its particular situation, runc 1.1.z is officially no longer
    supported and will no longer receive any updates (not even for
    critical security issues). Users are urged (in the strongest possible
    terms) to upgrade to a supported version of runc.
    Barring any future changes to our release policy, users should expect
    a runc 1.4.0 release in late October 2025.

full diff: https://github.com/opencontainers/runc/compare/v1.2.6...v1.3.0

Signed-off-by: Austin Vazquez <austin.vazquez.dev@gmail.com>
2025-05-01 22:27:46 -06:00
Akhil Mohan
3851bd5402 fix unbound SKIP_TEST variable error
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-05-01 15:46:44 +05:30
ningmingxiao
0dcdc1ffa7 bump:update cni to v1.7.1
Signed-off-by: ningmingxiao <ning.mingxiao@zte.com.cn>
2025-04-27 12:25:28 +08:00
Akhil Mohan
5629e9fff7 update to go 1.24.2, 1.23.8
- go1.23.8 (released 2025-04-01) includes security fixes to the net/http
  package, as well as bug fixes to the runtime and the go command.
  Ref: https://github.com/golang/go/issues?q=milestone%3AGo1.23.8+label%3ACherryPickApproved
- go1.24.2 (released 2025-04-01) includes security fixes to the net/http
  package, as well as bug fixes to the compiler, the runtime, the go
  command, and the crypto/tls, go/types, net/http, and testing packages.
  Ref: https://github.com/golang/go/issues?q=milestone%3AGo1.24.2+label%3ACherryPickApproved

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-04-17 11:49:22 +05:30
Akhil Mohan
8e6c93b6b0 add option to skip tests in critest
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
(cherry picked from commit 4ba3d82ca2)
2025-04-16 16:23:40 -04:00
yylt
cffb6d4250 downgrade cni version in CI test
Signed-off-by: yang yang <yang8518296@163.com>
2025-03-28 15:37:50 +08:00
Austin Vazquez
3e96f1a51c Update runc binary to v1.2.6
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2025-03-19 17:07:23 +00:00
Akhil Mohan
4f090fe772 update to go1.23.7 / go1.24.1
- go1.23.7 (released 2025-03-04) includes security fixes to the net/http
package, as well as bug fixes to cgo, the compiler, and the reflect,
runtime, and syscall packages. See the Go 1.23.7 milestone on our issue
tracker for details

- go1.24.1 (released 2025-03-04) includes security fixes to the net/http
package, as well as bug fixes to cgo, the compiler, the go command, and
the reflect, runtime, and syscall packages. See the Go 1.24.1 milestone
on our issue tracker for details.

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-03-09 18:58:28 +05:30
Kirtana Ashok
6c02321f6e Merge pull request #11179 from ambarve/blocked_cim
Support for importing layers in the block CIM format.
2025-02-24 22:21:10 +00:00
Austin Vazquez
938775864a Update runc binary to v1.2.5
This is the fifth patch release in the 1.2.z series of runc. It
primarily fixes an issue caused by an upstream systemd bug.

There was a regression in systemd v230 which made the way we define device
rule restrictions require a systemctl daemon-reload for our transient
units. This caused issues for workloads using NVIDIA GPUs. Workaround the
upstream regression by re-arranging how the unit properties are defined.
Dependency github.com/cyphar/filepath-securejoin is updated to v0.4.1,
to allow projects that vendor runc to bump it as well.
CI: fixed criu-dev compilation.
Dependency golang.org/x/net is updated to 0.33.0.

diff: opencontainers/runc@v1.2.4...v1.2.5

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2025-02-14 03:53:06 +00:00
Akihiro Suda
df99aa321a update to go 1.24.0 / go1.23.6
https://go.dev/doc/go1.24

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2025-02-13 03:20:15 +09:00
Amit Barve
a1c540085f Support for importing layers in the block CIM format.
Adds a new diff plugin that can import image layers in the block CIM format using the new
block CIM layer writer added in hcsshim repo.

This commit also makes another important change in the way a diff is applied when using
CimFS based layer writers. Currently, the diff plugins call archive.Apply to apply a diff
and pass a function (that can actually apply the diff) as an argument (via
archive.ApplyOptions). This allows the callers to call archive.Apply with either a custom
applier function or if the caller doesn't pass such a function archive.Apply uses the
default naive diff applier.
However, there is drawback to this approach. The applier function passed to the
`archive.Apply` call needs to follow a specific signature. This signature expects it that
all parent layers are represented as an array of strings. In cases like CimFS, we can't
easily represent a set of layers as strings (unless we encode extra data in those strings
in a hacky way). To get around this problem, the diff plugins for CimFS based layers, skip
the archive.Apply call and directly call the layer writer instead.

Signed-off-by: Amit Barve <ambarve@microsoft.com>
2025-02-10 14:10:37 -05:00
Fu Wei
306c47f6e1 Merge pull request #10033 from ambarve/cimfs_layer_refactor
Update cimfs snapshotter & differ for new hcsshim interface
2025-01-22 19:49:36 +00:00
Akhil Mohan
157faf65c5 update to go1.23.5 / go1.22.11
- go1.23.5 (released 2025-01-16) includes security fixes to the
crypto/x509 and net/http packages, as well as bug fixes to the compiler,
the runtime, and the net package. See the Go 1.23.5 milestone on our
issue tracker for details.

- go1.22.11 (released 2025-01-16) includes security fixes to the
crypto/x509 and net/http packages, as well as bug fixes to the runtime.
See the Go 1.22.11 milestone on our issue tracker for details.

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-01-18 14:19:11 +05:30
Amit Barve
b81ace8724 Update cimfs snapshotter & differ for new hcsshim interface
hcsshim recently [updated](microsoft/hcsshim@1d406d0) the interface of APIs that are used
for importing OCI layers. It now expects that the CimFS snapshotter mounts contain the
full cim paths for parent layers. This change updates the cimfs differ & snapshotter to
use that new interface.

Signed-off-by: Amit Barve <ambarve@microsoft.com>
2025-01-10 17:06:57 -05:00
Maksym Pavlenko
82cb7d4be3 Merge pull request #11240 from lifupan/main_fix_ci
ci: fix the issue of config_file unset
2025-01-10 03:35:16 +00:00
Kazuyoshi Kato
5ad6a150b6 Merge pull request #11189 from djdongjin/move-to-go-native-fuzz
Move fuzz tests to go native fuzz [part1]
2025-01-10 01:27:14 +00:00
Fupan Li
e1aeb37cdf ci: fix the issue of config_file unset
The config_file var wasn't set when CONTAINERD_CONFIG_FILE
env was passed, thus it should use  CONTAINERD_CONFIG_FILE
instead of config_file to access the containerd conf file.

Signed-off-by: Fupan Li <fupan.lfp@antgroup.com>
2025-01-09 17:34:21 +08:00
Akhil Mohan
54ed595e1d update runc binary to v1.2.4
This is the fourth patch release of the 1.2.z release branch of runc. It
includes a fix for a regression introduced in 1.2.0 related to the
default device list.

- Re-add tun/tap devices to built-in allowed devices lists.

  In runc 1.2.0 we removed these devices from the default allow-list
(which were added seemingly by accident early in Docker's history) as
a precaution in order to try to reduce the attack surface of device
inodes available to most containers. At the time we thought
that the vast majority of users using tun/tap would already be
specifying what devices they need (such as by using --device with
Docker/Podman) as opposed to doing the mknod manually, and thus
there would've been no user-visible change.

  Unfortunately, it seems that this regressed a noticeable number of
users (and not all higher-level tools provide easy ways to specify
devices to allow) and so this change needed to be reverted. Users
that do not need these devices are recommended to explicitly disable
them by adding deny rules in their container configuration.

diff: https://github.com/opencontainers/runc/compare/v1.2.3...v1.2.4

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2025-01-08 08:26:44 +05:30
mahmut
4f2f12be6d Bump seccomp version to be the same as one in runc repo
runc-seccomp: d48d9cfefc/script/seccomp.sh (L10)

Signed-off-by: mahmut <mahmut@uniontech.com>
2024-12-26 11:18:54 +08:00
Jin Dong
2de1030299 Move fuzz tests to go native fuzz [part1]
Signed-off-by: Jin Dong <djdongjin95@gmail.com>
2024-12-24 22:48:20 +00:00
David Son
fa531f808b Update golangci-lint version in dev tools script
Signed-off-by: David Son <davbson@amazon.com>
2024-12-18 22:30:32 +00:00
Sebastiaan van Stijn
981414521b update runc binary to v1.2.3
This is the third patch release of the 1.2.z release branch of runc. It
primarily fixes some minor regressions introduced in 1.2.0.

- Fixed a regression in use of securejoin.MkdirAll, where multiple
  runc processes racing to create the same mountpoint in a shared rootfs
  would result in spurious EEXIST errors. In particular, this regression
  caused issues with BuildKit.
- Fixed a regression in eBPF support for pre-5.6 kernels after upgrading
  Cilium's eBPF library version to 0.16 in runc.

full diff: https://github.com/opencontainers/runc/compare/v1.2.2...v1.2.3
release notes: https://github.com/opencontainers/runc/releases/tag/v1.2.3

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-12-11 21:30:06 +01:00
Akhil Mohan
81780a5dd3 update to go1.23.4 / go1.22.10
- go1.23.4 (released 2024-12-03) includes fixes to the compiler, the runtime,
the trace command, and the syscall package. See the Go 1.23.4 milestone on
our issue tracker for details.
https://github.com/golang/go/issues?q=milestone%3AGo1.23.4+label%3ACherryPickApproved

- go1.22.10 (released 2024-12-03) includes fixes to the runtime and the
syscall package. See the Go 1.22.10 milestone on our issue tracker for details.
https://github.com/golang/go/issues?q=milestone%3AGo1.22.10+label%3ACherryPickApproved

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-12-05 11:56:10 +05:30
Sameer
34284c5075 Add tests for CNI v2 loopback options
Signed-off-by: Sameer <sameer.saeed@live.ca>
2024-11-19 18:43:31 -05:00
Samuel Karp
50bdcb0d81 Merge pull request #11019 from jingxu97/patch-3
Update install-imgcrypt to allow change install repo
2024-11-18 18:13:23 +00:00
Austin Vazquez
9a7bc5423e update runc binary to 1.2.2
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
2024-11-18 16:21:14 +00:00
Jing Xu
f8819df7c4 Update install-imgcrypt to allow change install repo
Add repo env similar to other install script

Signed-off-by: Jing Xu <jinxu@google.com>
2024-11-17 18:16:12 -08:00
Akhil Mohan
bcc3cc968a update to go1.23.3 / go1.22.9
- go1.23.3 (released 2024-11-06) includes fixes to the linker, the
runtime, and the net/http, os, and syscall packages. See the
Go 1.23.3 milestone on our issue tracker for details.

- go1.22.9 (released 2024-11-06) includes fixes to the linker. See
the Go 1.22.9 milestone on our issue tracker for details

Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2024-11-08 00:00:46 +05:30
Akihiro Suda
edb980ac0f update runc binary to 1.2.1
https://github.com/opencontainers/runc/releases/tag/v1.2.0
https://github.com/opencontainers/runc/releases/tag/v1.2.1

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-11-02 07:34:02 +09:00