stevenhorsman
290fda9b97
agent-ctl: Bump image-rs version
...
I notices that agent-ctl is including a 9 month old version of
image-rs and the libs crates haven't been update for potentially
many years, so bump all of these.
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-06-25 16:30:58 +01:00
Fabiano Fidêncio
69c706b570
Merge pull request #11441 from stevenhorsman/protobuf-3.7.2-bump
...
versions: Bump protobuf to 3.7.2
2025-06-25 13:47:28 +02:00
stevenhorsman
e204847df5
agent-ctl: Replace removed clap functions
...
When moving from clap v2 to v4 a bunch of
functions have been removed, so update the code
to handle these replacements
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-06-21 17:15:12 +01:00
dependabot[bot]
0aa80313eb
build(deps): bump the clap group across 6 directories with 1 update
...
Bumps the clap group with 1 update in the /src/agent directory: [clap](https://github.com/clap-rs/clap ).
Bumps the clap group with 1 update in the /src/tools/agent-ctl directory: [clap](https://github.com/clap-rs/clap ).
Bumps the clap group with 1 update in the /src/tools/genpolicy directory: [clap](https://github.com/clap-rs/clap ).
Bumps the clap group with 1 update in the /src/tools/kata-ctl directory: [clap](https://github.com/clap-rs/clap ).
Bumps the clap group with 1 update in the /src/tools/runk directory: [clap](https://github.com/clap-rs/clap ).
Bumps the clap group with 1 update in the /src/tools/trace-forwarder directory: [clap](https://github.com/clap-rs/clap ).
Updates `clap` from 3.2.25 to 4.5.37
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.37
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.37
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.37
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.37
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.37
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.1.8 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.1.8 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.1.8 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.1.8 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.1.8 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.1.8 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.4.10 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.4.10 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.4.10 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.4.10 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.4.10 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 4.4.10 to 4.5.13
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 3.2.25 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
Updates `clap` from 2.34.0 to 4.5.40
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.25...clap_complete-v4.5.37 )
---
updated-dependencies:
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.37
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.13
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.13
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.13
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.13
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.13
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.13
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
- dependency-name: clap
dependency-version: 4.5.40
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: clap
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-21 17:15:12 +01:00
stevenhorsman
900d9be55e
build(deps): bump rustix in various components
...
Bumps of rustix 0.36, 0.37 and 0.38 to resolve
CVE-2024-43806
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-06-20 14:52:43 -05:00
stevenhorsman
0f1c326ca0
versions: Bump protobuf to 3.7.2
...
Now we are decoupled from the image-rs crate,
we can bump the protobuf version across our project
to resolve the GHSA-2gh3-rmm4-6rq5 advisory
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-06-20 20:52:04 +01:00
dependabot[bot]
1e6962e4a8
build(deps): bump the tracing group across 7 directories with 1 update
...
Bumps the tracing group with 1 update in the /src/dragonball directory: [tracing](https://github.com/tokio-rs/tracing ).
Bumps the tracing group with 1 update in the /src/libs directory: [tracing](https://github.com/tokio-rs/tracing ).
Bumps the tracing group with 1 update in the /src/tools/agent-ctl directory: [tracing](https://github.com/tokio-rs/tracing ).
Bumps the tracing group with 1 update in the /src/tools/genpolicy directory: [tracing](https://github.com/tokio-rs/tracing ).
Bumps the tracing group with 1 update in the /src/tools/kata-ctl directory: [tracing](https://github.com/tokio-rs/tracing ).
Bumps the tracing group with 1 update in the /src/tools/runk directory: [tracing](https://github.com/tokio-rs/tracing ).
Bumps the tracing group with 1 update in the /src/tools/trace-forwarder directory: [tracing](https://github.com/tokio-rs/tracing ).
Updates `tracing` from 0.1.37 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
Updates `tracing` from 0.1.34 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
Updates `tracing` from 0.1.37 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
Updates `tracing` from 0.1.37 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
Updates `tracing` from 0.1.40 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
Updates `tracing` from 0.1.40 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
Updates `tracing` from 0.1.29 to 0.1.41
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.41 )
---
updated-dependencies:
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
- dependency-name: tracing
dependency-version: 0.1.41
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: tracing
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-12 15:45:35 +00:00
Ruoqing He
5011253818
agent-ctl: Bump ttrpc-codegen related dependencies
...
Bump `ttrpc-codegen` related dependencies in response to `ttrpc-codegen`
bump in `libs/protocol`.
Relates: #11376
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn >
2025-06-11 13:50:10 +00:00
Ruoqing He
3d64b11454
kata-ctl: Fix clippy question_mark
...
Manually fix `question_mark` clippy warning reported by rust 1.85.1.
```console
error: this `match` expression can be replaced with `?`
--> src/ops/check_ops.rs:49:13
|
49 | let f = match get_builtin_check_func(check) {
| _____________^
50 | | Ok(fp) => fp,
51 | | Err(e) => return Err(e),
52 | | };
| |_____^ help: try instead: `get_builtin_check_func(check)?`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
= note: `-D clippy::question-mark` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::question_mark)]`
```
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn >
2025-06-11 13:50:10 +00:00
RuoqingHe
393cc61153
Merge pull request #11241 from kata-containers/dependabot/cargo/src/tools/agent-ctl/ring-0.17.14
...
build(deps): bump ring from 0.17.8 to 0.17.14 in /src/tools/agent-ctl
2025-05-14 16:20:33 +02:00
stevenhorsman
fcc60b514b
versions: Bump hyper version
...
Bump hyper version to update and remediate CVE-2023-26964
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-05-09 16:09:22 +01:00
stevenhorsman
7807e6c29a
versions: Bump byte-unit and rust_decimal
...
Bump the crates to update them and pull in a
newer version of borsh to remediate RUSTSEC-2023-0033
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-05-09 16:09:22 +01:00
dependabot[bot]
96885a8449
build(deps): bump ring from 0.17.8 to 0.17.14 in /src/tools/agent-ctl
...
Bumps [ring](https://github.com/briansmith/ring ) from 0.17.8 to 0.17.14.
- [Changelog](https://github.com/briansmith/ring/blob/main/RELEASES.md )
- [Commits](https://github.com/briansmith/ring/commits )
---
updated-dependencies:
- dependency-name: ring
dependency-version: 0.17.14
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-07 12:18:56 +00:00
stevenhorsman
6030a64f0c
build(deps): bump tokio to 1.44.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from to 1.44.2
in all components to resolve the security vuln throughout our repo
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-05-06 11:38:52 +01:00
stevenhorsman
ffbaa793a3
versions: Update crossbeam-channel
...
Update all crossbeam-channel for all non-agent
packages (it was done separately in #11175 )
to 0.5.15 to get them on latest version and remove
the versions with a vulnerability
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-04-30 19:36:40 +01:00
stevenhorsman
2ee7ef6aa3
versions: agent-ctl: Bump hashbrown
...
Bump hashbrown to >= 0.15.1 to remediate the high severity
security alert that was in v0.15.0
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-04-28 14:55:46 +01:00
Ruoqing He
265a751837
build: Drop redundant ARCH override
...
There are many `override ARCH = powerpc64le` after where `utils.mk` is
included, which are redundant.
Drop those redundant `override`s.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn >
2025-02-24 22:04:28 +08:00
stevenhorsman
17b1e94f1a
cargo: Update time crate
...
So it avoids us hitting
```
error[E0282]: type annotations needed for `Box<_>`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.31/src/format_description/parse/mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
help: consider giving `items` an explicit type, where the placeholders `_` are specified
|
83 | let items: Box<_> = format_items
| ++++++++
```
Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org >
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2025-02-05 15:16:47 +00:00
Fabiano Fidêncio
a8678a7794
deps: Update ttrpc to v0.8.4
...
Update the ttrpc crate to include the fix from Moritz Sanft, which
solves the connectivity issues with 6.12.x kernels*
*: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.9&id=3257813a3ae7462ac5cde04e120806f0c0776850
Signed-off-by: Fabiano Fidêncio <fabiano@fidencio.org >
2025-01-22 13:05:43 +01:00
Hui Zhu
2b6caf26e0
agent-ctl: Add mem-agent API support
...
Add sub command MemAgentMemcgSet and MemAgentCompactSet to agent-ctl to
configate the mem-agent inside the running kata-containers.
Fixes : #10625
Signed-off-by: Hui Zhu <teawater@antgroup.com >
2024-12-06 10:00:24 +08:00
Sumedh Alok Sharma
4b7aba5c57
agent-ctl: Add support to test kata-agent's container creation APIs.
...
This commit introduces changes to enable testing kata-agent's container
APIs of CreateContainer/StartContainer/RemoveContainer. The changeset
include:
- using confidential-containers image-rs crate to pull/unpack/mount a
container image. Currently supports only un-authenicated registry pull
- re-factor api handlers to reduce cmdline complexity and handle
request generation logic in tool
- introduce an OCI config template for container creation
- add test case
Fixes #9707
Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com >
2024-11-01 22:18:54 +05:30
Markus Rudy
091a410b96
kata-sys-util: move json parsing to protocols crate
...
The parse_json_string function is specific to parsing capability strings
out of ttRPC proto definitions and does not benefit from being available
to other crates. Moving it into the protocols crate allows removing
kata-sys-util as a dependency, which in turn enables compiling the
library on darwin.
Fixes : #10071
Signed-off-by: Markus Rudy <mr@edgeless.systems >
2024-10-31 09:41:07 +01:00
Markus Rudy
8ab4bd2bfc
kata-sys-util: remove obsolete cgroups dependency
...
The cgroups.rs source file was removed in
234d7bca04 . With cgroups support handled
in runtime-rs, the cgroups dependency on kata-sys-util can be removed.
Signed-off-by: Markus Rudy <mr@edgeless.systems >
2024-10-31 09:41:07 +01:00
Sumedh Alok Sharma
18c887f055
agent-ctl: Add SetPolicy support
...
This patch adds support to call kata agents SetPolicy
API. Also adds tests for SetPolicy API using agent-ctl.
Fixes #9711
Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com >
2024-09-18 10:53:49 +05:30
Sumedh Alok Sharma
2af1113426
agent-ctl: Refactor CopyFile handler
...
In the existing implementation for the CopyFile subcommand,
- cmd line argument list is too long, including various metadata information.
- in case of a regular file, passing the actual data as bytes stream adds to the size and complexity of the input.
- the copy request will fail when the file size exceeds that of the allowed ttrpc max data length limit of 4Mb.
This change refactors the CopyFile handler and modifies the input to a known 'source' 'destination' syntax.
Fixes #9708
Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com >
2024-09-11 10:54:01 +05:30
Alex Lyn
c500fd5761
agent-ctl: Align agent-ctl OCI Spec with oci-spec-rs
...
This commit aligns the OCI Spec used within agent-ctl
with the oci-spec-rs definition and operations. This
enhancement ensures that agent-ctl adheres to the latest
OCI standards and provides a more consistent and reliable
experience for managing container images and configurations.
Fixes #9766
Signed-off-by: Alex Lyn <alex.lyn@antgroup.com >
2024-07-25 17:47:01 +08:00
stevenhorsman
3bb1a67d80
agent-ctl: Update rustjail dependencies
...
- Run `cargo update -p rustjail` to pick up rustjail's bump of
tokio to 1.38.0 to fix the security vulnerability
https://rustsec.org/advisories/RUSTSEC-2024-0019
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2024-06-17 13:03:01 +01:00
Amulyam24
a4b5447924
tools: fix makefile spacing
...
This minor PR removes the extra space in the makefiles.
Signed-off-by: Amulyam24 <amulmek1@in.ibm.com >
2024-01-18 16:31:13 +01:00
Xuewei Niu
f97f16a44a
agent-ctl: Bump ttrpc version
...
- `ttrpc` from `0.7.1` to `0.8`.
Fixes : #8757
Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com >
2024-01-04 15:58:34 +08:00
Beraldo Leal
c5d845b30a
agent: updating Cargo.lock files
...
Probably previous changes missed updating Cargo.lock.
Signed-off-by: Beraldo Leal <bleal@redhat.com >
2023-11-06 16:49:58 +00:00
Beraldo Leal
730ef51693
deps: updating dependencies
...
Updating dependencies after make check, make test.
Signed-off-by: Beraldo Leal <bleal@redhat.com >
2023-09-19 16:54:35 -04:00
stevenhorsman
3eaf68d954
agent-ctl: Allow clippy lint
...
- Allow `clippy::redundant-closure-call`
which has issues with the guard function passed into
the `run_if_auto_values` macro
Fixes : #7902
Signed-off-by: stevenhorsman <steven@uk.ibm.com >
2023-09-12 11:31:49 +01:00
Yushuo
410bc18143
agent-ctl: fix the compile error
...
When the version of libc is upgraded to 0.2.145, older getrandom could not adapt
to new API, and this will make agent-ctl fail to compile.
We upgrade the version of `rand`, so the low version of getrandom will no longer
need.
Fixes : #7032
Signed-off-by: Yushuo <y-shuo@linux.alibaba.com >
2023-06-05 21:48:36 +08:00
Amulya Meka
76f975e5e6
Merge pull request #6742 from Amulyam24/agent-build
...
runtime: remove overriding ARCH value by default for ppc64le
2023-05-12 12:34:50 +05:30
Amulyam24
defb643346
runtime: remove overriding ARCH value by default for ppc64le
...
Currently, ARCH value is being set to powerpc64le by default.
powerpc64le is only right in context of rust and any operation
which might use this variable for a different purpose would fail on ppc64le.
Fixes : #6741
Signed-off-by: Amulyam24 <amulmek1@in.ibm.com >
2023-04-27 16:17:48 +05:30
alex.lyn
17daeb9dd7
warning_fix: fix warnings when build with cargo-1.68.0
...
Fixes : #6593
Signed-off-by: alex.lyn <alex.lyn@antgroup.com >
2023-04-27 10:29:50 +08:00
Tim Zhang
76d2e30547
agent-ctl: Bump ttrpc from 0.6.0 to 0.7.1
...
Fixes : #6646
Signed-off-by: Tim Zhang <tim@hyper.sh >
2023-04-17 19:49:21 +08:00
Eduardo Lima (Etrunko)
a8b55bf874
dependency: update cgroups-rs
...
Huge pages failure with cgroups v2.
https://github.com/kata-containers/cgroups-rs/issues/112
Fixes : #6470
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com >
2023-03-15 12:21:12 -03:00
Archana Shinde
94b1d9814c
cargo: Update Cargo.lock files
...
The cargo.locks file under src/libs and agent-ctl seem to be outdated.
Updating these.
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com >
2023-02-08 13:50:54 -08:00
Bin Liu
64c9114a39
tools: add --locked option for cargo install
...
There is a broken release of cgroup-rs, but cargo install will not use
the version in Cargo.lock, so add the `--locked` option to use the version
specified in the Cargo.toml
Fixes : #5376
Signed-off-by: Bin Liu <bin@hyper.sh >
2023-01-11 19:34:46 +08:00
GabyCT
013752667b
Merge pull request #5776 from liubin/tmp/debug-static-check
...
ci: let static checks don't depend on build
2022-11-28 07:51:42 -06:00
Bin Liu
e723bad0af
ci: let static checks don't depend on build
...
Build is a time consumable operation, skip build while let
ci run faster.
Fixes : #5777
Signed-off-by: Bin Liu <bin@hyper.sh >
2022-11-28 15:26:04 +08:00
Yuan-Zhuo
d7bb4b5512
agent: support systemd cgroup for kata agent
...
1. Implemented a rust module for operating cgroups through systemd with the help of zbus (src/agent/rustjail/src/cgroups/systemd).
2. Add support for optional cgroup configuration through fs and systemd at agent (src/agent/rustjail/src/container.rs).
3. Described the usage and supported properties of the agent systemd cgroup (docs/design/agent-systemd-cgroup.md).
Fixes : #4336
Signed-off-by: Yuan-Zhuo <yuanzhuo0118@outlook.com >
2022-10-25 13:57:09 +08:00
James O. D. Hunt
662ce3d6f2
Merge pull request #5086 from Yuan-Zhuo/main
...
docs: fix unix socket address in agent-ctl doc
2022-09-05 09:24:28 +01:00
Yuan-Zhuo
5f4f5f2400
docs: fix unix socket address in agent-ctl doc
...
Following the instructions in guidance doc will result in the ECONNREFUSED,
thus we need to keep the unix socket address in the two commands consistent.
Fixes : #5085
Signed-off-by: Yuan-Zhuo <yuanzhuo0118@outlook.com >
2022-09-02 17:37:44 +08:00
Derek Lee
52bbc3a4b0
cargo.lock: update crates to comply with checks
...
Updates versions of crossbeam-channel because 0.52.0 is a yanked package
(creators mark version as not for release except as a dependency for
another package)
Updates chrono to use >0.42.0 to avoid:
https://rustsec.org/advisories/RUSTSEC-2020-0159
Updates lz4-sys.
Signed-off-by: Derek Lee <derlee@redhat.com >
2022-08-30 10:08:41 -07:00
Derek Lee
7914da72c9
cargo.tomls: Added Apache 2.0 to cargo.tomls
...
One of the checks done by cargo-deny is ensuring all crates have a valid
license. As the rust programs import each other, cargo.toml files
without licenses trigger the check. While I could disable this check
this would be bad practice.
This adds an Apache-2.0 license in the Cargo.toml files.
Some of these files already had a header comment saying it is an Apache
license. As the entire project itself is under an Apache-2.0 license, I
assumed all individual components would also be covered under that
license.
Signed-off-by: Derek Lee <derlee@redhat.com >
2022-08-30 09:30:03 -07:00
Bin Liu
a7e64b1ca9
Merge pull request #4892 from openanolis/shuoyu/runtime-rs
...
runtime-rs: support loading kernel modules in guest vm
2022-08-25 15:01:23 +08:00
Yushuo
6cf16c4f76
agent-ctl: fix clippy error
...
Fixes : #4988
Signed-off-by: Yushuo <y-shuo@linux.alibaba.com >
2022-08-25 11:00:49 +08:00
Peng Tao
ffd1c1ff4f
agent-ctl/trace-forwarder: udpate thread_local dependency
...
To bring in fix to CWE-362.
Fixes : #4968
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2022-08-24 17:10:49 +08:00