Commit graph

787 commits

Author SHA1 Message Date
Michael Crosby
a7a6270f2a Remove shelling out to mount
Also remove the target from the Mount struct because it should not be
used at all.  The target can be variable and set by a caller, not by the
snapshot drivers.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-18 11:10:31 -08:00
Michael Crosby
c0fdda03cc Merge pull request #432 from AkihiroSuda/makefile-non-force
Makefile: remove FORCE dependency
2017-01-17 10:58:54 -08:00
Michael Crosby
7d39f2d0e6 Merge pull request #430 from hqhq/fix_check_error
Fix go vet errors
2017-01-17 10:51:35 -08:00
Michael Crosby
87ece31efe Merge pull request #435 from hqhq/fix_stdio
Fix io closer
2017-01-17 10:03:36 -08:00
Qiang Huang
9a5b17009c Fix io closer
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2017-01-17 19:04:20 +08:00
Akihiro Suda
029265f67c Makefile: remove FORCE dependency
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-16 08:58:20 +00:00
Qiang Huang
5d6fa7b886 Fix go vet errors
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2017-01-14 21:43:31 +08:00
Stephen Day
e6f6261bae Merge pull request #426 from stevvooe/separate-drivers
snapshots: separate implementations into packages
2017-01-13 16:20:33 -08:00
Stephen J Day
e3f83fd53d snapshots: separate implementations into packages
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-01-13 15:32:41 -08:00
Michael Crosby
c7f77f475a Merge pull request #425 from crosbymichael/jan13
Add status report for Jan 13, 2017
2017-01-13 11:21:52 -08:00
Michael Crosby
d3fadb5436 Add status report for Jan 13, 2017
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-13 10:29:52 -08:00
Phil Estes
6f8d541d2b Merge pull request #419 from AkihiroSuda/clean-vendor
vendor: clean up
2017-01-13 12:43:27 -05:00
Phil Estes
2c11108748 Merge pull request #421 from AkihiroSuda/testflags
Makefile: new variable: TESTFLAGS
2017-01-13 12:42:40 -05:00
Akihiro Suda
3793d19bfe Makefile: new variable: TESTFLAGS
e.g.

    $ TESTFLAGS="-race -v -parallel 16" make test

Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-13 04:28:24 +00:00
Akihiro Suda
c9a3036468 vendor: clean up
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-01-13 03:07:00 +00:00
Michael Crosby
8bc78b2a4a Merge pull request #400 from estesp/dev-start-guide
Add simple quick-start for developers
2017-01-12 14:47:47 -08:00
Phil Estes
3695767b12
Add simple quick-start for developers
Simple documentation on getting started with the codebase.

Expects the vendor/ PR to be in place so that there are
no requirements on the developer acquiring Go dependency
packages.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-01-12 16:50:07 -05:00
Michael Crosby
f082890e46 Merge pull request #418 from mlaventure/ctr-term-handling
ctr: set raw mode when using --tty
2017-01-12 11:51:43 -08:00
Kenfe-Mickael Laventure
a60487b782 ctr: set raw mode when using --tty
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 11:39:09 -08:00
Michael Crosby
3945ca3c58 Merge pull request #417 from mlaventure/containerd-shim
Add containerd-shim runtime
2017-01-12 11:33:28 -08:00
Kenfe-Mickael Laventure
2a20ea7daf Vendor github.com/docker/docker/pkg/term
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 11:24:31 -08:00
Kenfe-Mickael Laventure
478f50fb2e Vendor golang.org/x/sys/unix
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 11:21:06 -08:00
Kenfe-Mickael Laventure
5b40adf9af execution: add shim runtime
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:45:33 -08:00
Kenfe-Mickael Laventure
37a113f9fb execution: properly monitor restored processes
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:31:42 -08:00
Kenfe-Mickael Laventure
3cb57fa2d6 Add containerd-shim binary
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:29:37 -08:00
Kenfe-Mickael Laventure
3234546ee6 ctr: take console flag in account when readying IOs
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:24:22 -08:00
Kenfe-Mickael Laventure
8e603d2e48 ctr: use full path for bundle in run
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2017-01-12 10:23:29 -08:00
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