Commit graph

1263 commits

Author SHA1 Message Date
Mrunal Patel
4606f2a61a Fix the build for ocid to cri-o rename
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 16:55:12 -07:00
Mrunal Patel
3245810bd6 Release pod name when pod is removed
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 15:42:08 -07:00
Mrunal Patel
78aae688e2 Add API to release Pod name when not required
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 15:41:58 -07:00
Mrunal Patel
e1b8802848 Fix typo 2016-09-26 15:31:06 -07:00
Mrunal Patel
833333538e Allow specifying short pod IDs for container create
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 15:24:33 -07:00
Mrunal Patel
2e387072ac Allow specifying pod IDs by unique prefixes
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 15:24:23 -07:00
Mrunal Patel
6d5fb53675 Allow overriding name in a pod sandbox config file
This makes it easier to test creation of multiple pods
from the same config.json file.

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 14:50:34 -07:00
Antonio Murdaca
cb4234b020 Merge pull request #56 from mrunalp/list_pods
List pods
2016-09-26 21:53:45 +02:00
Mrunal Patel
fd3691a0e3 Add client impl for listing pod sandboxes
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 12:46:00 -07:00
Mrunal Patel
ecda01c284 Add server impl of list pod sandboxes
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 12:45:53 -07:00
Mrunal Patel
7c9aaf34cd Introduce consts for containers states
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 12:44:24 -07:00
Antonio Murdaca
e548ec17a7 Merge pull request #55 from mrunalp/status_pod
Populate state in pod status
2016-09-26 20:38:40 +02:00
Mrunal Patel
bdce43971f Improve pod status output formatting
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 11:28:03 -07:00
Mrunal Patel
204b2a645b Populate state in pod status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-26 11:18:35 -07:00
Mrunal Patel
def5ebdae7 Merge pull request #54 from runcom/vendork8s1
vendor: bump k8s@5fe2495588425a6613e28a048d8cc7bcb7513c7f
2016-09-26 09:38:34 -07:00
Antonio Murdaca
ab05a4526b
vendor: bump k8s@5fe2495588425a6613e28a048d8cc7bcb7513c7f
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-26 10:07:46 +02:00
Mrunal Patel
a2e816c4bc Merge pull request #53 from runcom/inttests-add
test: add README.md and add TESTFLAGS to Makefile
2016-09-24 07:14:12 -07:00
Antonio Murdaca
3d289bd214
Makefile: add TESTFLAGS to test targets
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 09:59:29 +02:00
Antonio Murdaca
8f2744785e
test: add README.md
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 09:59:27 +02:00
Mrunal Patel
f115a4ab24 Merge pull request #43 from runcom/int-tests
add tests skeleton
2016-09-23 15:44:02 -07:00
Antonio Murdaca
9bcaab76d1
.travis.yml: remove make ocid ocic since there's make integration
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:07 +02:00
Antonio Murdaca
430e1d298b
conmon: booleans already from stdbool.h
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:07 +02:00
Antonio Murdaca
0ebf110b95
conmon: fix c11 for declaration
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:07 +02:00
Antonio Murdaca
0493e06b73
Dockerfile: install libglib2.0-dev
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:07 +02:00
Antonio Murdaca
e98c40db84
.travis.yml: enable make integration
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:06 +02:00
Antonio Murdaca
614e33e3d0
Makefile: fix link target
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:06 +02:00
Antonio Murdaca
bbbd347252
.travis.yml: do not fetch deps
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:06 +02:00
Antonio Murdaca
c11bf15e83
Makefile: install tools in system's gopath
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:06 +02:00
Antonio Murdaca
aebd365cf4
test: tweak halpers
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:06 +02:00
Antonio Murdaca
857aaa7816
cmd/server: provide a flag to set ocid root dir
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:38:06 +02:00
Antonio Murdaca
a16a4df967
vendor to ./vendor/src
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:37:09 +02:00
Antonio Murdaca
a7d0fb6449
hack/vendor.sh: fix script
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:37:09 +02:00
Antonio Murdaca
5fb0252fd2
add tests skeleton
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:37:07 +02:00
Mrunal Patel
4959e12543 Merge pull request #50 from runcom/cleanups1
Cleanups and order
2016-09-23 15:35:42 -07:00
Antonio Murdaca
ec173002fd
cmd/client: split commands in multiple files
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:31:46 +02:00
Antonio Murdaca
6c5767fb6f
cmd/client: cleanups
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-24 00:31:46 +02:00
Antonio Murdaca
184872d23f Merge pull request #52 from mrunalp/pod_fixes
Pod fixes
2016-09-24 00:12:27 +02:00
Mrunal Patel
5475f6b32b Fix lint error
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-23 15:06:12 -07:00
Mrunal Patel
99a7a53309 Cleanup comments
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-23 15:05:23 -07:00
Mrunal Patel
b839ff1093 Fixup pod sandbox status
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-23 15:05:18 -07:00
Mrunal Patel
6eab35c6b5 Fixup remove sandbox logic
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-23 15:04:45 -07:00
Mrunal Patel
2066b68791 Fixup stop sandbox logic
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-23 15:04:07 -07:00
Mrunal Patel
44abd41839 Merge pull request #51 from vishh/scope
Clarify the scope of this project
2016-09-23 14:56:27 -07:00
Vishnu kannan
7ffc6fb787 adding current roadmap
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-23 14:48:39 -07:00
Vishnu kannan
053c022623 Adding scope for ocid k8s incubator project
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-09-23 12:58:05 -07:00
Antonio Murdaca
53c2a359e6 Merge pull request #48 from mrunalp/pod_namespace
Include pod namespace in the pod name
2016-09-23 21:11:19 +02:00
Mrunal Patel
688f689736 Include pod namespace in the pod name
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-23 11:42:45 -07:00
Mrunal Patel
ab5e305e73 Merge pull request #49 from runcom/fix-ocid-cmd
cmd/server: fix cmd name and usage
2016-09-23 07:51:47 -07:00
Antonio Murdaca
45a7cb3fdf
cmd/server: fix cmd name and usage
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-09-23 09:33:49 +02:00
Mrunal Patel
f5614a116f Merge pull request #34 from runcom/restore-sandboxes-2
Add ID and NAMES to sandboxes
2016-09-22 13:50:55 -07:00