Commit Graph

243 Commits

Author SHA1 Message Date
Vincent Batts ad149f934f .tools: commit validator is a separate project
Moving this tool to https://github.com/vbatts/git-validation so that
iteration on it will not be noise for this project.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-10-06 10:58:14 -04:00
Vincent Batts 98e5ff7aae Merge pull request #212 from crosbymichael/wiki
Update readme with wiki link to minutes
2015-10-05 18:12:05 -04:00
Michael Crosby fe096749b4 Merge pull request #211 from duglin/tweakRuntime
Add some clarity around the state.json file
2015-10-05 13:08:40 -07:00
Michael Crosby b0bbf989fb Update readme with wiki link to minutes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-10-05 12:52:50 -07:00
Mrunal Patel f75f23fe4e Merge pull request #142 from wking/explicitly-define-mount-order
config: Require the runtime to mount Spec.Mounts in order
2015-10-05 12:02:41 -07:00
Doug Davis 44d9ba6a5e Add some clarity around the state.json file
Signed-off-by: Doug Davis <dug@us.ibm.com>
2015-10-05 10:28:54 -07:00
Michael Crosby 294b77cdba Merge pull request #208 from jonboulle/master
runtime.md: fix spacing
2015-10-01 11:08:41 -07:00
Jonathan Boulle 5796e343dd runtime.md: fix spacing
Signed-off-by: Jonathan Boulle <jonathanboulle@gmail.com>
2015-10-01 10:37:38 -07:00
Mrunal Patel 023c751ee4 Merge pull request #202 from LK4D4/post_start
Add post-start hooks
2015-09-30 12:04:10 -07:00
Alexander Morozov 8c7b01be48 Add post-start hooks
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-09-29 13:40:34 -07:00
Mrunal Patel 2078b319c8 Merge pull request #206 from crosbymichael/bundle-state
Rename State's Root to Bundle
2015-09-29 12:33:23 -07:00
Michael Crosby 34def3a09c Rename State's Root to Bundle
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-09-29 12:09:32 -07:00
Vincent Batts d521b54a1e Merge pull request #205 from runcom/travis-go-versions
.travis.yml: add go 1.5.1, update from 1.4.2 to 1.4.3
2015-09-29 13:24:40 -04:00
Antonio Murdaca f3e5c1f983 .travis.yml: add go 1.5.1, update from 1.4.2 to 1.4.3
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-29 19:04:01 +02:00
Mrunal Patel 11365355ae Merge pull request #203 from zenlinTechnofreak/master
Change version from 0.1.0 to 0.2.0
2015-09-29 10:01:58 -07:00
Mrunal Patel c5c924ffe2 Merge pull request #204 from laijs/pretty
convert **name** to **`name`**
2015-09-29 10:01:20 -07:00
Lai Jiangshan 26d39ae967 convert **name** to **`name`**
we have both styles in the *.md, we should use only one of the styles.
**`name`** is much prettier than **name** in the result,
so we use **`name`**

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-29 22:19:26 +08:00
Lai Jiangshan e324f2b6bb remove blank char from blank line
Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-29 22:09:45 +08:00
linzhinan 76860941a1 Change version from 0.1.0 to 0.2.0
Signed-off-by: linzhinan <linzhinan@huawei.com>
2015-09-29 13:35:35 +08:00
Michael Crosby 03bf64fd3f Merge pull request #176 from vbatts/docs-overhaul
Docs overhaul
2015-09-25 10:11:01 -07:00
Vincent Batts 2d3065b335 hooks: deduplicate the hooks docs
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-25 11:50:22 -04:00
Vincent Batts dd6ae21564 runtime-config: add section about Hooks
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-25 11:50:20 -04:00
Vincent Batts 70372d3880 *.md: update TOC and links
Some of the docs were not even linked to, and did not have a logic
outline for their grouping.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-25 11:47:16 -04:00
Mrunal Patel 83e5943978 Merge pull request #200 from mheon/seccomp_architecture
Add Architecture field to Seccomp configuration in Linux runtime
2015-09-23 14:10:59 -07:00
Matthew Heon 215d0d98c7 Add Seccomp constants to description of Linux runtime spec
Signed-off-by: Matthew Heon <mheon@redhat.com>
2015-09-23 15:16:49 -04:00
Matthew Heon 5fd7dce527 Add Seccomp constants to Linux runtime config
Signed-off-by: Matthew Heon <mheon@redhat.com>
2015-09-23 15:04:54 -04:00
Matthew Heon 508743563d Add Architecture field to Seccomp configuration in Linux runtime
By default, Seccomp filters will only permit syscalls to be made using the
native architecture of the kernel. This is fine for most use cases, but breaks
others (such as running 32-bit code in a container on a host with a 64-bit
kernel). This patch adds a field to specify additional architectures which may
make syscalls.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2015-09-23 14:27:23 -04:00
Vincent Batts a28afa1058 principles: Give principles their own home
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-18 10:40:26 -04:00
Vincent Batts dbac706bac README: make header more concise
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-18 10:39:51 -04:00
Vincent Batts 96bcd043aa Merge pull request #198 from runcom/hugepagetlb-limit-type
Change HugepageLimit.Limit type to uint64
2015-09-17 19:27:27 -04:00
Antonio Murdaca 6b5a66f7e1 Change HugepageLimit.Limit type to uint64
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-18 00:48:11 +02:00
Mrunal Patel 5e633ba00b Merge pull request #197 from gao-feng/rlimits
move the description of Rlimits before example
2015-09-17 15:12:18 -07:00
Mrunal Patel 3720db3c04 Merge pull request #193 from runcom/blkio-fixes
runtime: config: linux: Edit BlockIO struct
2015-09-17 15:10:59 -07:00
Antonio Murdaca e9d3ac025d runtime: config: linux: Edit BlockIO struct
`WeightDevice`, `ThrottleReadBpsDevice`, `ThrottleWriteBpsDevice`,
`ThrottleReadIOpsDevice`, `ThrottleWriteIOpsDevice` are now slices to
well defined structs to allow setting multiple devices in their respective
blkio file. By using a string to represents those values it wasn't possible
to set correct values when multiple devices were passed in the config
(either newline separated or comma separated).

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-17 20:56:45 +02:00
Mrunal Patel 8e00c3f76c Merge pull request #196 from runcom/fix-typo-namespaces
runtime: config: linux: Remove trailing comma in namespaces json example
2015-09-17 10:56:19 -07:00
Antonio Murdaca 75cb11ce4a runtime: config: linux: Fix typo and trailing commas in json example
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-17 12:27:08 +02:00
Gao feng e7746b12af move the description of Rlimits before example
Signed-off-by: Gao feng <omarapazanadi@gmail.com>
2015-09-17 17:03:07 +08:00
Mrunal Patel 7a05004e60 Merge pull request #192 from runcom/fix-typo-runtime-config-linux
Fix typo in BlockIO struct comment
2015-09-16 08:07:49 -07:00
Mrunal Patel 6e45831753 Merge pull request #190 from laijs/remove-unneeded-build-tag
Remove the unneeded build tag from the config_linux.go
2015-09-16 08:03:18 -07:00
Antonio Murdaca 8a97e3774a Fix typo in BlockIO struct comment
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-16 13:00:56 +02:00
Lai Jiangshan b592de9399 Remove the unneeded build tag from the config_linux.go
config_linux.go already has the "_linux" for the go build,
so the build tag in the file is redundant.

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-16 16:45:20 +08:00
Vincent Batts dca1dfdd92 Merge pull request #181 from jonboulle/master
.tools: make GetFetchHeadCommit do what it says
2015-09-12 11:25:29 -04:00
Jonathan Boulle bbb0f00ea8 .tools: make GetFetchHeadCommit do what it says
Signed-off-by: Jonathan Boulle <jonathanboulle@gmail.com>
2015-09-11 14:52:42 -07:00
Mrunal Patel b97324550d Merge pull request #180 from vbatts/fix-initial-maintainers
MAINTAINERS: add tianon per the charter
2015-09-11 14:08:31 -07:00
Vincent Batts f96bab34d0 MAINTAINERS: add tianon per the charter
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-11 17:00:00 -04:00
Mrunal Patel f6ec7a75c6 Merge pull request #168 from vbatts/git-style-guide
README.md: adding a git style guide
2015-09-11 13:26:32 -07:00
Vincent Batts 82835aa2a4 README.md: Add a git commit style guide
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-11 16:23:54 -04:00
Michael Crosby b8bbd289c6 Merge pull request #173 from vbatts/versioning
version: more explicit version for comparison
2015-09-11 12:14:03 -07:00
W. Trevor King d282a32cd8 config: Require the runtime to mount Spec.Mounts in order
If we don't specify this, some bundle-authors or runtime-implementers
might expect the runtime to intelligently order mounts to get the
"right" order [1].  But that's not possible because:

  $ mkdir -p a/b/c d/e/f h
  # mount --bind a/b h
  # mount --bind d a/b
  $ tree --charset=ascii h
  h
  `-- c

But in the other order:

  # umount a/b
  # umount h
  # mount --bind d a/b
  # mount --bind a/b h
  $ tree --charset=ascii h
  h
  `-- e
      `-- f

So there's no "right" order.  Allowing the bundle-author to specify
their intended order is both easy to implement and unambiguous.

[1]: https://github.com/opencontainers/specs/pull/136#issuecomment-137275876

Suggested-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-09-10 20:56:31 -07:00
Michael Crosby cbda521647 Merge pull request #158 from mrunalp/ns_path
Clarify behavior around namespaces paths
2015-09-10 14:25:23 -07:00