1
0
mirror of https://github.com/containers/youki synced 2024-11-24 01:44:17 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
yihuaf
5cb6e6f62b Fix musl test function not parametered correctly
The musl test did not parameter correctly. Remove the hardcode package
and features.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-11 16:44:31 -07:00
Eric Fang
dfe6ee80bc
turn on musl test in CI (#2069)
* turn musl test in CI

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

* fix a version

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

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-22 20:35:23 +09: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
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
Kris Nóva
bef32e083f
Introduce seccomp feature for libcontainer with musl (#1484)
* Introduce seccomp feature for libcontainer with musl

Signed-off-by: Kris Nóva <kris@nivenly.com>

* remove mystery merge conflict

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

---------

Signed-off-by: Kris Nóva <kris@nivenly.com>
Signed-off-by: Eric Fang <yihuaf@unkies.org>
Co-authored-by: Eric Fang <yihuaf@unkies.org>
2023-03-23 10:57:51 -07:00
utam0k
ce403847ae
skip cgroup v2 test of oci-tools
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-12-12 21:58:01 +09:00
Yashodhan Joshi
6becc9af4e Change targets in the makefile 2022-11-30 12:13:03 +05:30
Toru Komatsu
7c2c61e66d
Merge pull request #1347 from YJDoc2/fix_create_no_bin_test
Fix TestContainerNoBinaryExists test, by making create behaviour similar to runc
2022-11-28 21:28:43 +09:00
Yashodhan Joshi
ccf92b39f2 Add unit tests, refactor functions as per review
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-11-28 11:43:46 +05:30
Uchio Kondo
4f7d556153 Detect architecture by uname command
Signed-off-by: Uchio Kondo <udzura@udzura.jp>
2022-11-18 20:21:54 +09:00
Silcet
289e71f73d
Included test for the features
Signed-off-by: Silcet <camorga1@gmail.com>
2022-11-17 17:41:50 +01:00
Yashodhan Joshi
12ff81e423 Skip misc_props test in integration tests
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
2022-11-17 20:16:43 +05:30
Manabu Ori
73c3542027 Fix whitespaces: replace TABs to SPACEs
Signed-off-by: Manabu Ori <manabu.ori@gmail.com>
2022-08-31 23:48:44 +09:00
Manabu Ori
9996250470 build.sh: add -f option for feature flags
Signed-off-by: Manabu Ori <manabu.ori@gmail.com>
2022-08-26 22:32:19 +09:00
Tony Duan
6e8f869bf3
chore: a separate target directory for runtimetest
building static-linked runtimetest requires additional RUSTFLAGS env
var. Unfortunately, the additional env var invalids the build cache,
leading cargo rebuilding everytime.

See https://github.com/rust-lang/cargo/issues/8716

A temporary solution is to build runtimetest in a seperate
`runtimetest-target` directory.

Signed-off-by: Tony Duan <tony84727@gmail.com>
2022-06-14 23:32:49 +08:00
utam0k
0758953fd7
Remove the build dependency from some tests.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-05-09 21:10:14 +09:00
utam0k
6a98b59026 Convenient use of rust-analyzer and other tools by placing Cargo.toml in the root.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-04-26 12:03:09 +00:00
YJDoc2
f6e41b5d8a
Update the docs for the directory structure changes (#813)
* Update the docs for the directory structure changes
2022-04-13 20:59:52 +02:00
utam0k
3d44b4c0bd
fix conflicts.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-18 21:02:29 +09:00
utam0k
1b2d99e48b
fix log control env val not passing properly.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-17 22:05:38 +09:00
utam0k
17d7303c26
Make relase and debug optional in scripts/build.rs 2022-03-13 21:43:13 +09:00
utam0k
54bb830b4b
Introduce the root Makefile.
Signed-off-by: utam0k <k0ma@utam0k.jp>
2022-03-11 22:14:34 +09:00
Yashodhan Joshi
8a8cc294f1 CI fix 2022-02-23 18:04:01 +05:30
Yashodhan Joshi
0ca07cb0a8 Add -eu to scripts 2022-02-19 23:29:10 +05:30
Yashodhan Joshi
cd56e28c04 Fix CI 2022-02-07 15:09:42 +05:30
Yashodhan Joshi
446080fada Move OCI test script into scripts/ 2022-02-06 16:10:54 +05:30
Yashodhan Joshi
082bb12670 Add scripts to build binaries, run rust integration tests and clean up 2022-02-06 16:01:13 +05:30