Akihiro Suda
7fed38881d
rootfs: fix compilation error
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-23 08:54:57 +00:00
Akihiro Suda
727f0a536e
vendor: sirupsen/logrus -> Sirupsen/logrus
...
github.com/docker/docker/pkg/archive requires Sirupsen/logrus.
So let's remove sirupsen/logrus at the moment.
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-23 08:50:08 +00:00
Michael Crosby
983d817470
Merge pull request #449 from xulike666/fight-for-readability
...
Fix all typos I found in this repo.
2017-01-19 10:58:20 -08:00
Aaron.L.Xu
08bcbddb32
fix typo I found in this repo
...
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
2017-01-20 01:18:26 +08:00
Kenfe-Mickael Laventure
bd6057c8e1
execution: remove statedir type
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-19 08:31:11 -08:00
Kenfe-Mickael Laventure
3f2d9d19bf
execution: remove oci executor
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-19 07:57:02 -08:00
Akihiro Suda
d92f60e367
shim executor: clean state dir if newProcess() failed
...
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-19 02:36:35 +00:00
Kenfe-Mickael Laventure
5b40adf9af
execution: add shim runtime
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:45:33 -08:00
Kenfe-Mickael Laventure
37a113f9fb
execution: properly monitor restored processes
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:31:42 -08:00
Kenfe-Mickael Laventure
851d811eb2
execution/oci: use package sys for subreaper
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 09:55:17 -08:00
Daniel Dao
726b88f9b7
fix ineffassign: use processes array
...
uses processes variable instead of calling the Processes() func again
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2017-01-11 22:33:19 +00:00
Gábor Lipták
102fb10fde
Correct vet warnings
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2016-12-20 17:10:01 -05:00
Michael Crosby
4171ca0ca1
Merge pull request #391 from mlaventure/restore-and-cleanup
...
Add restore and small cleanup
2016-12-16 11:54:53 -08:00
Kenfe-Mickael Laventure
0fdd2469f6
execution: "restore" container on service creation
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 11:40:47 -08:00
Kenfe-Mickael Laventure
73cb78fae3
execution/oci: Add check when loading processes
...
This should ensure that we don't kill a different process after a
restore (once supported)
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Kenfe-Mickael Laventure
abaa421141
execution/oci: use Status type instead of string
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Kenfe-Mickael Laventure
7dd69a8597
execution: use provided process ID for state
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Antonio Murdaca
d083334621
execution/oci: validate bundle path
...
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-12-16 15:15:54 +01:00
Federico Padua
41931dbe8f
Fix small typo in oci/io.go
...
This commit fixes a typo in execution/executors/oci/io.go: "the" -> "to"
Signed-off-by: Federico Padua <federico_padua@yahoo.it>
2016-12-15 01:02:07 +01:00
Michael Crosby
752fc2cc46
Fix logrus imports and runc.IO closer method
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-12 15:28:38 -08:00
Kenfe-Mickael Laventure
aa5ff88bbc
Integrate NATS with event subsystem
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-12 14:54:47 -08:00
Kenfe-Mickael Laventure
2ef399b315
Add event support to execution subsystem
...
The implementation relies on nats.io
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-12 09:21:29 -08:00
Kenfe-Mickael Laventure
2bee4ac5cd
Only use IDs for execution RPC requests
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-09 11:32:45 -08:00
Kenfe-Mickael Laventure
cc720bc460
Cleanup OCI executor io init
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-09 11:20:31 -08:00
Kenfe-Mickael Laventure
c376fd45f6
Cleanup statedir a little
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-09 11:20:31 -08:00
Kenfe-Mickael Laventure
4157d1adfd
Pass context down to executors
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-09 10:00:34 -08:00
Kenfe-Mickael Laventure
0aad42f5cf
Add exec and terminal support
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-09 10:00:34 -08:00
Kenfe-Mickael Laventure
5a86eae247
Merge execution and container service
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-07 19:44:22 -08:00
Kenfe-Mickael Laventure
ac3cc32dbc
Complete basic support for ctr run
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-07 19:44:22 -08:00
Michael Crosby
723a72bdf8
Fix execution build
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-05 16:18:05 -08:00
Michael Crosby
e31a99c08a
Delete shim
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-05 16:18:05 -08:00
Michael Crosby
21a53c1d70
Add container start and supervisor
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-05 16:18:05 -08:00
Michael Crosby
bde30191f4
Move service to execution package
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-05 14:33:31 -08:00
Kenfe-Mickael Laventure
c857213b4c
move work on execution service
...
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-05 14:15:03 -08:00
Michael Crosby
32bf0f69fd
Start work on Container and Process model
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-02 15:37:16 -08:00
Michael Crosby
6641888667
Start work on execution server implementation
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-02 11:33:58 -08:00
Michael Crosby
fdbae36237
Move oci and shim to execution package
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-12-01 11:06:32 -08:00