bin
12c37fafc5
trace-forwarder: add make check for Rust
...
Add make check to run cargo fmt/clippy
for Rust projects.
Fixes : #3656
Signed-off-by: bin <bin@hyper.sh >
2022-02-14 20:12:48 +08:00
Shengjing Zhu
905e124b77
docs: fix agent proto file path
...
Fixes : #3391
Signed-off-by: Shengjing Zhu <zhsj@debian.org >
2022-01-06 00:22:49 +08:00
Fupan Li
615224e993
agent: move the protocols to upper libs
...
move the protocols to upper libs thus it can
be shared between agent and other rust runtime.
Depends-on: github.com/kata-containers/tests#4306
Fixes : #3348
Signed-off-by: Fupan Li <fupan.lfp@antgroup.com >
2022-01-05 16:58:06 +08:00
Fupan Li
330e3dcc93
agent: move the oci crate to upper libs
...
Move the oci crate to upper libs thus it can be
shared between agent and other rust runtimes.
Fixes : #3348
Signed-off-by: Fupan Li <fupan.lfp@antgroup.com >
2022-01-05 16:58:06 +08:00
James O. D. Hunt
b1f4e945b3
security: Update rust crate versions
...
Update the rust dependencies that have upstream security fixes. Issues
fixed by this change:
- [`RUSTSEC-2020-0002`](https://rustsec.org/advisories/RUSTSEC-2020-0002 ) (`prost` crate)
- [`RUSTSEC-2020-0036`](https://rustsec.org/advisories/RUSTSEC-2020-0036 ) (`failure` crate)
- [`RUSTSEC-2021-0073`](https://rustsec.org/advisories/RUSTSEC-2021-0073 ) (`prost-types` crate)
- [`RUSTSEC-2021-0119`](https://rustsec.org/advisories/RUSTSEC-2021-0119 ) (`nix` crate)
This change also includes:
- Minor code changes for the new version of `prometheus` for the agent.
- A *downgrade* of the version of the `futures` crate to the (new)
latest version (`0.3.17`) since version `0.3.18` was removed [1].
Fixes : #3296 .
[1] - See https://crates.io/crates/futures/versions
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com >
2021-12-22 07:41:16 +00:00
Peng Tao
7c4263b3e1
src: reorg source directories
...
To make the code directory structure more clear:
└── src
├── agent
├── libs
│ └── logging
├── runtime
├── runtime-rs (to be added)
└── tools
├── agent-ctl
└── trace-forwarder
Fixes : #3204
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2021-12-14 10:30:08 +08:00