dependabot[bot]
77d06d3796
chore(deps): bump enumset from 1.1.1 to 1.1.2
...
Bumps [enumset](https://github.com/Lymia/enumset ) from 1.1.1 to 1.1.2.
- [Changelog](https://github.com/Lymia/enumset/blob/main/RELEASES.md )
- [Commits](https://github.com/Lymia/enumset/compare/v1.1.1...v1.1.2 )
---
updated-dependencies:
- dependency-name: enumset
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 01:04:22 +00:00
Toru Komatsu
69efb9714c
Merge pull request #1895 from yihuaf/yihuaf/more-error
...
Implement `thiserror` for libcontainer - Part 3
2023-05-10 21:26:03 +09:00
Toru Komatsu
e7294c312d
Merge pull request #1891 from yihuaf/yihuaf/integration-temp
...
Migrate integration test to use tempfile
2023-05-10 20:38:06 +09:00
github-actions[bot]
47aa454714
Merge pull request #1898 from containers/dependabot/cargo/bumpalo-3.12.2
2023-05-10 01:49:22 +00:00
dependabot[bot]
22379c53db
chore(deps): bump bumpalo from 3.12.1 to 3.12.2
...
Bumps [bumpalo](https://github.com/fitzgen/bumpalo ) from 3.12.1 to 3.12.2.
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.12.1...3.12.2 )
---
updated-dependencies:
- dependency-name: bumpalo
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-10 01:39:05 +00:00
github-actions[bot]
bf21969a04
Merge pull request #1896 from containers/dependabot/cargo/js-sys-0.3.62
2023-05-10 01:29:04 +00:00
dependabot[bot]
51ec3144ee
chore(deps): bump js-sys from 0.3.61 to 0.3.62
...
Bumps [js-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.61 to 0.3.62.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: js-sys
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-10 01:18:38 +00:00
yihuaf
737d8ff410
implemented seccomp
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
yihuaf
a04aebfae2
minor fixes
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
yihuaf
fb4facacb0
implement util error
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
yihuaf
9968af0f84
Implement TTY error
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 14:51:06 +00:00
dependabot[bot]
0e699d3da4
chore(deps): bump quote from 1.0.26 to 1.0.27 ( #1894 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.26...1.0.27 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 07:44:34 -07:00
dependabot[bot]
5f40deafea
chore(deps): bump enumset from 1.0.13 to 1.1.1 ( #1893 )
...
Bumps [enumset](https://github.com/Lymia/enumset ) from 1.0.13 to 1.1.1.
- [Changelog](https://github.com/Lymia/enumset/blob/main/RELEASES.md )
- [Commits](https://github.com/Lymia/enumset/compare/v1.0.13...v1.1.1 )
---
updated-dependencies:
- dependency-name: enumset
dependency-type: indirect
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-09 07:44:23 -07:00
Eric Fang
654c7f45f7
Migrate to tempfile
for libcontainer
and youki
crate ( #1887 )
...
* libcontainer and youki removed TempDir
Signed-off-by: yihuaf <yihuaf@unkies.org>
* remove the use of test name to create tmp dir
Signed-off-by: yihuaf <yihuaf@unkies.org>
* fix review
Signed-off-by: yihuaf <yihuaf@unkies.org>
---------
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-09 21:53:57 +09:00
github-actions[bot]
e4110f8926
Merge pull request #1892 from containers/dependabot/cargo/libc-0.2.144
2023-05-09 01:12:19 +00:00
dependabot[bot]
cc45fd355c
chore(deps): bump libc from 0.2.143 to 0.2.144
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.143 to 0.2.144.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.143...0.2.144 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-09 01:02:01 +00:00
yihuaf
8344464c8b
fix integration test using tempfile
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-08 18:40:14 +00:00
Toru Komatsu
72a5fec17e
Merge pull request #1884 from utam0k/test-k3s
...
Add easy way to test with K8s
2023-05-08 22:00:28 +09:00
Toru Komatsu
fecb912ffc
Merge pull request #1888 from yihuaf/yihuaf/libcgroup-temp
...
replaced tempdir in libcgroup
2023-05-08 20:24:39 +09:00
yihuaf
af149531f0
replaced libcgroup tempdir
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-08 05:33:59 +00:00
Eric Fang
5c31fae50a
Implemented more thiserror
for libcontainer (Part 2) ( #1881 )
...
Implemented more thiserror for the libcontainer. This PR covers most of the low hanging fruits with smaller crates. Note, I decided to add a new syscall error wrapper that wraps the nix::Error, std::io::Error, and our own syscall crate. This aims to simplify where we call syscalls from 3 different sources and can simplify/unify many errors.
---------
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-07 20:24:00 -07:00
github-actions[bot]
a387071f2c
Merge pull request #1886 from containers/dependabot/cargo/serde-1.0.162
2023-05-08 01:35:54 +00:00
dependabot[bot]
507a6a60c7
chore(deps): bump serde from 1.0.161 to 1.0.162
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.161 to 1.0.162.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.161...1.0.162 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 01:27:29 +00:00
github-actions[bot]
dd91cd1970
Merge pull request #1885 from containers/dependabot/cargo/libc-0.2.143
2023-05-08 01:21:06 +00:00
dependabot[bot]
aee9befb9d
chore(deps): bump libc from 0.2.142 to 0.2.143
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.142 to 0.2.143.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.142...0.2.143 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-08 01:10:46 +00:00
utam0k
29cf869c68
Add the handly script for kind and youki
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-07 06:03:00 +00:00
utam0k
ec2f58d4b2
Add easy way to test with K8s
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-06 12:03:36 +00:00
Yashodhan
66a3d7a0fc
Merge pull request #1868 from yihuaf/yihuaf/refactor-tests
...
Refactor the lifecycle tests to return rust rRsult instead of TestResult
2023-05-06 11:35:49 +05:30
Toru Komatsu
5edbc9e314
Merge pull request #1880 from containers/dependabot/cargo/wasmer-wasix-0.4.0
...
chore(deps): bump wasmer-wasix from 0.3.1 to 0.4.0
2023-05-06 10:43:18 +09:00
yihuaf
007fe51859
fix error style
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-05 19:06:33 +00:00
yihuaf
148f194e57
Address review
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-05 19:05:17 +00:00
dependabot[bot]
19afb6eb45
chore(deps): bump pkg-config from 0.3.26 to 0.3.27 ( #1878 )
...
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs ) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/pkg-config-rs/releases )
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.26...0.3.27 )
---
updated-dependencies:
- dependency-name: pkg-config
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 11:56:48 -07:00
github-actions[bot]
cce137e2d0
Merge pull request #1882 from containers/dependabot/cargo/serde-1.0.161
2023-05-05 01:19:15 +00:00
dependabot[bot]
901713d8dd
chore(deps): bump serde from 1.0.160 to 1.0.161
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.160 to 1.0.161.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.160...v1.0.161 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 01:08:55 +00:00
Eric Fang
5f31428347
rewrote the bpf example ( #1877 )
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-03 23:08:29 -07:00
Eric Fang
b51cf1ab25
Implement thiserror
for libcontainer - Part 1 ( #1876 )
...
* introduced libcontainer error
Signed-off-by: yihuaf <yihuaf@unkies.org>
* implemented syscall error
Signed-off-by: yihuaf <yihuaf@unkies.org>
* implemented namespace error
Signed-off-by: yihuaf <yihuaf@unkies.org>
* Implemented rest of the thiserror for process, syscall, namespace and etc.
Signed-off-by: yihuaf <yihuaf@unkies.org>
* Fix libcgroup error
Signed-off-by: yihuaf <yihuaf@unkies.org>
* remove dead code
Signed-off-by: yihuaf <yihuaf@unkies.org>
* fix dead code
Signed-off-by: yihuaf <yihuaf@unkies.org>
---------
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-04 10:47:45 +09:00
github-actions[bot]
209a68f028
Merge pull request #1879 from containers/dependabot/cargo/slice-group-by-0.3.1
2023-05-04 01:27:06 +00:00
dependabot[bot]
03e60c6472
chore(deps): bump wasmer-wasix from 0.3.1 to 0.4.0
...
Bumps [wasmer-wasix](https://github.com/wasmerio/wasmer ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/wasmerio/wasmer/releases )
- [Changelog](https://github.com/wasmerio/wasmer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wasmerio/wasmer/commits/0.4.0 )
---
updated-dependencies:
- dependency-name: wasmer-wasix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:18:55 +00:00
dependabot[bot]
916141052b
chore(deps): bump slice-group-by from 0.3.0 to 0.3.1
...
Bumps [slice-group-by](https://github.com/Kerollmops/slice-group-by ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/Kerollmops/slice-group-by/releases )
- [Commits](https://github.com/Kerollmops/slice-group-by/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: slice-group-by
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-04 01:16:43 +00:00
Toru Komatsu
002cdfc4e7
Update the version of containerd used for testing ( #1875 )
...
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-03 12:52:03 -07:00
Mia
ae408ad4bb
Adopt thiserror
for libcgroups ( #1872 )
...
* convert systemd controllers to thiserror
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* finish systemd manager except for the CgroupManager impl
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* refactor controller traits to be internal
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* convert v1 controllers to thiserror
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* convert v2 controllers to thiserror
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* make StatsProvider an internal trait
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* replace v1 stats provider anyhow with thiserror
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* remove anyhow from v2 stats providers
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* fix lints
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* get rid of doc test error
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* convert managers from anyhow to thiserror
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* fix lints
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* get rid of the rest of the references to anyhow
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* AnyManager -> AnyCgroupManager
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* fix formatting
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
* fix lint in libcgroups devices
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
---------
Signed-off-by: squili <74628488+squili@users.noreply.github.com>
2023-05-03 14:59:55 +09:00
Toru Komatsu
04a56c8d4c
Merge pull request #1873 from containers/dependabot/cargo/winnow-0.4.6
...
(auto merged) chore(deps): bump winnow from 0.4.5 to 0.4.6
2023-05-03 14:05:12 +09:00
dependabot[bot]
6da24e8e3a
chore(deps): bump winnow from 0.4.5 to 0.4.6
...
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/winnow-rs/winnow/releases )
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.4.5...v0.4.6 )
---
updated-dependencies:
- dependency-name: winnow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-03 01:03:51 +00:00
Toru Komatsu
bc71780ea1
Merge pull request #1871 from containers/dependabot/cargo/anstream-0.3.2
...
(auto merged) chore(deps): bump anstream from 0.3.1 to 0.3.2
2023-05-02 18:52:50 +09:00
github-actions[bot]
a93e2c5c94
Merge pull request #1869 from containers/dependabot/cargo/enumset-1.0.13
2023-05-02 01:24:16 +00:00
github-actions[bot]
b3a25ed8b8
Merge pull request #1870 from containers/dependabot/cargo/winnow-0.4.5
2023-05-02 01:23:37 +00:00
dependabot[bot]
1d9e953e2d
chore(deps): bump anstream from 0.3.1 to 0.3.2
...
Bumps [anstream](https://github.com/rust-cli/anstyle ) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/rust-cli/anstyle/releases )
- [Commits](https://github.com/rust-cli/anstyle/compare/anstream-v0.3.1...anstream-v0.3.2 )
---
updated-dependencies:
- dependency-name: anstream
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 01:17:14 +00:00
dependabot[bot]
0260a7ce70
chore(deps): bump winnow from 0.4.4 to 0.4.5
...
Bumps [winnow](https://github.com/winnow-rs/winnow ) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/winnow-rs/winnow/releases )
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md )
- [Commits](https://github.com/winnow-rs/winnow/compare/v0.4.4...v0.4.5 )
---
updated-dependencies:
- dependency-name: winnow
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 01:15:19 +00:00
dependabot[bot]
fed908dad1
chore(deps): bump enumset from 1.0.12 to 1.0.13
...
Bumps [enumset](https://github.com/Lymia/enumset ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/Lymia/enumset/releases )
- [Changelog](https://github.com/Lymia/enumset/blob/main/RELEASES.md )
- [Commits](https://github.com/Lymia/enumset/compare/v1.0.12...v1.0.13 )
---
updated-dependencies:
- dependency-name: enumset
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 01:13:55 +00:00
yihuaf
41286b3284
fix lint
...
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-01 20:41:29 +00:00