Commit graph

760 commits

Author SHA1 Message Date
Kenfe-Mickael Laventure
f9aac9d599 ctr: add delete command
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:15:27 -08:00
Kenfe-Mickael Laventure
851d811eb2 execution/oci: use package sys for subreaper
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 09:55:17 -08:00
Michael Crosby
6a8d5fdd37 Merge pull request #415 from AkihiroSuda/update-vendor
vendor: add missing deps and remove `go get` in .travis.yml
2017-01-12 09:51:06 -08:00
Akihiro Suda
4a7a8efc2d vendor: add missing deps and remove go get in .travis.yml
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-12 08:24:48 +00:00
Stephen Day
9a740a0a42 Merge pull request #414 from samuelkarp/snapshot-tests
snapshot: Fix leaked mounts and temp directories
2017-01-11 17:19:39 -08:00
Samuel Karp
2c36c387de snapshot: Fix leaked mounts and temp directories
Signed-off-by: Samuel Karp <skarp@amazon.com>
2017-01-12 01:12:37 +00:00
Michael Crosby
e2eb06dd3d Remove networking from roadmap and readme
ref: https://github.com/docker/containerd/issues/362

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-11 16:15:01 -08:00
Michael Crosby
f0e1216d92 Update roadmap with milestones
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-11 16:07:41 -08:00
Stephen Day
4b19b0dec9 Merge pull request #412 from gianarb/coverage-gitignore
Put coverage files in gitignore
2017-01-11 16:03:22 -08:00
Michael Crosby
5ac8610e2c Merge pull request #411 from dqminh/fix-some-check
fix ineffassign: use processes array
2017-01-11 15:41:26 -08:00
Gianluca Arbezzano
225412d081 Put coverage files in gitignore
```
23:59 $ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)

    events/coverage.txt
    gc/coverage.txt
    log/coverage.txt
    snapshot/coverage.txt

```

I run `make coverage` and I just noticed that all generated files are
not in gitignore.

Signed-off-by: Gianluca Arbezzano <ga@thumpflow.com>
2017-01-12 00:00:02 +01:00
Daniel Dao
726b88f9b7
fix ineffassign: use processes array
uses processes variable instead of calling the Processes() func again

Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2017-01-11 22:33:19 +00:00
Stephen Day
23a644de8a Merge pull request #390 from estesp/init-vendoring
Add vendoring to containerd master
2017-01-11 14:16:57 -08:00
Phil Estes
f867156a38
Update protoc generation to use vendored protos
Use vendored-in protos in the project path rather
than expecting developers to have them in a local
path on the host. This made a generated change
in the FileDescriptor content, but everything else
matches and binaries are building properly.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-01-11 16:59:20 -05:00
Phil Estes
dd9309c15e
Add vendoring to containerd master
Initial vendor list validated with empty $GOPATH
and only master checked out; followed by `make`
and verified that all binaries build properly.
Updates require github.com/LK4D4/vndr tool.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-01-11 16:59:06 -05:00
Michael Crosby
649a04122a Merge pull request #398 from gliptak/travis1
Add travis config
2017-01-11 13:20:18 -08:00
Gábor Lipták
be79986b4f Add travis config
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2017-01-10 19:06:40 -05:00
Michael Crosby
4c848c4654 Merge pull request #382 from runcom/not-only-runc
cmd/containerd: extend to other OCI runtimes
2017-01-10 09:26:21 -08:00
Stephen Day
549b20711f Merge pull request #405 from samuelkarp/btrfs-test-setup
snapshot: automate btrfs test setup
2017-01-09 16:58:31 -08:00
Stephen Day
e974c8678d Merge pull request #408 from gliptak/digester1
Point digest import to opencontainers/go-digest
2017-01-09 16:54:57 -08:00
Samuel Karp
dbe117cb7e snapshot: automate btrfs test setup
Signed-off-by: Samuel Karp <skarp@amazon.com>
2017-01-10 00:50:33 +00:00
Gábor Lipták
d8aee18f6c Point digest import to opencontainers/go-digest
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2017-01-09 18:10:52 -05:00
Michael Crosby
cb97fa8495 Merge pull request #402 from miaoyq/fix-a-description-err
Fix a description error
2017-01-09 15:08:46 -08:00
Kenfe-Mickaël Laventure
017d4b77f8 Merge pull request #401 from gliptak/warnings1
Correct vet warnings
2017-01-05 13:02:10 -08:00
Yanqiang Miao
e536030f42 Fix a description error
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>

update

Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-01-04 11:40:50 +08:00
Qiang Huang
c23d3057b7 Merge pull request #404 from RobertNorthard/feature/fixed-typos
Updated README.md - fixed typos
2017-01-03 09:38:02 +08:00
Robert Northard
0c656ab503 Updated README.md - fixed typos
Signed-off-by: Robert Northard <robertnorthard@googlemail.com>
2016-12-27 18:58:19 +00:00
Gábor Lipták
102fb10fde Correct vet warnings
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2016-12-20 17:10:01 -05:00
Kenfe-Mickaël Laventure
437c971e8c Merge pull request #393 from dims/fix-make-fmt-failure
Indent proto files with tabs only
2016-12-18 09:26:35 -08:00
Davanum Srinivas
4f8a784b41 Indent proto files with tabs only
fix "make fmt" failure by switching from spaces to tabs

Signed-Off-By: Davanum Srinivas <davanum@gmail.com>
2016-12-16 17:20:41 -05:00
Michael Crosby
3cdf1d8e41 Merge pull request #374 from hqhq/fix_typos
Fix some typos
2016-12-16 11:59:06 -08:00
Michael Crosby
4171ca0ca1 Merge pull request #391 from mlaventure/restore-and-cleanup
Add restore and small cleanup
2016-12-16 11:54:53 -08:00
Kenfe-Mickael Laventure
0fdd2469f6 execution: "restore" container on service creation
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 11:40:47 -08:00
Antonio Murdaca
98b39002ba
cmd/containerd: extend to other OCI runtimes
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-12-16 18:35:15 +01:00
Phil Estes
58640c9603 Merge pull request #388 from runcom/must-bundle-path
execution/oci: validate bundle path
2016-12-16 12:07:29 -05:00
Kenfe-Mickael Laventure
73cb78fae3 execution/oci: Add check when loading processes
This should ensure that we don't kill a different process after a
restore (once supported)

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Kenfe-Mickael Laventure
abaa421141 execution/oci: use Status type instead of string
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Kenfe-Mickael Laventure
7dd69a8597 execution: use provided process ID for state
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Kenfe-Mickael Laventure
13399c1330 ctr: add events command
This simply print all events generated by containerd

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-16 08:49:09 -08:00
Kenfe-Mickaël Laventure
286ea04591 Merge pull request #385 from runcom/update-gitignore
.gitignore: remove unnecessary entries
2016-12-16 08:14:31 -08:00
Antonio Murdaca
d083334621
execution/oci: validate bundle path
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-12-16 15:15:54 +01:00
Antonio Murdaca
db3a2a073e
.gitignore: remove unnecessary entries
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-12-16 10:06:10 +01:00
Qiang Huang
3b8eee7522 Fix some typos
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2016-12-16 09:31:19 +08:00
Stephen J Day
a812199b07 design: add data-flow design document
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-12-15 13:11:42 -08:00
Kenfe-Mickaël Laventure
95c13af2f9 Merge pull request #380 from AkihiroSuda/fix-events-test
Fix compilation error in events/events_test.go
2016-12-15 10:40:04 -08:00
Kenfe-Mickaël Laventure
767cf82f02 Merge pull request #368 from fedepad/fix-typo-oci-io
Fix small typo in oci/io.go
2016-12-15 08:15:50 -08:00
Kenfe-Mickaël Laventure
e751816c4d Merge pull request #375 from runcom/fix-indent
api/shim: fix indent
2016-12-15 08:15:21 -08:00
Akihiro Suda
cd26bbe7c1 Fix compilation error in events/events_test.go
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2016-12-15 15:53:16 +00:00
Phil Estes
b1f9f5e033 Merge pull request #377 from swapdisk/master
fix typos
2016-12-15 10:10:03 -05:00
Phil Estes
b109bc0587 Merge pull request #373 from coolljt0725/fix_typo
architecture.md: fix typo
2016-12-15 09:55:34 -05:00