1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-06-08 15:56:16 +02:00
Commit Graph

177 Commits

Author SHA1 Message Date
dependabot[bot] 6f1db2657c
chore(deps): bump the patch group with 3 updates (#2588)
Bumps the patch group with 3 updates: [crossbeam](https://github.com/crossbeam-rs/crossbeam), [futures](https://github.com/rust-lang/futures-rs) and [openssl](https://github.com/sfackler/rust-openssl).


Updates `crossbeam` from 0.8.2 to 0.8.3
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-0.8.2...crossbeam-0.8.3)

Updates `futures` from 0.3.29 to 0.3.30
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30)

Updates `openssl` from 0.10.61 to 0.10.62
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.61...openssl-v0.10.62)

---
updated-dependencies:
- dependency-name: crossbeam
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: openssl
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 21:20:42 +09:00
dependabot[bot] 859b1d4132
chore(deps): bump the patch group with 3 updates
Bumps the patch group with 3 updates: [anyhow](https://github.com/dtolnay/anyhow), [mockall](https://github.com/asomers/mockall) and [proc-macro2](https://github.com/dtolnay/proc-macro2).


Updates `anyhow` from 1.0.75 to 1.0.76
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.75...1.0.76)

Updates `mockall` from 0.12.0 to 0.12.1
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](https://github.com/asomers/mockall/compare/v0.12.0...v0.12.1)

Updates `proc-macro2` from 1.0.70 to 1.0.71
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.70...1.0.71)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: mockall
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: proc-macro2
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-22 01:35:20 +00:00
dependabot[bot] 2acb6d315f
chore(deps): bump once_cell from 1.18.0 to 1.19.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.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>
2023-12-12 01:11:14 +00:00
dependabot[bot] 2ca3687093
chore(deps): bump uuid from 1.5.0 to 1.6.1
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.5.0...1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 00:59:26 +00:00
Xiaoyang Liu 18f3dd732c
test(integration_test): port 'runtime-tools/validation/linux_seccomp' (#2531)
* test(integration_test): port 'runtime-tools/validation/linux_seccomp'

Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>

* test(integration_test): address code review suggestions

Co-authored-by: Yashodhan <54112038+YJDoc2@users.noreply.github.com>
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>

* test(integration_test): format the code

Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>

---------

Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
Co-authored-by: Yashodhan <54112038+YJDoc2@users.noreply.github.com>
2023-11-17 15:21:17 +05:30
dependabot[bot] bc8265a638
chore(deps): bump the patch group with 2 updates
Bumps the patch group with 2 updates: [tracing-subscriber](https://github.com/tokio-rs/tracing) and [http](https://github.com/hyperium/http).


Updates `tracing-subscriber` from 0.3.17 to 0.3.18
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18)

Updates `http` from 0.2.10 to 0.2.11
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/v0.2.11/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.2.10...v0.2.11)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: patch
- dependency-name: http
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 00:49:19 +00:00
Xiaoyang Liu dac5f3042b
test(integration_test): port 'runtime-tools/validation/linux_sysctl'
Signed-off-by: Xiaoyang Liu <siujoeng.lau@gmail.com>
2023-11-12 18:58:40 -08:00
dependabot[bot] f7ef5cf950
chore(deps): bump procfs from 0.15.1 to 0.16.0
Bumps [procfs](https://github.com/eminence/procfs) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/eminence/procfs/releases)
- [Commits](https://github.com/eminence/procfs/compare/v0.15.1...v0.16.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-11-03 12:15:33 +00:00
dependabot[bot] 00d099a85d
chore(deps): bump which from 4.4.0 to 5.0.0
Bumps [which](https://github.com/harryfei/which-rs) from 4.4.0 to 5.0.0.
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/harryfei/which-rs/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 01:04:35 +00:00
dependabot[bot] f01feaa05b
chore(deps): bump oci-spec from 0.6.3 to 0.6.4
Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.6.3 to 0.6.4.
- [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.6.3...v0.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 00:57:57 +00:00
dependabot[bot] 8ac5632cf2
chore(deps): bump tracing from 0.1.39 to 0.1.40
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.39...tracing-0.1.40)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-20 00:47:22 +00:00
dependabot[bot] 732a7a37d1
chore(deps): bump uuid from 1.4.1 to 1.5.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.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-10-19 00:53:40 +00:00
dependabot[bot] ffe9aecfca
chore(deps): bump tracing from 0.1.37 to 0.1.39
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.37 to 0.1.39.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 01:10:21 +00:00
dependabot[bot] ed59e96901
chore(deps): bump oci-spec from 0.6.2 to 0.6.3
Bumps [oci-spec](https://github.com/containers/oci-spec-rs) from 0.6.2 to 0.6.3.
- [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.6.2...v0.6.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-11 00:18:53 +00:00
Yashodhan 80f1f36ae9
Refactor test dir structure (#2421)
* Move individual rust-oci-tests components in the tests dir

We can use several things from test_framework and even integration_test
for additional tests such as podman rootless and wasm tests

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

* fix scripts and docs for the new dir structure

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>

---------

Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2023-10-10 21:00:02 +09:00
Yashodhan b968ac5f96
Merge pull request #2369 from anti-entropy123/main
update nix to 0.27.1 🎉
2023-10-09 20:46:13 +05:30
Yashodhan 04dc59f679
Add initial tests for rootless podman (#2406) 2023-10-09 18:43:52 +09:00
anti-entropy123 951e5c6f71 remove `let socket = socket;`
Signed-off-by: anti-entropy123 <1348651580@qq.com>
2023-10-09 15:05:31 +08:00
anti-entropy123 59937cf490 update nix to 0.27.1
Signed-off-by: anti-entropy123 <1348651580@qq.com>
2023-10-07 11:10:07 +08:00
utam0k abf739016c
Update the developer documentation for the e2e tests.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-09-25 12:13:53 +00:00
utam0k 296fdfc45a
Skip the tests related to criu when criu is not found
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-09-18 12:37:13 +00:00
dependabot[bot] 79a410992b
chore(deps): bump anyhow from 1.0.74 to 1.0.75
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.74 to 1.0.75.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.74...1.0.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 00:55:06 +00:00
dependabot[bot] 63be6c75af
chore(deps): bump anyhow from 1.0.72 to 1.0.74
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.74.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 00:31:11 +00:00
dependabot[bot] 602fd07140
chore(deps): bump pnet_datalink from 0.33.0 to 0.34.0
Bumps [pnet_datalink](https://github.com/libpnet/libpnet) from 0.33.0 to 0.34.0.
- [Release notes](https://github.com/libpnet/libpnet/releases)
- [Commits](https://github.com/libpnet/libpnet/compare/v0.33.0...v0.34.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-07-20 01:23:10 +00:00
dependabot[bot] 72faee78bb
chore(deps): bump scopeguard from 1.1.0 to 1.2.0
Bumps [scopeguard](https://github.com/bluss/scopeguard) from 1.1.0 to 1.2.0.
- [Commits](https://github.com/bluss/scopeguard/compare/v1.1.0...v1.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:43:10 +00:00
dependabot[bot] 5cb1cd9d03
chore(deps): bump anyhow from 1.0.71 to 1.0.72 (#2172)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  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-07-16 22:55:51 -07:00
dependabot[bot] a4b11af5c8
chore(deps): bump num_cpus from 1.15.0 to 1.16.0
Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/seanmonstar/num_cpus/releases)
- [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.15.0...v1.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 11:48:37 +00:00
dependabot[bot] 3d555c7888
chore(deps): bump uuid from 1.3.4 to 1.4.0
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.3.4 to 1.4.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.3.4...1.4.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-06-28 01:17:42 +00:00
Eric Fang f4e7e300e6
Fix the feature test and turn on in CI (#2060)
* reworked the justfile to be explicit with path

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix the feature tests

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add the musl test

Signed-off-by: yihuaf <yihuaf@unkies.org>

* moving all stub into a single dir

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-19 21:21:18 +09:00
Eric Fang ebef6dba09
Introduce a `log-level` flag. (#2036)
* Implement `--log-level`

In short:

Propose the default log level for release to error
Keep the --debug flag and it sets the log level to debug
Introduce --log-level flag to set the log level
--debug flag will be ignored if --log-level flag is also set.
Keep the default log level for debug build to debug

Signed-off-by: yihuaf <yihuaf@unkies.org>

* minor fix to CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* move log-level to youki_extend

Signed-off-by: yihuaf <yihuaf@unkies.org>

* remove the workflow_dispatch trigger

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-17 21:56:49 +09:00
utam0k 51ac26a0ca
Add the test with kind to github action
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-11 02:05:03 +00:00
yihuaf 545b13da86 bump oci-spec version to 0.6.1
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 11:24:57 -07:00
Eric Fang 3a790dffe9
Using `typos-cli` to catch typos + fixes for existing typos (#2018)
* adds a typos configuration file

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix all the typos

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add typos to justfile and CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-08 10:19:17 +05:30
adrianalin 67311c81f9
add rsymfollow recursive mount test (#1967)
Signed-off-by: Adrian Pop <pop.adrian61@gmail.com>
2023-06-06 22:43:35 -07:00
Yashodhan 79b6450a86
Replace Makefiles with Just (#1823)
Refactored the build system using `justfile`.

* Use just in CI instead of makefiles

* Remove makefiles completely

* Increase timeout in rust validation
2023-06-05 09:24:33 -07:00
dependabot[bot] d1811c7867
chore(deps): bump once_cell from 1.17.2 to 1.18.0 (#2001)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:35:48 -07:00
Eric Fang d09c984567
do not log error in the syscall crate (#1973)
* do not log error for mount in specific cases
* clean up the logs in the syscall module
* update toolchain to rust 1.70
---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-04 23:19:51 -07:00
dependabot[bot] 3b84293b24
chore(deps): bump once_cell from 1.17.1 to 1.17.2
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.17.2)

---
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-05-30 01:09:53 +00:00
Luis 668a31cb96
Fixed typo (#1928)
Signed-off-by: Luis Dietl <interruptedThread@gmail.com>
2023-05-16 21:21:19 -07:00
Toru Komatsu 91b476a35f
Use safe_path crate instead of our original secure_join (#1911)
Our secure_join had a bug and did not work perfectly with K8s.
It did not take into account the case where the symbolic destination is an absolute path.
Thus there are many cases where secure_join should be considered;
it would be more worthwhile to use safe_path,
which kata-container makes, and mature this one.

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-05-13 10:30:17 -07:00
Eric Fang dcc13ff365
convert youki to use tracing (#1899)
* convert youki to use tracing

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix default logging to stderr

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix unsafe

Signed-off-by: yihuaf <yihuaf@unkies.org>

* turn off time stamp for text log to stderr

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-12 20:47:05 +09:00
Ismo Puustinen 131beacf15 deps: do not use chrono default-features.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2023-05-11 08:44:38 +03: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
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
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