Commit Graph

27 Commits

Author SHA1 Message Date
Lantao Liu
05bcc3e88c Update makefile and all integration test
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-05 21:45:20 +00:00
Lantao Liu
31c377db6d Update containerd to 25c403415a.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-27 19:33:41 +00:00
Lantao Liu
7f5687c801
Merge pull request #616 from Random-Liu/run-cri-in-parallel
Update critools and run critest in parallel.
2018-02-21 16:11:46 -08:00
Lantao Liu
fd32f5b8a5 Update critools and run critest in parallel.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-21 22:31:11 +00:00
Lantao Liu
cc2726054d Add test-containerd for plugin mode test
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-21 22:21:48 +00:00
Mike Brown
84139b4241 removes hack versions; splits update vendor and makes it optional
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-02-14 16:37:49 -06:00
Lantao Liu
09aff83bdd Do not fast build.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-09 08:53:26 +00:00
Ian Campbell
f6dd8c9e52 hack/versions: extract most from vendor.conf
This sets `$what_VERSION` and `$what_REPO` for runc, cni, containerd and
kubernetes based on vendor.conf, removing the need to duplicate things in
hack/versions.

With this `update_hack_versions` becomes redundant so remove it and both calls.

Since CONTAINERD_REPO is now unconditionally set we can also simplify the
fetching of vendor.conf in update-vendor.sh a bit, so do so. Further since
`*_REPO` are now unconditionally set we can support alternative clone paths for
all of these repos by adjusting checkout_repo to make the 3rd argument
non-optional and always passing it. Since `CRITOOL_VERSION` is not coming from
`vendor.conf` (since it is not used from Go code) we manually set
`CRITOOL_REPO` for consistency.

The final wrinkle is that `k8s.io/kubernetes` is has a Go specific redirect in
the form of HTML meta headers returned from https://k8s.io/kubernetes/?go-get=1
which point to the real repo to clone. Parsing that in shell is tricky so just
hardcode that.

Fixes #540.

Signed-off-by: Ian Campbell <ijc@docker.com>
2018-02-08 13:47:46 +00:00
Mike Brown
f19cd8ad67 update critools
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2018-02-07 13:47:23 -06:00
Lantao Liu
5740e94338 Remove critest from release tarball.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-05 22:21:10 +00:00
Lantao Liu
794543065a Add script to automatically update containerd with newest cri plugin.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-15 06:54:55 +00:00
Lantao Liu
1f6f0c7b9a Pass PATH for containerd sudo make install.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-11 22:37:14 +00:00
Lantao Liu
d361ee5422 Fix install-deps
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-01-04 07:05:31 +00:00
Lantao Liu
ec975b2e7a Add OS and arch in release tarball.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-13 23:03:03 +00:00
Yanqiang Miao
ea88668f1c Switch to a tmp GOPATH for make install.deps
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-12-12 14:35:41 +08:00
Lantao Liu
12a71882db Add support to install from alternative repo
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-04 19:18:45 +00:00
Jess Frazelle
c8584f2a6d
Makefile: release static binaries
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2017-11-15 03:29:51 -05:00
Lantao Liu
74abfe349d Add crictl config.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-11-06 05:28:58 +00:00
Lantao Liu
d1f0ac92c5 Do not include CNI binaries/configs in release tarball.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-25 23:43:32 +00:00
Abhinandan Prativadi
e4077e915b Add crictl cli to install deps
Signed-off-by: Abhinandan Prativadi <abhi@docker.com>
2017-09-20 07:38:29 -07:00
Lantao Liu
7429953386 Fix install.deps
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-12 04:47:36 +00:00
Lantao Liu
a6b0e41d6b Add release tar.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-09-04 04:44:05 +00:00
Yongkun Anfernee Gui
5da08bd892 Fix build for multiple GOPATHs
The build script doesn't work when people have GOPATH like
/path/a:/path/b

Signed-off-by: Yongkun Anfernee Gui <agui@vmware.com>
2017-09-01 16:39:01 -07:00
Mike Brown
4f442de959 adds support for AppArmor
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-09-01 18:08:34 -05:00
Lantao Liu
c6895d0856 Remove unused code.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-24 18:04:05 +00:00
Lantao Liu
f6d99abcf4 Add hostport support
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-08-23 01:33:02 +00:00
Lantao Liu
32ec1f1e21 Add CRI validation test into presubmit test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-06-28 18:02:14 +00:00