1
0
mirror of https://github.com/containers/youki synced 2024-09-20 10:54:22 +02:00
Commit Graph

151 Commits

Author SHA1 Message Date
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
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