Commit Graph

334 Commits

Author SHA1 Message Date
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
W. Trevor King 990f7dbf7d implementations: Link to kunalkushwaha/octool
Kunal mentioned this tool in this thread [1].  There's some discussion
with David Liang of OCT in that thread where Kunal and David seem to
be trying to find common ground and avoid duplicating effort, but both
projects seem to be moving along on their own now.  I think we should
link to both, and we can always remove a link later if/when the two
projects get together to provide a common validator framework.

Entries in this list (the first in implementations.md with two entries
in a category) are alphabetical by whatever the first text is in the
enter.

[1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/B2qQ9itIsgI
     Message-Id: <b8554ca7-bc0a-480c-9603-8c4ab3f4fdd6@opencontainers.org>

Signed-off-by: W. Trevor King <wking@tremily.us>
2015-09-16 20:52:14 -07:00
W. Trevor King 944067f764 implementations: Link to mrunalp/ocitools
Mrunal mentioned this during today's meeting, and linking to it will
hopefully reduce the amount of duplicated effort in this area.

Signed-off-by: W. Trevor King <wking@tremily.us>
2015-09-16 20:47:14 -07: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
Vincent Batts 51c9265b29 Merge pull request #157 from liangchenye/master
Update runtime.md
2015-09-10 17:19:17 -04:00
Vincent Batts 88b0fc5cae Merge pull request #137 from vishh/cgroups-path
Adding cgroups path to the Spec.
2015-09-10 16:41:19 -04:00
Vincent Batts d335ecd6df README: releases section
As we ready for a draft release, verbiage is needed on what this
pre-release means.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-10 16:18:09 -04:00
Vincent Batts 580701c6f8 version: more explicit version for comparison
For deterministic comparison and still providing a Version string for
representation and reuse.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-10 16:18:06 -04:00
Vincent Batts a600f41b8b Merge pull request #175 from jonboulle/master
*: remove superfluous comma in code-of-conduct
2015-09-10 15:16:04 -04:00
Jonathan Boulle cf76bd97ff *: remove superfluous comma in code-of-conduct
Signed-off-by: Jonathan Boulle <jonathanboulle@gmail.com>
2015-09-10 12:07:30 -07:00
Mrunal Patel c00555c6ad Merge pull request #170 from vbatts/fix-dco-validate-on-merges
travis: fix DCO validation for merges
2015-09-10 12:00:43 -07:00
Vishnu Kannan 429f936ff9 Adding cgroups path to the Spec.
Signed-off-by: Vishnu Kannan <vishnuk@google.com>
2015-09-10 11:22:29 -07:00
Vincent Batts 5a654b9492 .tools: cleanup the commit entry
Accomplishing the same access to the commit entry, with more readable
code.

Reported-by: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-10 10:47:05 -04:00