zido
3428514d2c
fix build error in vagrant
2021-09-23 16:48:43 +08:00
utam0k
fb44f92434
Merge pull request #322 from zidoshare/fix-vagrant-error
...
fix vagrant errors #321
2021-09-23 16:29:04 +09:00
zido
d89382eb03
fix vagrant errors
2021-09-23 15:11:19 +08:00
yihuaf
33794ee5de
Fix pidfile
2021-09-23 00:30:30 +02:00
Furisto
9f669d73c0
Merge pull request #320 from utam0k/refactoring/introduce-lifetime-to-ControllerOpt
...
Avoid cloning LinuxResources because it is a large structure.
2021-09-23 00:16:29 +02:00
utam0k
8023ff445a
avoid cloning LinuxResources because it is a large structure.
2021-09-22 22:48:32 +09:00
Furisto
9334806002
Consolidate duplicated code
2021-09-21 23:04:38 +02:00
Furisto
feacf8ef60
Add start command to container
2021-09-21 21:37:12 +02:00
utam0k
4bab88d774
Merge pull request #319 from kenoss/style-fix-indentation
...
style: Fix indentation
2021-09-21 23:19:03 +09:00
keno
f4c871aeaa
style: Fix indentation
2021-09-21 22:48:36 +09:00
utam0k
8887955037
Merge pull request #318 from shorii/fix-error_message
...
Fix error message(`LinuixIdMapping` to `uid_mappings`)
2021-09-21 22:20:14 +09:00
shorii
5c195d8b5f
align to the runtime spec
2021-09-21 21:50:58 +09:00
utam0k
61d6695cb3
Merge pull request #311 from utam0k/improvement/add-test-builder_impl_setup_id
...
add unit tests for gid and uid mapping in `builder_impl()`
2021-09-21 21:26:09 +09:00
shorii
072a94ba26
fix error message
2021-09-21 20:55:52 +09:00
Furisto
19316ce3c1
Implement apparmor support ( #312 )
...
* Implement apparmor support
* Add explanation to apparmor test
2021-09-20 16:13:13 -07:00
Furisto
b3f642aad9
Add events command to container
2021-09-20 23:36:42 +02:00
Furisto
5108a92a30
Add resume command to container
2021-09-20 23:22:45 +02:00
Furisto
9d1363dbcf
Add pause command to container
2021-09-20 23:00:46 +02:00
Furisto
9b02987449
Add kill command to container
2021-09-20 22:26:35 +02:00
Furisto
34f832fe56
Add delete command to container
2021-09-20 22:13:04 +02:00
utam0k
2af52169cf
Merge pull request #310 from YJDoc2/add-test-utils
...
Add integration test utils necessary for implementing rest integration tests
2021-09-21 00:29:20 +09:00
utam0k
15e0e37b78
Merge pull request #309 from tiqwab/support-other-rootfs-propagations
...
Support 'shared' and 'unbindable' rootfs propagations
2021-09-21 00:24:02 +09:00
Yashodhan Joshi
28ce007066
Add resolution of runtime path using which
crate
...
Now it is not required to give complete path of the runtime, if it exists in $PATH
previously needed to provide /usr/bin/run, now only runc resolves to it
2021-09-20 20:48:10 +05:30
utam0k
13fe16f32b
Merge pull request #262 from alfonsoros88/del_new
...
Add `new` method to instantiate Delete command
2021-09-20 23:34:05 +09:00
Yashodhan Joshi
5e07e90e18
Change SLEEP_TIME from u64 to Duration
2021-09-20 19:17:01 +05:30
Alfonso Ros
bd323fd840
Add new
method to instantiate Delete command
2021-09-20 10:56:51 +02:00
tiqwab
10c6c2642d
Add test for find_parent_mount
2021-09-20 17:35:50 +09:00
utam0k
b3d0aaf3b6
add unit tests for gid and uid mapping in builder_impl().
2021-09-20 16:33:49 +09:00
utam0k
107dd91881
refactor around uid and gid mapping.
2021-09-20 16:33:20 +09:00
tiqwab
254226c2c8
Add error context
2021-09-20 13:36:59 +09:00
Yashodhan Joshi
afd546bc26
Move sleep after sending kill signal to test itself
...
Sleeping is necessary only when running all lifecycle tests,
as otherwise container is still running when we try to delete, and delete test fails.
But keeping sleep in kill function slows all other test where we do not try deleting immidiately afterwards.
Thus moved the sleep in the kill test itself, so only happend when testing lifecycle functions.
2021-09-19 21:01:02 +05:30
Yashodhan Joshi
3a0882db6e
Change workspace folder to temp dirs, Add support functions for creating bundles,starting containers etc.
2021-09-19 20:54:22 +05:30
Yashodhan Joshi
4a4e54b0da
Convert hard-coded word youki
to more generic runtime
2021-09-19 20:38:20 +05:30
utam0k
4392293301
Merge pull request #308 from utam0k/refactoring/test_framework
...
handle name as a str instead of a String.
2021-09-19 23:49:05 +09:00
utam0k
7b20c46efd
handle name as a str instead of a String in youki_integration_test.
2021-09-19 22:11:42 +09:00
utam0k
aaebeaf614
add test_framework
to workspace exclude.
2021-09-19 17:10:14 +09:00
tiqwab
c1281066ad
Support 'shared' and 'unbindable' rootfs propagations
2021-09-19 16:54:35 +09:00
utam0k
24c6dae536
handle name as a str instead of a String.
2021-09-19 16:44:20 +09:00
utam0k
825088992a
prepare to use system call mocks in unit tests ( #304 )
2021-09-18 11:32:15 -07:00
utam0k
f81b08af47
Merge pull request #306 from YJDoc2/fix_ci_changes_job
...
Fix Changes Job in CI
2021-09-19 00:38:45 +09:00
Yashodhan Joshi
a17e4f28b0
Fix Changes Job in CI
2021-09-18 20:50:07 +05:30
utam0k
74ed6304cd
Merge pull request #305 from YJDoc2/make_id_nonempty
...
Forbid empty string values for container id in commands
2021-09-19 00:06:34 +09:00
Yashodhan Joshi
54811bbbf4
Forbid empty string values for container id in commands
2021-09-18 20:19:09 +05:30
utam0k
71ddb3480c
Merge pull request #302 from shorii/fix-doc-comment
...
fix doc comment of with_preserved_fds
2021-09-18 15:36:36 +09:00
shorii
9e7ec690b2
fix doc comment of with_preserved_fds
2021-09-18 14:23:44 +09:00
utam0k
4ed8b84626
update the README about seccomp. ( #301 )
2021-09-16 09:34:25 -07:00
utam0k
eca4dee46c
Merge pull request #292 from yihuaf/yihuaf/seccomp
...
Implemented seccomp and pass the integration test
2021-09-16 20:43:41 +09:00
yihuaf
c0c51b13ab
make clippy happy
...
was failing with :C-like enum variant discriminant is not portable to
32-bit targets
2021-09-16 07:56:05 +02:00
yihuaf
57d436290e
Adds a seccomp binding
2021-09-16 07:39:04 +02:00
yihuaf
fc21158555
address review
2021-09-15 23:50:47 +02:00