Commit Graph

800 Commits

Author SHA1 Message Date
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
swapdisk 6c90052c7d fix typos
Signed-off-by: swapdisk <swapdisk@users.noreply.github.com>
2016-12-15 08:05:05 -06:00
Antonio Murdaca a5fa2c5536
api/shim: fix indent
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
2016-12-15 10:33:03 +01:00
Lei Jitang a6b8f2d14d architecture.md: fix typo
Signed-off-by: Lei Jitang <leijitang@huawei.com>
2016-12-14 22:15:01 -05:00
Phil Estes 65d82868c2 Merge pull request #372 from fedepad/fix-some-typos-snapshots-doc
Fix some typos in snapshots.md
2016-12-15 03:32:23 +01:00
Kenfe-Mickaël Laventure 4bbc774e78 Merge pull request #369 from fedepad/fix-small-typo-architecture-descr
Fix typo "subssystem" -> "subsystem"
2016-12-14 18:30:42 -08:00
Federico Padua 462b3b29e8 Fix some typos in snapshots.md
Fixes a couple of typos in design/snapshots.md

Signed-off-by: Federico Padua <federico_padua@yahoo.it>
2016-12-15 03:08:34 +01:00
Federico Padua 878430d4c3 Fix typo "subssystem" -> "subsystem"
Fixes typo "subssystem" -> "subsystem" in architecture.md file

Signed-off-by: Federico Padua <federico_padua@yahoo.it>
2016-12-15 01:24:30 +01:00
Federico Padua 41931dbe8f Fix small typo in oci/io.go
This commit fixes a typo in execution/executors/oci/io.go: "the" -> "to"

Signed-off-by: Federico Padua <federico_padua@yahoo.it>
2016-12-15 01:02:07 +01:00
Michael Crosby 22772224e6 Merge pull request #367 from alesr/fix-typo-contributing-file
Fix typo in CONTRIBUTING.md
2016-12-14 15:35:15 -08:00
Alessandro Resta fe5a359001 Fix typo in CONTRIBUTING.md
Minor typo fix, changing "wierd" by "weird".

Signed-off-by: Alessandro Resta <alessandro.resta@gmail.com>
2016-12-14 23:25:39 +00:00