Commit graph

260 commits

Author SHA1 Message Date
Antonio Murdaca
6f75277d00
some cleanups
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-22 18:17:45 +02:00
Antonio Murdaca
c268bf28b0
remove .tool/check-license
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-22 18:17:45 +02:00
Antonio Murdaca
e269cb8b7e
new vendoring
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-22 18:17:45 +02:00
Antonio Murdaca
dee7479483
remove glide deps
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-22 18:17:45 +02:00
Antonio Murdaca
32029aaba6
id and name indexes for pods
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-22 18:17:45 +02:00
Antonio Murdaca
361fc8fde7 Merge pull request #47 from runcom/travis-status
README.md: add Travis status image
2016-09-21 12:16:17 +02:00
Antonio Murdaca
9d5a9c5f2c
README.md: add Travis status image
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-21 12:15:20 +02:00
Antonio Murdaca
26cc3089c4 Merge pull request #45 from mrunalp/pause_rootfs
Automate the creation of the pod sandbox rootfs
2016-09-21 07:15:35 +02:00
Mrunal Patel
0ba5dfc15a Automate the creation of the pod sandbox rootfs
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-20 15:45:46 -07:00
Mrunal Patel
e2f60be880 Merge pull request #44 from runcom/sock-flag
cmd/server: add socket flag
2016-09-20 10:35:12 -07:00
Antonio Murdaca
910f343f79
cmd/server: add socket flag
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-20 19:17:18 +02:00
Antonio Murdaca
2378a1983a
.gitignore: use absolute paths
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-20 12:30:52 +02:00
Antonio Murdaca
4459532699 Merge pull request #42 from mrunalp/exit_example
Add an example config to demonstrate container exit code
2016-09-20 08:10:11 +02:00
Antonio Murdaca
d61a3ac58d Merge pull request #41 from mrunalp/ctr_status_output
Better output formatting for container status
2016-09-20 08:09:35 +02:00
Mrunal Patel
13de91e323 Add an example config to demonstrate container exit
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 15:30:28 -07:00
Mrunal Patel
1263e54396 Better output formatting for container status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 15:16:28 -07:00
Antonio Murdaca
3f77076fc2 Merge pull request #37 from mrunalp/pod_stop_check
Check if container in a pod is already stopped before stopping it
2016-09-19 23:08:06 +02:00
Mrunal Patel
19926bc905 Check if container in a pod is already stopped before stopping it
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 14:01:48 -07:00
Antonio Murdaca
fffaa68949 Merge pull request #40 from mrunalp/inc_deadline
Increase the deadline to 30 seconds in lint
2016-09-19 22:46:12 +02:00
Mrunal Patel
8d3b9971e7 Increase the deadline to 30 seconds in lint and fix lint errors
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 13:13:53 -07:00
Antonio Murdaca
166778315c Merge pull request #36 from mrunalp/status_exit
Convert status to exit code
2016-09-19 21:28:21 +02:00
Mrunal Patel
17b6f3b64c Convert status to exit code
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 12:25:13 -07:00
Antonio Murdaca
26262dff00 Merge pull request #35 from mrunalp/makefile_fixes
Fixes to the Makefile
2016-09-19 20:45:03 +02:00
Mrunal Patel
94cca5636c Fixes to the Makefile
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 11:36:57 -07:00
Mrunal Patel
fd265ef527 Merge pull request #30 from runcom/restore-sandboxes
sandboxes restore on server start
2016-09-19 11:10:26 -07:00
Antonio Murdaca
b053e63995
restore server rewrite
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:57:50 +02:00
Antonio Murdaca
22d434c1e6
restructure and make lint
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:56:13 +02:00
Antonio Murdaca
aa748b62b2
makefile stuff
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:51:03 +02:00
Antonio Murdaca
53e76cc752
warn when cannot update container status on server init
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:51:03 +02:00
Antonio Murdaca
260a7adb83
server/runtime: store sandbox id in container's annotations
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:51:03 +02:00
Antonio Murdaca
caae4b298a
create sandboxdir on server startup
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:51:03 +02:00
Antonio Murdaca
99a086420b
testdata: update container_config to be usable
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:51:03 +02:00
Antonio Murdaca
4fd1c583ad
sandboxes restore on server start
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 19:51:03 +02:00
Mrunal Patel
87a15ecd42 Merge pull request #32 from runcom/inmemory-store
use an in memory store for containers
2016-09-19 10:50:19 -07:00
Antonio Murdaca
35ef46f805
use an in memory store for containers
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-19 13:11:36 +02:00
Mrunal Patel
7fc874e05e Merge pull request #29 from runcom/typos-errs
*: Failed -> failed in errors
2016-09-18 09:17:13 -07:00
Antonio Murdaca
59aae8cdb5
*: Failed -> failed in errors
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-18 11:38:14 +02:00
Mrunal Patel
5e672974ff Merge pull request #25 from runcom/debug-logrus
server: add debug to ocid
2016-09-17 13:19:20 -07:00
Mrunal Patel
7d762bf015 Merge pull request #27 from runcom/hacking-md
*: add HACKING.md
2016-09-17 12:58:24 -07:00
Antonio Murdaca
4751d054c4
*: add HACKING.md
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 18:53:36 +02:00
Antonio Murdaca
d626a32c56
server: add debug to ocid
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 17:30:00 +02:00
Mrunal Patel
f99be8417e Merge pull request #19 from runcom/use-glide
*: switch from godep to glide
2016-09-17 08:22:04 -07:00
Antonio Murdaca
4bc8701fc0
*: switch from godep to glide
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 17:06:30 +02:00
Mrunal Patel
0d7b500cee Merge pull request #20 from runcom/locks
server: locking around server components
2016-09-17 08:04:02 -07:00
Mrunal Patel
6007176ec9 Merge pull request #15 from runcom/fix2
Various fixes
2016-09-17 08:02:45 -07:00
Mrunal Patel
18fee478aa Merge pull request #21 from runcom/fix-testdata-readme
testdata/README.md: fix examples
2016-09-17 07:51:47 -07:00
Antonio Murdaca
df43d39807
testdata/README.md: fix examples
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 16:12:43 +02:00
Antonio Murdaca
158dfdfbda
server: locking around server components
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 16:10:35 +02:00
Antonio Murdaca
d1510cb854
.gitignore: add conmon objs
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 11:56:51 +02:00
Antonio Murdaca
4a4897bbfe
conmon: use runtime path from ocid
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-17 11:37:45 +02:00