Peng Tao
359b78c1c9
runtime: fix cli non-root ci
...
It turns out kata check needs root privilege to
call modprobe otherwise it fails.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-29 02:40:33 -07:00
Peng Tao
a5589196ce
runtime: fix TestMainBeforeSubCommands
...
It is simply wrong to test kata-check within before sub commands
as it is NOT before at all. Besides it causes errors if kata is
not installed.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-29 02:40:33 -07:00
Peng Tao
3b5768e6e0
runtime: remove unneeded test conf
...
We don't really use them anymore.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-27 20:52:12 -07:00
Peng Tao
4fceb03d96
markdown: fix markdown checke failures
...
Pass markdown checker.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-27 19:50:59 -07:00
Peng Tao
93b72558ad
runtime: enable make file
...
go test needs explicit -mod=vendor argument.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-27 19:50:45 -07:00
Peng Tao
426a9cab6e
runtime: fix agnet ut
...
We should not use a plain unix socket reader to act as grpc
server. Place a really mock grpc server instead.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-27 19:50:37 -07:00
Peng Tao
e540648950
vendor: move to go mod
...
Get rid of go dep finally ;)
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-27 19:50:29 -07:00
Peng Tao
a02a8bda66
runtime: move all code to src/runtime
...
To prepare for merging into kata-containers repository.
Signed-off-by: Peng Tao <bergwolf@hyper.sh >
2020-04-27 19:39:25 -07:00