dependabot[bot]
cb7a074dbb
Merge pull request #555 from containers/dependabot/cargo/fastrand-1.6.0
2021-12-20 06:25:49 +00:00
dependabot[bot]
7311ac7583
Bump fastrand from 1.5.0 to 1.6.0
...
Bumps [fastrand](https://github.com/smol-rs/fastrand ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/smol-rs/fastrand/releases )
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/fastrand/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: fastrand
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 01:17:10 +00:00
dependabot[bot]
69fd449fa5
Bump nix from 0.23.0 to 0.23.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.0 to 0.23.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-20 01:16:39 +00:00
utam0k
468e9fbd6b
Merge pull request #546 from knight42/feat/update-resources
...
feat: add --resource option to update subcommand
2021-12-19 10:44:51 +09:00
Thomas Schubart
fc70a5ed7c
Merge pull request #537 from YJDoc2/cgroups_blkio
...
Add Cgroup V1 block IO integration test
2021-12-19 00:51:08 +01:00
Jian Zeng
21eaf4e020
feat: add --resource option to update subcommand
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-18 23:56:43 +08:00
Yashodhan Joshi
c40a306f87
Refactor and improve error reporting
2021-12-18 13:38:08 +05:30
utam0k
7d63d2a36e
Merge pull request #543 from knight42/fix/set-blkio-weight
...
fix(libcgroup): make cgroup manager be able to set blkio weight
2021-12-17 22:48:48 +09:00
Jian Zeng
b2eafb8898
fix(libcgroup): set blkio weight
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:27:54 +08:00
Jian Zeng
09ecfba778
fix: address review comments
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:19:28 +08:00
Jian Zeng
37bf9387bb
feat: add subcommand update
2021-12-16 10:19:28 +08:00
Jian Zeng
c3f15252de
refactor: extract a common function create_cgroup_manager
2021-12-16 10:19:28 +08:00
Jian Zeng
d3552e7708
chore: update deps
...
Signed-off-by: Jian Zeng <anonymousknight96@gmail.com>
2021-12-16 10:19:28 +08:00
dependabot[bot]
9b224e0c15
Bump once_cell from 1.8.0 to 1.9.0
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/matklad/once_cell/releases )
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.8.0...v1.9.0 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-15 00:36:25 +00:00
Yashodhan Joshi
d05bb63099
Merge branch 'main' of github.com:containers/youki into cgroups_blkio
2021-12-14 20:37:47 +05:30
dependabot[bot]
667ef6a588
Merge pull request #534 from containers/dependabot/cargo/procfs-0.12.0
2021-12-14 13:43:36 +00:00
dependabot[bot]
a417b93371
Bump procfs from 0.11.1 to 0.12.0
...
Bumps [procfs](https://github.com/eminence/procfs ) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/eminence/procfs/releases )
- [Commits](https://github.com/eminence/procfs/compare/v0.11.1...v0.12.0 )
---
updated-dependencies:
- dependency-name: procfs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 13:32:35 +00:00
dependabot[bot]
e2140b3725
Bump libc from 0.2.111 to 0.2.112
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.111 to 0.2.112.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.111...0.2.112 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-14 13:32:19 +00:00
utam0k
82c621e1d5
Merge pull request #528 from Furisto/test-cpu-v2
...
Implement integration tests for cgroup v2 cpu
2021-12-14 22:30:54 +09:00
Jonathan Hult
02abc5f3ca
Update version for runc compatibility for Moby
...
Fix for #529
Signed-off-by: Jonathan Hult <jhult@mythics.com>
2021-12-13 22:31:35 -05:00
Furisto
712a07ec11
Review feedback
...
Logger should not log to file
2021-12-13 23:09:34 +01:00
Yashodhan Joshi
e3f995bd8e
Add cgroups v1 blkio integration test
2021-12-13 20:46:19 +05:30
Yashodhan Joshi
75ef920a4a
WIP blkio integration tests, currently only runs when weight and weight_device are supported
2021-12-13 17:31:07 +05:30
dependabot[bot]
53dfa8b6de
Bump pkg-config from 0.3.23 to 0.3.24
...
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs ) from 0.3.23 to 0.3.24.
- [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/commits )
---
updated-dependencies:
- dependency-name: pkg-config
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 06:33:35 +00:00
dependabot[bot]
109020bcef
Bump libc from 0.2.109 to 0.2.111
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.109 to 0.2.111.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.109...0.2.111 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 01:12:08 +00:00
Furisto
d1bdf10859
Fix integration tests
2021-12-12 16:17:59 +01:00
Furisto
d21706ea47
Update with latest
2021-12-12 00:30:34 +01:00
Furisto
763b21dca1
Cleanup
2021-12-11 23:52:04 +01:00
Furisto
effb728fb0
Ensure test directory is cleaned up
2021-12-11 23:30:25 +01:00
Furisto
e7d0e90529
Cleanup logger implementation
2021-12-11 20:38:06 +01:00
Furisto
69b5d76fe4
Cpu period tests
2021-12-11 18:24:06 +01:00
utam0k
243be9ff1c
remove unneede impl Default
...
https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
2021-12-11 21:33:21 +09:00
Furisto
9abeeb2407
Ensure cpu quota is not set if none is specified
2021-12-10 23:32:02 +01:00
Furisto
90ba7e066a
Cpu weight & quota tests
2021-12-08 00:21:25 +01:00
Furisto
67bfc4c920
Implement equality macro
...
Implement an equality macro that returns a result instead of panicking
2021-12-07 23:27:40 +01:00
utam0k
aff2d19092
Merge pull request #516 from tsturzl/cgroups_network_integration_test
...
Integration test: cgroup v1 network tests, fix to memory tests
2021-12-07 20:50:08 +09:00
dependabot[bot]
974757f32d
Bump pkg-config from 0.3.22 to 0.3.23
...
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs ) from 0.3.22 to 0.3.23.
- [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.22...0.3.23 )
---
updated-dependencies:
- dependency-name: pkg-config
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-07 00:40:34 +00:00
Furisto
3d7247b5ca
Ensure cpu weight tests pass
...
Cpu weight should be set to maximum value if value exceeds the valid range.
2021-12-06 19:18:00 +01:00
dependabot[bot]
3cf41275ed
Bump libc from 0.2.108 to 0.2.109
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.108 to 0.2.109.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.108...0.2.109 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 01:38:21 +00:00
dependabot[bot]
86868292f7
Bump libbpf-sys from 0.5.0-2 to 0.6.0-1
...
Bumps [libbpf-sys](https://github.com/alexforster/libbpf-sys ) from 0.5.0-2 to 0.6.0-1.
- [Release notes](https://github.com/alexforster/libbpf-sys/releases )
- [Commits](https://github.com/alexforster/libbpf-sys/compare/0.5.0-2...0.6.0-1 )
---
updated-dependencies:
- dependency-name: libbpf-sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 01:09:16 +00:00
Furisto
d5818cff01
Add logging & sort cargo.toml entries
2021-12-05 21:58:21 +01:00
Travis Sturzl
923c0c46b2
appease the great clippy
2021-12-05 11:49:30 -07:00
Travis Sturzl
d3133c5da7
check that expected network interfaces exist to determine if test can
...
run
2021-12-05 11:37:21 -07:00
Furisto
3a60604822
Move tests for cpu variants (v1,v2) to own module
2021-12-05 15:42:24 +01:00
Theo Paris
2eef38dfc7
Add shell completion ( #515 )
2021-12-05 14:39:08 +01:00
Travis Sturzl
a42af6ed1e
network tests passing, fix to memory tests
2021-12-04 21:37:59 -07:00
Travis Sturzl
eb083a162a
Merge pull request #513 from Furisto/systemd-part4
...
Improvements to cgroup support
2021-12-04 20:15:50 -07:00
Furisto
af4d403fff
Cleanup & Clippy
2021-12-04 11:36:13 +01:00
David Gibson
3626f4f4ec
Move global command line options to liboci-cli crate
...
The OCI CLI document doesn't define any required global options, but there
are a number which are commonly accepted by most runtimes. We define this
subset there, and incorporate it into the top-level Parser in Youki using
fixes #508
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-12-03 12:41:55 +11:00
David Gibson
2b66005d93
Move subcommand enums to liboci-cli crate
...
Because we want to allow a final user to add extension commands
easily, it doesn't work to entirely move the enum of runtime
subcommands into the liboci-cli crate. However, using the
incoporate those into the top-level enum defined by youki.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-12-03 12:41:55 +11:00