1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00
Commit Graph

131 Commits

Author SHA1 Message Date
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
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
yihuaf
41286b3284 fix lint
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-01 20:41:29 +00:00
yihuaf
f69810a9b5 fix lint
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-01 20:40:32 +00:00
yihuaf
57eed8c4ae fix state command
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-01 20:36:08 +00:00
yihuaf
c780e68185 fixed more command
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-01 20:33:10 +00:00
yihuaf
c57df38bb9 refactored create call
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-01 19:33:11 +00:00
dependabot[bot]
8ec706bd9b
chore(deps): bump anyhow from 1.0.70 to 1.0.71
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.70...1.0.71)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-01 01:51:39 +00:00
Ismo Puustinen
359744b5ae Add integration tests for Intel RDT feature.
Note: this requires resctrl filesystem to be mounted.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2023-04-24 16:06:54 +03:00
kemkemG0
086462230c Change i8 to ::std::os::raw::c_char
Signed-off-by: kemkemG0 <kenshin.jpsdeveloper@gmail.com>
2023-04-09 17:57:46 -07:00
utam0k
030acdb414
Fix the warns from lint
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-04-09 01:52:51 +00:00
Eric Fang
8a8b8e34a0 [Trivial] Fix makefile targets to use PHONY
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-29 18:22:01 +02:00
Toru Komatsu
3fd810ee6f
Merge pull request #1685 from lengrongfu/feat/rrelatime_recursive_mount_test
add rsuid and rnosymfollow
2023-03-23 14:31:00 +09:00
lengrongfu
504b3d01fe add rsuid and rnosymfollow
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-22 22:27:12 +08:00
dependabot[bot]
7e2c932b1c
chore(deps): bump anyhow from 1.0.69 to 1.0.70
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.69...1.0.70)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 01:49:39 +00:00
Thomas Schubart
4e029b0d46
Merge pull request #1403 from utam0k/exec-manager
libcontainer: Make the workloads injectable
2023-03-13 10:23:05 +01:00
rongfu.leng
29babe7d0e
add rrelatime mount test (#1642)
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-10 19:21:16 -08:00
dependabot[bot]
0fc22570b0
chore(deps): bump clap from 4.1.4 to 4.1.6
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.4 to 4.1.6.
- [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/v4.1.4...v4.1.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-11 10:32:33 +09:00
Eric Fang
fe58002c31
Fix clippy warning (#1638)
Signed-off-by: Eric Fang <yihuaf@unkies.org>
2023-03-08 22:29:12 -08:00
lengrongfu
030776fb69 add rrw recursive mount test
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-07 21:44:36 +08:00
lengrongfu
6dcf9c1e7f feat add rdev/rnodev recursive mount test
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-06 21:13:26 +08:00
lengrongfu
ecf0546804 add rdiratime recursive mount test
Signed-off-by: lengrongfu <1275177125@qq.com>
2023-03-05 23:13:59 +08:00
Yashodhan Joshi
5809c6128a Merge branch 'main' into sat_sub 2023-02-20 16:04:33 +05:30
dependabot[bot]
c2659d86a4
chore(deps): bump procfs from 0.15.0 to 0.15.1
Bumps [procfs](https://github.com/eminence/procfs) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.15.0...v0.15.1)

---
updated-dependencies:
- dependency-name: procfs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 02:17:26 +00:00
dependabot[bot]
24722191a4
chore(deps): bump procfs from 0.14.2 to 0.15.0
Bumps [procfs](https://github.com/eminence/procfs) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.14.2...v0.15.0)

---
updated-dependencies:
- dependency-name: procfs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 01:09:26 +00:00
dependabot[bot]
234a42eeff
chore(deps): bump once_cell from 1.17.0 to 1.17.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.0 to 1.17.1.
- [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.17.0...v1.17.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-15 01:11:22 +00:00
Yashodhan Joshi
38e763a981 Fix lifetime issue with buf, due to changed nix api lifetimes 2023-02-14 15:19:42 +05:30
dependabot[bot]
1cb4b9e199
chore(deps): bump nix from 0.25.0 to 0.26.2
Bumps [nix](https://github.com/nix-rust/nix) from 0.25.0 to 0.26.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.25.0...v0.26.2)

---
updated-dependencies:
- dependency-name: nix
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 14:05:35 +00:00
Toru Komatsu
37d676a7e7
Merge pull request #1569 from utam0k/a6a07-runtime-tools
Update runtime-tools
2023-02-13 22:37:08 +09:00
utam0k
5852e0ba6d
Update runtime-tools
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-02-13 22:23:12 +09:00
dependabot[bot]
8e74e995be
chore(deps): bump anyhow from 1.0.68 to 1.0.69
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.68...1.0.69)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 11:29:43 +00:00
utam0k
72313bd5a8
fix the warns from cargo clippy
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-02-12 20:15:56 +09:00
dependabot[bot]
514ff21507
chore(deps): bump pnet_datalink from 0.31.0 to 0.33.0
Bumps [pnet_datalink](https://github.com/libpnet/libpnet) from 0.31.0 to 0.33.0.
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.31.0...v0.33.0)

---
updated-dependencies:
- dependency-name: pnet_datalink
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 01:43:25 +00:00
Djordje Lukic
e01e604ea9 Use saturating_sub instead of - for unsigned ints
This fixes a panic if the operation with the unsigned ints would result
in a negative number

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2023-02-03 10:31:15 +01:00
dependabot[bot]
5e935273ac
chore(deps): bump uuid from 1.2.2 to 1.3.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.2...1.3.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 00:21:17 +00:00
Djordje Lukic
4fc61dbb97 Fix formatting with cargo fmt --check
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2023-02-01 09:09:41 +01:00
Yashodhan
3675a5120a
Merge pull request #1428 from higuruchi/Add/Recursive_mount_attrs_test
Added recursive mount attr test
2023-01-30 10:27:01 +05:30
higuruchi
ccbd26be02 Fix error messages
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2023-01-24 07:57:23 +00:00
higuruchi
3749a46a5e Remove clap from runtimetest
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2023-01-24 06:58:21 +00:00
Adrian Reber
88d26db63f
Add descriptors.json when creating checkpoint
runc as well as crun create a file called descriptors.json in the
checkpoint directory. descriptors.json contains a list of how the FDs
0, 1, 2 are connected before checkpointing:

$ cat descriptors.json # created by runc in this case
["/dev/null","pipe:[230688]","pipe:[230689]"]

With this information the FDs can be reconnected correctly during
restore.

With this commit is it possible to do:

$ youki run container
$ youki checkpointt container
$ runc restore container

Now the checkpoint is in a format that can be handled by other container
runtimes.

Signed-off-by: Adrian Reber <areber@redhat.com>
2023-01-23 07:47:32 +00:00
dependabot[bot]
323e7d0e3e
chore(deps): bump which from 4.3.0 to 4.4.0
Bumps [which](https://github.com/harryfei/which-rs) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/4.3.0...4.4.0)

---
updated-dependencies:
- dependency-name: which
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-23 02:00:34 +00:00
dependabot[bot]
e2bb592638
chore(deps): bump anyhow from 1.0.65 to 1.0.68
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.65 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.65...1.0.68)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 06:18:23 +00:00
dependabot[bot]
9aec2d8a62
chore(deps): bump oci-spec from 0.5.8 to 0.6.0
Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.5.8 to 0.6.0.
- [Release notes](https://github.com/containers/oci-spec-rs/releases)
- [Changelog](https://github.com/containers/oci-spec-rs/blob/main/release.md)
- [Commits](https://github.com/containers/oci-spec-rs/compare/v0.5.8...v0.6.0)

---
updated-dependencies:
- dependency-name: oci-spec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-19 00:29:23 +00:00
dependabot[bot]
0d07fe21c6
chore(deps): bump once_cell from 1.16.0 to 1.17.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.16.0 to 1.17.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.16.0...v1.17.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>
2022-12-30 11:57:45 +00:00
Joshua Ford
a3bfc105ee
Upgrade clap to v4.0.32
Signed-off-by: Joshua Ford <joshua.ford@protonmail.com>
2022-12-28 07:21:25 -06:00
higuruchi
3cc90617bf Added rnoexec mount option test.
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2022-12-25 06:44:32 +00:00
utam0k
daf7fb2834
Update Rust 1.66
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-12-24 21:02:53 +09:00
higuruchi
40e113a318 Fixed rnosuid mount option test method
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2022-12-23 11:40:41 +00:00
higuruchi
d68af0a550 Added rnosuid mount option test.
Signed-off-by: higuruchi <fumiya2324@gmail.com>
2022-12-22 07:13:14 +00:00