Commit Graph

976 Commits

Author SHA1 Message Date
Lantao Liu
7ba0679e14 Merge pull request #132 from asifdxtreme/patch-1
Split the travis Build in different Build and Test Stage
2017-08-14 21:07:56 -07:00
asifdxtreme
b927292327 Update stage as per suggestion
Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
2017-08-15 10:02:20 +08:00
Mohammad Asif Siddiqui
b55e75b55e Split Travis Build in Stages
Signed-off-by: asifdxtreme <mohammad.asif.siddiqui1@huawei.com>
2017-08-15 09:32:42 +08:00
Lantao Liu
83a20c9fd1 Merge pull request #127 from Random-Liu/containerd-spec-tty
Use containerd spec generator to set tty.
2017-08-11 14:49:17 -07:00
Lantao Liu
2427d332f0 Add TERM=xterm when tty=true.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-11 16:53:40 +00:00
Lantao Liu
86a0f6a59b Merge pull request #126 from miaoyq/change-defaut-spec
Replace the original default spec with containerd default spec
2017-08-10 14:25:23 -07:00
Lantao Liu
8d0c896794 Merge pull request #114 from ijc/build-flags
Allow setting of compiler options
2017-08-10 10:28:09 -07:00
Yanqiang Miao
9cc93886ea Replace the original default spec with containerd default spec
The original default spec contain `seccomp` configuration,
but some OS do not support this feature, such as ubuntu14.04,
and `make test-cri` always fail. The containerd default spec dosen't
contain `seccomp`, so I think we could replace the default spec
with containerd default spec.

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-08-10 20:31:03 +08:00
Lantao Liu
b961e28d33 Merge pull request #119 from mikebrow/add-sysctls
Sets sysctls from pod config annotations
2017-08-09 18:23:15 -07:00
Lantao Liu
64c31116dd Merge pull request #123 from Random-Liu/update-crio-and-docker
Update docker and cri-o to include the sirupsen fix.
2017-08-09 16:50:05 -07:00
Mike Brown
8d37d97d01 sets sysctls from pod config annotations
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-08-09 18:42:04 -05:00
Lantao Liu
8f6558aee6 Update docker and cri-o to include the sirupsen fix.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-09 23:29:19 +00:00
Ian Campbell
7008be890f Add static-binaries target
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-08 10:31:36 +01:00
Lantao Liu
69251dd7ec Merge pull request #116 from Random-Liu/fix-devices
Handle device symlink.
2017-08-07 19:11:11 -07:00
Lantao Liu
4c5cea9258 Handle device symlink.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-08 00:53:15 +00:00
Lantao Liu
be54e9a6c0 Merge pull request #115 from Random-Liu/support-container-streaming
Add container Exec support.
2017-08-07 17:04:01 -07:00
Lantao Liu
75731c8feb Start running container Exec cri validation test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 22:49:06 +00:00
Lantao Liu
54286313ce Add container Exec support.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 22:49:06 +00:00
Lantao Liu
8b56c91ec5 Extract execInContainer
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 22:35:50 +00:00
Lantao Liu
53a8cdf14f Vendor kubernetes streaming server
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-07 19:05:16 +00:00
Lantao Liu
6c2d1ba8db Merge pull request #112 from Random-Liu/Sirupsen-to-sirupsen
Add script to rewrite `Sirupsen` to `sirupsen` in vendor.
2017-08-07 09:40:01 -07:00
Lantao Liu
ac4c5e8989 Add script to rewrite Sirupsen to sirupsen in vendor.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-05 00:37:19 +00:00
Lantao Liu
9add0139c0 Merge pull request #111 from Random-Liu/use-client-for-execsync
Use containerd client for container execsync
2017-08-04 13:43:12 -07:00
Lantao Liu
bf270fae1c Use containerd client for container execsync.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-04 18:32:39 +00:00
Lantao Liu
f0e6fe3251 Merge pull request #110 from Random-Liu/use-vndr
Use vndr instead of godep.
2017-08-04 08:35:51 -07:00
Ian Campbell
7709115afe Allow setting of compiler options
To allow e.g. building a static binary with:

    make binaries GO_GCFLAGS="--ldflags '-extldflags \"-fno-PIC -static\"'"

Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-04 13:05:43 +01:00
Lantao Liu
20860f2ecb Use vndr instead of godep.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-04 02:41:26 +00:00
Lantao Liu
230f03a47d Merge pull request #108 from mikebrow/wait-for-containerd
loop waiting for containerd server to respond to client connection
2017-08-03 10:33:19 -07:00
Mike Brown
6a9152e83f loop waiting for containerd server to respond
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-08-03 07:53:55 -05:00
Lantao Liu
a14153a218 Merge pull request #109 from Random-Liu/readme-dependencies-versions
Link dependency versions in README.md to code.
2017-08-02 20:04:10 -07:00
Lantao Liu
f11993b5da Link dependencies versions to code so that it won't be out-of-date again.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-03 00:00:19 +00:00
Lantao Liu
719b097e96 Merge pull request #105 from Random-Liu/upgrade-containerd
Upgrade containerd to 2386062
2017-08-02 16:33:26 -07:00
Lantao Liu
1c2f306a65 Manually get rid of Sirupsen reference
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-02 23:21:38 +00:00
Lantao Liu
a4f7f7127b Vendor containerd 2386062 and runtime-tools e29f3ca.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-02 23:21:37 +00:00
Mike Brown
73748840da Swicth to 1.0.0-alpha2 containerd api.
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-08-02 23:21:37 +00:00
Lantao Liu
502072e63e Merge pull request #107 from Random-Liu/fix-deadlink
Fix deadlink of travis.yml.
2017-08-02 11:06:40 -07:00
Lantao Liu
4f98eac93c Fix deadlink of travis.yaml.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-02 16:27:59 +00:00
Lantao Liu
6017d84040 Merge pull request #104 from Random-Liu/temporarily-remove-some-unit-test
Temporarily remove unit test relying on fake containerd services.
2017-08-01 00:37:35 -07:00
Lantao Liu
ffb69423ec Temporarily remove unit test relying on fake containerd services.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-07-31 22:42:10 +00:00
Lantao Liu
cbd936b734 Merge pull request #66 from Random-Liu/refactor-metadata-store
Rewrite metadata store
2017-07-30 22:01:34 -07:00
Lantao Liu
f4df66eaaf Remove old metadata store.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-07-28 23:35:31 +00:00
Lantao Liu
7b16a35287 Use new metadata store.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-07-28 23:35:31 +00:00
Lantao Liu
4317e6119a Remove sandbox truncindex.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-07-28 23:35:31 +00:00
Lantao Liu
a393f3a084 Add new metadata store.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-07-28 23:35:31 +00:00
Lantao Liu
e5d69aa537 Merge pull request #102 from Random-Liu/get-spec-from-metadata
Get spec from metadata
2017-07-28 09:45:43 -07:00
Lantao Liu
d8ce670109 Upgrade cri validation test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-07-28 16:26:20 +00:00
Random-Liu
b398a161de Get runtime spec from container metadata.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-07-28 16:26:20 +00:00
Lantao Liu
2a2d709af7 Merge pull request #100 from Random-Liu/remove-out-dated-TODOs
Remove out-of-date TODOs.
2017-06-29 19:31:06 -07:00
Lantao Liu
faf592069b Remove out-of-date TODOs.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-30 01:19:51 +00:00
Mike Brown
7174310f95 Merge pull request #99 from Random-Liu/change-log-level-for-cri-test
Change containerd log level to debug for cri validation test.
2017-06-28 22:09:12 -05:00