Commit Graph

11497 Commits

Author SHA1 Message Date
Akihiro Suda
d6f35cb0c8 execution: properly check container.Exec return value
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
2017-04-28 07:14:17 +00:00
Chris Aniszczyk
0be389436e Improve language around adding sub projects
Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
2017-04-27 17:20:46 -05:00
Chris Aniszczyk
e9d8bcf77c Formalize process for adding new projects
There should be a lightweight process to add sub projects to
the containerd github organization. Closes #773

Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
2017-04-27 15:52:03 -05:00
Phil Estes
b3640fdc8c Merge pull request #771 from justincormack/appease-vndr
Appease the vndr God
2017-04-27 12:15:00 -04:00
Justin Cormack
299203ade4 Appease the vndr God
Adjust paths that were not canonical.

Add nested vendors that are required.

Now no errors with latest `vndr`.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-04-27 16:51:45 +01:00
Michael Crosby
c4556fcea9 Merge pull request #777 from estesp/travis-update
Ignore `./vendor` content in travis git-validation
2017-04-27 08:36:58 -07:00
Phil Estes
99486b22a8
Ignore ./vendor content in travis git-validation
Ignores vendor content for `make dco` use of git-validation tool.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2017-04-27 10:51:29 -04:00
Phil Estes
f3c5811c35 Merge pull request #765 from dmcgowan/grpc-socket-permissions
Ensure grpc socket is group writable
2017-04-27 10:00:50 -04:00
Stephen J Day
66c504d1bb
snapshot: add Usage method to Snapshotter
To allow the querying of usage for snapshots, we define a new method on
the snapshotter to query the resources in use by a single snapshot.
Conversely, it can be said that if the snapshot was deleted, the
reported amount of usage would be recovered.

There are few problems with this model in the implementation of btrfs
that need to be worked out. In btrfs, it is hard to resolve the amount
of data usage with the use of quotas but these may report valuables that
are incompatible with the model.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-04-26 17:13:52 -07:00
Stephen Day
12d65ceb50 Merge pull request #674 from dmcgowan/fs-hardlink-unmodified
Fix hardlinks in tars for unmodified files
2017-04-26 18:50:12 -05:00
Derek McGowan
4cb0839e41 Ensure grpc socket is group writable
Updates the filemode on the grpc socket to have group write
permission which is needed to perform GRPC. Additionally, ensure
the run directory has the specified group ownership and has group
read and enter permission.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-04-26 14:40:36 -07:00
Stephen Day
d0c7f13e39 Merge pull request #755 from miaoyq/avoid-creating-snapshots-repeatedly
Avoid creating snapshots repeatedly
2017-04-26 15:02:14 -05:00
Lantao Liu
409b946be1 Merge pull request #18 from mikebrow/enable-unit-test
Enables unit tests for Travis build; address nits in Makefile; increase lint timeout to 5min
2017-04-25 11:01:44 -07:00
Michael Crosby
f5adc0e019 Merge pull request #769 from vbatts/doc-correction
snapshot: the examples need context
2017-04-25 10:15:43 -07:00
Phil Estes
3fde908cbf Merge pull request #766 from miaoyq/add-an-alias-for-ctr-list
Add an alias for ctr list
2017-04-25 12:29:21 -04:00
Vincent Batts
7d018f2306
snapshot: the examples need context
the api for these functions have since added `context.Context`

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2017-04-25 12:18:03 -04:00
Mike Brown
9957ccf958 address lint timeout issue
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-25 08:38:43 -05:00
Mike Brown
f5d5286ec2 minor cleanup for tabs and comments
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-25 08:34:45 -05:00
Mike Brown
242cbd4dee Enables unit tests for Travis build
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-25 07:53:47 -05:00
Mike Brown
52ca2ebaab Merge pull request #10 from cmluciano/cml/addversionflag
Add version flag
2017-04-25 07:50:13 -05:00
Yanqiang Miao
bcc4d12706 Add an alias for ctr list
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-04-25 11:49:56 +08:00
Stephen Day
8f524ad42c Merge pull request #733 from kunalkushwaha/dist-cli-restructure
dist cli reorganized into sub-commands
2017-04-24 13:56:13 -05:00
Stephen Day
ce72a829c7 Merge pull request #752 from stevvooe/ctr-list-quiet
cmd/ctr: add quiet mode to `ctr list`
2017-04-24 13:46:58 -05:00
Christopher M. Luciano
683fd7f0e5
Add containerdVersion flag
Add version flag that only prints the static version for the binary.

This commit does not include build details for containers since
Makefile does not build them.

Closes #8

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-04-24 14:46:16 -04:00
Stephen J Day
0377bfda5d
cmd/ctr: add quiet mode to ctr list
This is so I can delete all the containers I keep creating.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-04-24 12:19:47 -05:00
Christopher M. Luciano
d6978e3b7f
Add semver and testify packages to Godeps
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-04-24 13:17:58 -04:00
Christopher M. Luciano
521a626bfb
Add Makefile task for tests
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2017-04-24 13:17:37 -04:00
Kenfe-Mickaël Laventure
7a9cfbf20e Merge pull request #743 from krasi-georgiev/ctrl-c-handle-kill-container-processes
forward ctrl+c to stop container processes before exiting
2017-04-24 10:36:56 -05:00
Phil Estes
012cc9d48c Merge pull request #760 from kevinswiber/armv7_fix
Ensure proper types for arguments to `time.Unix`.
2017-04-22 11:48:10 -05:00
Phil Estes
445da51f2f Merge pull request #762 from dklyle/master
fix relative image paths
2017-04-22 11:47:28 -05:00
Lantao Liu
647e3274aa Merge pull request #17 from Random-Liu/add-build-golang-icons
Add travis build and golang report icons.
2017-04-21 18:42:08 -07:00
Random-Liu
ae23697431 Add travis build and golang report icons.
Signed-off-by: Random-Liu <lantaol@google.com>
2017-04-21 17:53:16 -07:00
Lantao Liu
0f5a7396aa Merge pull request #16 from Random-Liu/move-boilerplate-verification
Move boilerplate verification into hack
2017-04-21 17:40:02 -07:00
Random-Liu
ce85262144 Move boilerplate verification into hack
Signed-off-by: Random-Liu <lantaol@google.com>
2017-04-21 17:15:45 -07:00
Krasi Georgiev
e03485acda forward all signals to the container
Signed-off-by: Krasi Georgiev <krasi.root@gmail.com>
2017-04-22 01:46:57 +03:00
Mike Brown
ad93d9686f Merge pull request #14 from mikebrow/boilerplate-test
Boilerplate test
2017-04-21 17:38:01 -05:00
Mike Brown
8243c1feb7 removing unused repo-infra files; updating README.md
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-21 16:18:04 -05:00
Lantao Liu
f64592982e Merge pull request #12 from heartlock/enable-travis
enable travis CI
2017-04-21 13:46:21 -07:00
David Lyle
04f76c5505 fix relative image paths
Signed-off-by: David Lyle <david.lyle@intel.com>
2017-04-21 12:27:05 -06:00
Mike Brown
f9e02affcc adds boilerplate test to verify; cleanup boilerplate on a few files
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-21 12:44:25 -05:00
Mike Brown
07ad470bde Merge commit '031b284c8a15ad4b28f81b113a9f2018af5b1da6' as 'hack/repro-infra'
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-21 12:17:40 -05:00
Mike Brown
031b284c8a Squashed 'hack/repro-infra/' content from commit 684e550
git-subtree-dir: hack/repro-infra
git-subtree-split: 684e550a2f006dbe3cf3b3d481d3f19217b228f7
2017-04-21 11:39:29 -05:00
heartlock
8af8fd07d5 enable travis CI
Signed-off-by: heartlock <21521209@zju.edu.cn>
2017-04-20 22:26:27 -09:00
Qiang Huang
455a185d98 Merge pull request #740 from crosbymichael/oom-event
Emit oom events
2017-04-20 17:23:24 -05:00
Qiang Huang
a9601d1df9 Merge pull request #746 from sak0/dev
Correct the usage of containerd --config
2017-04-20 16:56:46 -05:00
Kevin Swiber
b365fbecfd Ensure proper types for arguments to time.Unix.
When compiling for armv7, the type is `int32` for `Timespec.Sec` and
`Timespec.Nsec` in the syscall package. When passing these values
to `time.Unix`, the values must be converted to `int64`.

Signed-off-by: Kevin Swiber <kswiber@gmail.com>
2017-04-20 12:55:06 -07:00
Michael Crosby
714ffdb51a Merge pull request #756 from lilyfang/patch-1
Update dockercon-summit.md
2017-04-20 11:07:12 -07:00
Li Li
6ae973362a Update dockercon-summit.md 2017-04-20 01:31:00 -05:00
Phil Estes
a12b20ebc4 Merge pull request #748 from miaoyq/del-tmpdir
Delete the temporary diractory at the end of the function "ApplyLayer"
2017-04-20 00:10:35 -05:00
Yanqiang Miao
df8ece5a41 Avoid creating snapshots repeatedly
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-04-20 12:59:33 +08:00