Commit Graph

190 Commits

Author SHA1 Message Date
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 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
Vincent Batts 041eb73d2e travis: fix DCO validation for merges
merged PRs do not have DCO, so do not check for them

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-10 10:45:34 -04:00
Vincent Batts 3f62423765 Merge remote-tracking branch 'origin/pr/159' 2015-09-10 10:10:18 -04:00
Vincent Batts 712a7467d1 Merge remote-tracking branch 'origin/pr/163' 2015-09-10 10:07:40 -04:00
Vincent Batts b1510a7872 Merge pull request #172 from laijs/committer
Change commiter to committer
2015-09-10 09:31:30 -04:00
Lai Jiangshan 92a7451023 Change commiter to committer
"commiter" is typo.

:%s/Commiter/Committer/g
:%s/commiter/committer/g

And do gofmt

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-10 20:42:51 +08:00
梁辰晔 (Liang Chenye) 8efcfad4b1 Update runtime.md
Add an explicit explanation of the hooks order.
 
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-09-10 14:24:28 +08:00
Vincent Batts 2d9842b0f5 Merge pull request #167 from vbatts/validate-dco
.tools: repo validation tool
2015-09-09 23:17:28 -04:00
Vincent Batts 9a8748cad4 Merge pull request #160 from mrunalp/cap_fix
Modify the capabilities constants to match header files like other constants
2015-09-09 18:59:48 -04:00
Vincent Batts 6c4b37ec96 Merge pull request #165 from wking/remove-mounts-destination-docs
runtime-config: Remove 'destination' docs from mounts
2015-09-09 18:57:48 -04:00
Vincent Batts 8b55acffb6 .tools: repo validation tool
Initially only a DCO validation for travis, but is set up for further
validation on commits as well.

https://github.com/opencontainers/specs/issues/90

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-09 18:17:01 -04:00
Mrunal Patel fbac038b38 Merge pull request #164 from philips/add-devices-to-linux-spec
config-linux: specify the default devices/filesystems available
2015-09-09 10:16:48 -07:00
Mrunal Patel d3a6069dc0 Change the rlimit type to string instead of int
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-09-09 12:46:23 -04:00
W. Trevor King 713d98102c runtime-config: Remove 'destination' docs from mounts
c18c283 (Change layout of mountpoints and mounts, 2015-09-02, #136)
removed the destination field from the Go type and examples, but
forgot to remove it from the documentation [1].  Fix that with this
commit.

[1]: https://github.com/opencontainers/specs/issues/109#issuecomment-138531616

Reported-by: 梁辰晔 (Liang Chenye) <liangchenye@huawei.com>
Signed-off-by: W. Trevor King <wking@tremily.us>
2015-09-09 09:45:11 -07:00
Mrunal Patel 663be9d677 Modify the capabilities constants to match header files like other constants
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2015-09-09 12:43:17 -04:00
Brandon Philips 3848a23819 config-linux: specify the default devices/filesystems available
Fixes #95

Signed-off-by: Brandon Philips <brandon.philips@coreos.com>
2015-09-09 09:36:59 -07:00
Lai Jiangshan 339e038400 Deduplicate the field of RootfsPropagation
There are two RootfsPropagation fields, one is Linux.RootfsPropagation,
the other one is LinuxRuntime.RootfsPropagation. They are duplicated,
one of them should be removed.

The RootfsPropagation is definitely a runtime specific configuration,
so we remove the one of Linux.RootfsPropagation.

And the description of it is moved from config-linux.md to
runtime-config-linux.md.

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-09 23:27:37 +08:00
Mrunal Patel 6cc6798b87 Merge pull request #162 from vbatts/formatting
*.md: markdown formatting
2015-09-09 08:17:02 -07:00
Vincent Batts 6cab2747d9 *.md: markdown formatting
Closes https://github.com/opencontainers/specs/issues/83

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-09 10:17:06 -04:00
Mrunal Patel 26b9be27a9 Merge pull request #150 from vbatts/code-of-conduct
*: adding a code of conduct
2015-09-08 11:50:12 -07:00
Mrunal Patel 9d59c53bbf Merge pull request #154 from vbatts/golint
runtime_config: comments for golint
2015-09-04 14:16:52 -07:00
Michael Crosby 0bb0ff7656 Merge pull request #152 from cloudfoundry-incubator/namespace-names
Make namespace names match runc
2015-09-04 12:51:20 -07:00
Vincent Batts 752f35c86f runtime_config: comments for golint
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-04 15:47:17 -04:00
Vincent Batts 58f6675696 Merge pull request #153 from cloudfoundry-incubator/namespace-enums
Define constants for Linux Namespace names
2015-09-04 14:35:42 -04:00
Julian Friedman 47282257b8 Define constants for Linux Namespace names
Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
2015-09-04 19:27:14 +01:00
Julian Friedman 3fd2530794 Make namespaces match runc
"mount" rather than "mnt", "network" rather than "net"

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
2015-09-04 19:12:38 +01:00
Vincent Batts 1cdec7c066 *: adding a code of conduct
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-09-04 13:15:17 -04:00
Alexander Morozov 527a3eec38 Merge pull request #64 from cyphar/add-pids-cgroup
spec: linux: add support for the PIDs cgroup
2015-09-03 21:09:55 -07:00
Mrunal Patel 34cd33b8ee Merge pull request #148 from philips/change-prefix-to-oc
runtime: use opencontainer vs oci
2015-09-03 19:41:27 -07:00
Brandon Philips 1ebe348f97 runtime: use opencontainer vs oci
In an effort to be more discoverable and self-describing change out the
term "oci" for "opencontainer". We should consider using this as the
prefix for global namespaces going forward as oc has conflicts with
existing tools and oci is the name of the initiative not the specs.
2015-09-03 18:31:38 -07:00
Mrunal Patel bf52e72391 Merge pull request #139 from cloudfoundry-incubator/master
Fix links to go files in config.md
2015-09-03 15:04:48 -07:00
Mrunal Patel f9a853ce31 Merge pull request #128 from laijs/header-cleanup
Header cleanup
2015-09-03 15:01:48 -07:00
Vincent Batts 3b330ad85f Merge pull request #87 from crosbymichael/state
Add runtime state configuration and structs
2015-09-03 15:21:03 -04:00
Alexander Morozov 8874000583 Merge pull request #136 from LK4D4/fix_mounts
Change layout of mountpoints and mounts
2015-09-03 09:27:31 -07:00
Will Pragnell d67689f0e2 config: fix links to go files 2015-09-03 10:18:35 +01:00
Aleksa Sarai 834fb5db52 spec: linux: add support for the PIDs cgroup
Add support for the PIDs cgroup as a cgroup resource constraint in the
Linux container specification. Since PIDs are a real resource, we need
to support the ability to limit them.

The PIDs cgroup subsystem is available in Linux 4.3+.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2015-09-03 17:32:35 +10:00
Alexander Morozov c18c283a17 Change layout of mountpoints and mounts
Added info about MountPoints to config.md.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>

Signed-off-by: W. Trevor King <wking@tremily.us>
2015-09-02 21:04:44 -07:00
Lai Jiangshan 004ec5525a Rename the header "Access to devices" to "Devices" to fit with the config
And also fix the header size

Signed-off-by: Lai Jiangshan <jiangshanlai@gmail.com>
2015-09-03 07:12:23 +08:00
Michael Crosby 180df9dd8f Add runtime state configuration and structs
This adds runtime state information for oci container's so that it can
be persisted and used by external tools.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-09-02 11:15:23 -07:00
Alexander Morozov 138deee141 Merge pull request #130 from LK4D4/fix_linux_runtime
Fix LinuxRuntime field
2015-09-01 06:59:49 -07:00
Mrunal Patel 4d18a5287f Merge pull request #132 from LK4D4/fix_uid_map_naming
Return golint-compliant naming for mappings
2015-08-31 19:42:59 -07:00
Alexander Morozov 31485faecb Return golang compliant names for UID and GID in User
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-08-31 16:56:08 -07:00
Alexander Morozov c83c65ccd5 Return golint-compliant naming for mappings
It was lost in pull request about runtime config

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-08-31 16:55:45 -07:00
Brandon Philips 4459fb5ed6 Merge pull request #131 from crosbymichael/maintainers
Add MAINTAINERS file
2015-08-31 14:25:20 -07:00