Commit graph

1807 commits

Author SHA1 Message Date
Antonio Murdaca
6f9e51fc7d Merge pull request #170 from cyphar/port-to-i586
oci: cast timestamp to int64
2016-10-21 14:06:00 +02:00
Aleksa Sarai
8ace3647fa
oci: cast timestamp to int64
Found while trying to package ocid for openSUSE.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2016-10-21 22:18:51 +11:00
Antonio Murdaca
5290ca593a Merge pull request #166 from mrunalp/image_no_nil
Make image APIs return empty struct instead of nil
2016-10-21 08:10:09 +02:00
Mrunal Patel
cc9ce68463 Make image APIs return empty struct instead of nil
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-20 16:13:41 -04:00
Antonio Murdaca
e14e6c7cfc Merge pull request #165 from mrunalp/api_version
Set the version to what kubelet expects
2016-10-20 21:25:52 +02:00
Mrunal Patel
0b76a65033 Set the version to what kubelet expects
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-20 14:51:38 -04:00
Antonio Murdaca
0ef2fc937b Merge pull request #163 from mrunalp/uts_no_share
Don't share container UTS namespace with pod
2016-10-18 23:30:28 +02:00
Mrunal Patel
4a7ea899b0 Don't share container UTS namespace with pod
kubernetes doesn't share the UTS namespace

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-18 14:17:57 -07:00
Mrunal Patel
68a350d9ae Merge pull request #157 from YaoZengzeng/ocic-timeout
add timeout for ocic connect to server
2016-10-18 09:32:09 -07:00
Antonio Murdaca
5f9517a17a Merge pull request #159 from laijs/uncompressed-manpages-makefile
unistall or cleanup uncompressed manpages when requested
2016-10-18 11:31:51 +02:00
Lai Jiangshan
09d470bdcd unistall or cleanup uncompressed manpages when requested
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2016-10-18 17:16:07 +08:00
Antonio Murdaca
f54deb5c4a Merge pull request #158 from laijs/gzip-option-keep
don't gzip the manpages
2016-10-18 10:51:41 +02:00
Lai Jiangshan
9d65f8a907 don't gzip the manpages
let the package builders of the distros do it

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2016-10-18 16:35:31 +08:00
YaoZengzeng
8f91c149e2 add timeout for ocic connect to server
Signed-off-by: Yao Zengzeng <yaozengzeng@zju.edu.cn>
2016-10-18 13:50:16 +08:00
Antonio Murdaca
b3f0920fe8 Merge pull request #156 from mrunalp/pod_meta_filter
Pod filtering support
2016-10-17 23:34:15 +02:00
Mrunal Patel
2be40e0a31 Add tests for pod filtering
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-17 12:51:21 -07:00
Mrunal Patel
1694591f6c Add support for adding labels at pod creation time
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-17 12:33:48 -07:00
Mrunal Patel
2cc40ef9ef Add client support for filtering pods
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-17 12:25:30 -07:00
Mrunal Patel
5e7d96bd6a Add server side pod filtering support
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-17 12:24:57 -07:00
Mrunal Patel
01c8785ea4 Use Set instead of map for storing pod labels
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-17 11:28:48 -07:00
Antonio Murdaca
63614ff690 Merge pull request #154 from rhatdan/selinux
Make sure selinuxenabled exists before executing it
2016-10-17 17:24:38 +02:00
Antonio Murdaca
2c77091a54 Merge pull request #151 from hqhq/fix_makefile_rm
Makefile: fix remove docs in make clean
2016-10-17 14:59:52 +02:00
Dan Walsh
488216f57b Make sure selinuxenabled exists before executing it
Signed-off-by: Dan Walsh <dwalsh@redhat.com>
2016-10-17 08:48:14 -04:00
Qiang Huang
f3bc6d3660 Makefile: fix remove docs in make clean
On Ubuntu, `/bin/sh` is used in Makefile by default, so
a.{1,2,3} isn't evaluated to a.1 a.2 a.3, another solution
is to use `SHELL=/bin/bash` in Makefile, but I don't think
we should bind to bash this early, at least not for this
case.

This also remove the removal of docs/*.1 which doesn't
exist for now.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-10-17 13:15:41 +08:00
Antonio Murdaca
0c7f83dd1f Merge pull request #148 from rhatdan/selinux
Setup proper labeling for runnin test with selinux
2016-10-15 01:32:52 +02:00
Dan Walsh
04807d586a Setup proper labeling for running test with selinux
The rootfs that gets created needs to have an SELinux label that containers
can write to.  Until they get native storage support, this patch will
force the entire storage pool to be labeled in such a way that confined
containers can read/write/execute the content.

Signed-off-by: Dan Walsh <dwalsh@redhat.com>
2016-10-14 17:29:20 -04:00
Mrunal Patel
91efd54e2b Merge pull request #145 from rhatdan/makefile
Fix up Makefile, to only build when needed
2016-10-14 14:04:24 -07:00
Dan Walsh
a14ddbde94 Fix up Makefile, to only build when needed
Signed-off-by: Dan Walsh <dwalsh@redhat.com>
2016-10-14 16:48:42 -04:00
Antonio Murdaca
3a69841225 Merge pull request #146 from mrunalp/create_label
Allow adding labels at container create time
2016-10-14 21:29:52 +02:00
Mrunal Patel
e1a4b71478 Add more tests for label filtering
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-14 12:06:10 -07:00
Mrunal Patel
52dc8e4865 Add support for adding labels at ctr create time
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-14 12:05:47 -07:00
Antonio Murdaca
24bb1523cf Merge pull request #138 from mrunalp/labels
Add support for label filtering
2016-10-14 19:06:19 +02:00
Mrunal Patel
1d58bc8eae Add a test for label filtering
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-14 09:58:09 -07:00
Mrunal Patel
0898f1cb61 Merge pull request #144 from runcom/vendor-runc-label-selinux
vendor opencontainers/runc 3abefdff18bc201199c5dfd0e91e941cb4c61376
2016-10-14 08:31:34 -07:00
Antonio Murdaca
7894fba5b5
vendor opencontainers/runc 3abefdff18bc201199c5dfd0e91e941cb4c61376
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-10-14 17:24:37 +02:00
Mrunal Patel
6206c2e6ae Merge pull request #141 from 14rcole/manpage-install
Fix installation of manpages
2016-10-14 08:20:28 -07:00
Ryan Cole
44afbcb947 Fix installation of manpages
Previously, the markdown versions of the man pages were copied to
their respective locations, but these cannot be parsed by the man
command.  The Makefile was updated to gzip the man pages generated
by go-md2man and install the gzipped files into their respective
man directories.
Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
2016-10-14 08:34:49 -04:00
Mrunal Patel
f12d94100c Add client changes for filtering containers by labels
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 17:02:02 -07:00
Mrunal Patel
d2cae34243 Add server side container label filtering
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 17:01:31 -07:00
Mrunal Patel
50cc7ce940 Use Set instead of map[string]string for container labels
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 15:45:41 -07:00
Mrunal Patel
c6f509b832 Update vendor to include selector/fields packages from kubernetes
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 15:37:13 -07:00
Antonio Murdaca
0609c944f1 Merge pull request #120 from mrunalp/ctr_filter
Add container filtering support
2016-10-13 21:52:07 +02:00
Mrunal Patel
1bb79c9bbb Add a test for container list filtering
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 12:40:07 -07:00
Mrunal Patel
8d88bf1ab1 Add client support for filtering containers
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 12:40:07 -07:00
Mrunal Patel
09049fc357 Filter containers by id, pod id and state in container list
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2016-10-13 12:40:02 -07:00
Mrunal Patel
1fc46973a9 Merge pull request #137 from 14rcole/build-instructions
README.md: Update build instructions
2016-10-13 12:36:04 -07:00
Ryan Cole
ad7c98b7a6 README.md: Update build instructions
The 'make binaries' command requires the existence of
libc.a.  On Fedora this file is included in the glibc-static
package.  If this is not installed the user will get the error
'/usr/bin/ld: cannot find -lc'.  On Ubuntu this is not an issue.
The README was updated to reflect this dependency.

Signed-off-by: Ryan Cole <rcyoalne@gmail.com>
2016-10-13 14:58:50 -04:00
Mrunal Patel
da4cc11077 Merge pull request #135 from runcom/sdnotify
Sdnotify
2016-10-13 11:00:22 -07:00
Antonio Murdaca
93ba37d00b
vendor go-systemd
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-10-13 19:40:18 +02:00
Mrunal Patel
8cebe5c612 Merge pull request #130 from runcom/fix-127
server/sandbox: fix add/release pod/ctr ids and names
2016-10-13 10:18:19 -07:00