1
0
mirror of https://github.com/containers/youki synced 2024-12-04 02:58:22 +01:00
Commit Graph

780 Commits

Author SHA1 Message Date
tommady
560c9f02f2
add test_convert_caps_type_to_oci_spec 2021-09-12 09:55:18 +00:00
tommady
e684f5814d
enhancing test_convert_oci_spec_to_caps_type 2021-09-12 09:34:24 +00:00
utam0k
7aaa2fbfc3
Merge pull request #266 from guni1192/upgrade-oci-spec-rs
Upgrade oci-spec-rs to 0.4.0
2021-09-12 17:33:29 +09:00
Takashi IIGUNI
472d6463ff Delete useless comment lines
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-12 08:00:27 +00:00
Takashi IIGUNI
05e7831fd1 fix: clippy
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-12 07:39:36 +00:00
Takashi IIGUNI
ecf3370ba0 Upgrade oci-spec-rs to 0.4.0-with-bugfix version
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-12 07:27:28 +00:00
utam0k
2218ba8e08
Merge pull request #294 from utam0k/fix/ci-dirs-empty
fix a failure when dirs is empty at changes job.
2021-09-11 23:43:35 +09:00
utam0k
23f478fcd1 fix a failure when dirs is empty at changes job. 2021-09-11 16:09:23 +09:00
utam0k
5d2901e139
Merge pull request #289 from tommady/pass-uid_mapping-test-#255
Pass uid_mapping test
2021-09-11 15:24:59 +09:00
tommady
e0622c4d9d
follow runc to change the calling sequence of nix_mount 2021-09-11 05:14:33 +00:00
utam0k
734ec2e881
check if commands used in the unit test exists. (#290) 2021-09-10 12:58:24 -07:00
Furisto
4878662516
Merge pull request #291 from utam0k/fix/cargo-clippy-warn
fix cargo clippy warning in cgroups
2021-09-10 17:06:04 +02:00
Furisto
7c0c4a786e
Merge pull request #288 from utam0k/improvement/rust-1.55.0
add Rust 1.55.0
2021-09-10 16:57:28 +02:00
utam0k
f349cdbbd4 fix cargo clippy warning in cgroups. 2021-09-10 23:15:10 +09:00
tommady
bd6cacc988
uncomment integration test line 53 linux_uid_mappings/linux_uid_mappings.t 2021-09-10 05:22:19 +00:00
utam0k
2cb70f2013 add Rust 1.55.0 2021-09-10 00:02:19 +09:00
Takashi IIGUNI
3e09e3f9d8 Pass the capability unit test
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-08 12:02:35 +00:00
utam0k
dc7b04a2ac
Merge pull request #285 from Furisto/cg-memoryswap
Convert memory swap values
2021-09-08 20:52:54 +09:00
Takashi IIGUNI
10b9b26782 Define CapabilityExt with a functions to convert caps to oci_spec
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-08 11:24:37 +00:00
Takashi IIGUNI
5cf890a861 Merge remote-tracking branch 'upstream/main' into upgrade-oci-spec-rs
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-08 10:09:20 +00:00
Takashi IIGUNI
c7c7e97292 Add docs comments for ControllerOpts
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-08 02:29:50 +00:00
Furisto
cf47693598 Adapt memory tests 2021-09-07 22:23:49 +02:00
Furisto
cbc8d1af3d Convert memory swap values 2021-09-07 22:23:49 +02:00
keno (Ken Okada)
c247c90425
fix: Mismatch of PWD in tutorial (#283) 2021-09-07 11:52:55 -07:00
Furisto
1770f3406b
Merge pull request #281 from utam0k/fix/cargo-clippy-in-cgroups
fix cargo clippy warning in cgroups.
2021-09-07 18:35:45 +02:00
utam0k
546811086e fix cargo clippy warning in cgroups. 2021-09-08 00:08:52 +09:00
utam0k
1daeb92ad0
Merge pull request #280 from utam0k/improvement/integration-test-cache
cache runtime-tools.
2021-09-07 23:46:52 +09:00
utam0k
964c4fca0a cache runtime-tools. 2021-09-07 22:46:09 +09:00
utam0k
d4e1069eeb
Merge pull request #278 from YJDoc2/change-cache-action
Change cache action from default to Swatinem/rust-cache@v1
2021-09-07 22:13:24 +09:00
Yashodhan Joshi
836aa7bf75 Final test with each job having separate cache for youki and cgroups 2021-09-07 14:47:15 +05:30
Yashodhan Joshi
2b8545b4ed Add separate caching for youki and cgroups for rest of jobs 2021-09-07 14:38:07 +05:30
Yashodhan Joshi
5874cc8b96 Add separate cache action for cgroups dir 2021-09-07 14:28:56 +05:30
Yashodhan Joshi
2a81104b50 change cache action in integration tests 2021-09-07 14:17:01 +05:30
Yashodhan Joshi
f4c22d4f25 Change cache action from default to Swatinem/rust-cache@v1 2021-09-07 14:06:39 +05:30
utam0k
f026d7ee5e
Merge pull request #277 from yihuaf/yihuaf/test
Stablize cargo test
2021-09-07 13:48:03 +09:00
yihuaf
4c5d2d6439 Add comments to explain the use of serial 2021-09-07 06:31:56 +02:00
Takashi IIGUNI
a678111c75 fix: oci-spec import path 2021-09-07 02:59:59 +00:00
Takashi IIGUNI
c7ed69a2fe fix: rustfmt 2021-09-07 02:47:26 +00:00
Takashi IIGUNI
c83ac6a22b Merge remote-tracking branch 'upstream/main' into upgrade-oci-spec-rs
Signed-off-by: Takashi IIGUNI <iiguni.tks@gmail.com>
2021-09-07 02:32:41 +00:00
yihuaf
08f33bf948 fix fmt 2021-09-07 01:07:23 +02:00
yihuaf
5b188ee9eb Mark hook related test serial 2021-09-07 01:04:10 +02:00
yihuaf
b821ab4be0 Make the fd related tests serial 2021-09-07 01:04:10 +02:00
yihuaf
fb7a8ea715 we want to know what unknown message is 2021-09-07 01:04:10 +02:00
yihuaf
ca5a21f5c4 Adds a simple script to stress test cargo test 2021-09-07 01:04:10 +02:00
yihuaf
9aaeb4f40d hook command now ignores BrokenPipe 2021-09-07 01:04:10 +02:00
yihuaf
3d00ac86f3 hook test no longer prints out printenv to mess up the test ooutput 2021-09-07 01:04:10 +02:00
yihuaf
eb6b4f412c Revert "restore some of the changes"
This reverts commit cda20edef8c776a77fa321975a07eb9f27538fc7.
2021-09-07 01:04:10 +02:00
yihuaf
abcd6ae6d5 restore some of the changes
channel test parent process should call waitpid in the end. Parent should be
able to wait before child process completly exits.

For our purpose, rust test runner don't like multi processes. Serial is
enough to work around this issue.
2021-09-07 01:04:10 +02:00
utam0k
ef9a92a334
Fixing and stabilizing github actions (#275)
* add a necessary dependencie.

* remove a unnecessary step in ci.

* stabilize unstable tests by making them serial.
2021-09-06 16:03:15 -07:00
Yukang
321ee0a233
Pass linux_masked_paths (#276) 2021-09-06 17:50:07 +02:00