Commit Graph

16986 Commits

Author SHA1 Message Date
Peng Tao
275c683ce5
Merge pull request #16 from jodh-intel/add-makefile
build: Add minimal Makefile
2018-01-27 00:36:09 +08:00
James O. D. Hunt
086ac7428d
Merge pull request #18 from bergwolf/runvcli
runv: update submodule repo
2018-01-26 16:22:22 +00:00
Peng Tao
40e1cdc5d8 runv: update submodule repo
Use a standalone cli repo so that it can be built inside the
kata runtime directory.

fixes: #17

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-01-27 00:16:53 +08:00
James O. D. Hunt
6d7b2312a4 docs: Specify Architecture & Working Committee members as lists
For clarity, list all members of the Architecture Committee and the
Working Committee as lists, with appropriate links.

Fixes #18.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-26 15:38:26 +00:00
James O. D. Hunt
b2c26cb63c docs: Add README
Add a `README.md` that explains the purpose of this repository along
with pointers to the other repositories.

Fixes #1.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-26 14:13:45 +00:00
James O. D. Hunt
6faabd290c build: Add minimal Makefile
Add a basic `Makefile` to allow a runtime to be built:

- Clear Containers-based Kata runtime:
  ```
  $ make KATA_RUNTIME=cc [install]
  ```

- `runv`-based Kata runtime:
  ```
  $ make KATA_RUNTIME=runv [install]
  ```

Fixes #15.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-26 13:55:56 +00:00
James O. D. Hunt
00d26de0d5
Merge pull request #37 from jodh-intel/fix-image-builder-instructions
docs: Fix image builder instructions.
2018-01-25 17:04:12 +00:00
Jose Carlos Venegas Munoz
612754fd20 rootfs: Add support to create dockerfiles based on templates
To simplify maintaince, create dockerfiles based on templates.

This way when golang version is updated it will be done in one place
versions.txt.

This also allow to allways intall the same version of golang in any
dockerfile.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-25 09:02:51 -06:00
James O. D. Hunt
99bea8e9a7
Merge pull request #15 from sboeuf/add_vendoring_docs
docs: Explain vendoring with dep tool
2018-01-25 09:01:08 +00:00
Jose Carlos Venegas Munoz
b7dc0f148c
Merge pull request #42 from jodh-intel/docs-require-doc-team-signoff
CI: Require doc team signoff for doc changes
2018-01-24 21:54:37 -06:00
Xu Wang
ff8f8ab512
Merge pull request #14 from sameo/topic/cc
cc-runtime: Fix default systemd target
2018-01-25 07:32:50 +08:00
Sebastien Boeuf
581f72733c docs: Explain vendoring with dep tool
This commit introduces some new documentation about how to vendor
when using dep tool. All this documentation is gathered in a new
file called VENDORING.md

Fixes #14

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2018-01-24 10:16:18 -08:00
Samuel Ortiz
2c4e950a50 cc-runtime: Fix default systemd target
The cc-runtime code base was hard coding a Clear Containers
specific systemd unit target in the default kernel parameters.
This commit includes a fix for that.

Shortlog:

9be4882 build: Set systemd unit name based on project
512cd59 config: Clean up hypervisor debug comments

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2018-01-24 18:42:29 +01:00
James O. D. Hunt
f822e0f80b CI: Require doc team signoff for doc changes
Require an additional approval from a `documentation` team member for
PRs containing documentation changes.

Fixes #4.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-24 13:42:26 +00:00
James O. D. Hunt
fd16a96237
Merge pull request #3 from jodh-intel/enable-pullapprove
CI: Enable pullapprove
2018-01-24 13:40:03 +00:00
James O. D. Hunt
ca09d1b344 CI: Require doc team signoff for doc changes
Require an additional approval from a `documentation` team member for
PRs containing documentation changes.

Fixes #16.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-24 12:13:50 +00:00
James O. D. Hunt
30b47ddea1 CI: Require doc team signoff for doc changes
Require an additional approval from a `documentation` team member for
PRs containing documentation changes.

Fixes #41.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-24 12:11:48 +00:00
Xu Wang
bec23a9388
Merge pull request #13 from sameo/topic/cc
runtime: Add Clear Containers runtime
2018-01-24 19:57:01 +08:00
Samuel Ortiz
2f6e538e79 runtime: Add Clear Containers runtime
This adds Clear Containers as a Kata Containers runtime, under
runtime/cc-runtime

The Docker `create`, `start`, `run`, `exec` and `ps` commands
work when using the cc-runtime code together with the vanilla
Kata shim, proxy and agent components. Shortly we will also
document how to build and install all of those together.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2018-01-24 12:45:24 +01:00
James O. D. Hunt
1ca1b71f9c docs: Fix image builder instructions.
The `image_builder.sh` script must be run as `root`.

Fixes #36.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-23 14:29:54 +00:00
Jose Carlos Venegas Munoz
6dcaef7cf8 fedora: use OS_VERSION instead of host version
Use OS_VERSION provided by user configuration and not use host version.

Also add retries before fail on a request.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-22 14:58:10 -06:00
Jose Carlos Venegas Munoz
a617dd892a dockerfiles: Add golang to centos anda euleros
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-22 14:58:10 -06:00
Jose Carlos Venegas Munoz
b946770c74 test: Fix tests - run test for all distros
Not all the distros were executed due to typo

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-22 14:56:54 -06:00
Jose Carlos Venegas Munoz
18d25ca005
Merge pull request #22 from harche/repo_url
scripts: Arch dependent repo url for fedora
2018-01-22 14:36:16 -06:00
Harshal Patil
525ae6aee7 scripts: Arch dependant repo url for fedora
Changed rootfs-builder/fedora/rootfs_lib.sh to select
repo URL based on arch.

Fixes #21.

Signed-off-by: Harshal Patil <harshal.patil@in.ibm.com>
2018-01-22 10:15:33 +05:30
Jose Carlos Venegas Munoz
052b8af497
Merge pull request #29 from jcvenegas/travis
ci: Add travis basic testing
2018-01-19 13:00:07 -06:00
Jose Carlos Venegas Munoz
a9fef80feb image_builder: Allow build in a docker container
In case host not has requried programs allow build image
in a container when USE_DOCKER is set.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-19 12:51:07 -06:00
Jose Carlos Venegas Munoz
853ef22eef rootfs: Change realpath for readlink
readlink  is more common than realpath

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-19 12:51:07 -06:00
Jose Carlos Venegas Munoz
be3266fb00 ci: Add travis basic testing
Add basic a few tests to be run by travis.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-01-19 12:51:07 -06:00
James O. D. Hunt
d83ea6cf41
Merge pull request #11 from jodh-intel/ref-contrib-doc
Move Developer section and reference the contributing guide
2018-01-19 07:54:30 +00:00
Jose Carlos Venegas Munoz
25d6ed98a7
Merge pull request #27 from jodh-intel/doc-fixes
docs: General cleanup
2018-01-18 23:45:04 -06:00
James O. D. Hunt
9ab510d417 docs: Use Oxford Comma in Governance wording
Based on review feedback, updated the Governance section slightly to use
an Oxford Comma before the last list item.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-18 09:42:18 +00:00
James O. D. Hunt
efa52e13eb docs: Add contributors section to README
Added a new Contributors section that directs the reader to the
contributing guide.

Fixes #10.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-18 09:39:57 +00:00
James O. D. Hunt
57617ea4af docs: General cleanup
Rework the docs to make them simpler and more consistent. Also added of
contents and corrected a few mistakes.

Fixes #26.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-18 09:36:47 +00:00
James O. D. Hunt
5dcb2e7572
Merge pull request #13 from jodh-intel/add-pullapprove-config
CI: Add pullapprove config
2018-01-16 13:58:23 +00:00
James O. D. Hunt
0e232f1b00 CI: Add pullapprove config
Add a Pullapprove config file to require 2 ack's for all PRs.

Fixes #12.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-16 11:44:24 +00:00
James O. D. Hunt
5484928ac6
Merge pull request #19 from harche/gopath_fix
Exit if GOPATH is not set
2018-01-16 11:36:57 +00:00
James O. D. Hunt
00b886bfbb docs: Move developer info to Governance section in README
Close reading shows that the Developer section should belong under the
Governance section as the former discusses governance.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-16 08:49:23 +00:00
James O. D. Hunt
133a8e867e
Merge pull request #9 from jodh-intel/add-central-contributing-doc
docs: Add central contributing doc
2018-01-16 08:11:42 +00:00
James O. D. Hunt
3644d49950
Merge pull request #15 from liangchenye/master
rootfs: Add rootfs based on EulerOS 2
2018-01-15 13:37:07 +00:00
Liang Chenye
d46348a348 rootfs: Add rootfs based on EulerOS 2
Fixes #17.

Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2018-01-15 20:58:50 +08:00
Harshal Patil
8086e5b7a6 scripts: Exit if GOPATH is not set
Changed the `rootfs.sh` script to exit with an error if `GOPATH` isn't set
in the environment.

Fixes #20.

Signed-off-by: Harshal Patil <harshal.patil@in.ibm.com>
2018-01-15 15:47:49 +05:30
James O. D. Hunt
c53875ed8f docs: Add central contributing doc
This doc will be referenced by all the other Kata Containers
repositories.

Fixes #5.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-15 09:22:55 +00:00
Mark Ryan
065d1d2517
Merge pull request #7 from amshinde/scsi-device-add
scsi: Add function to send device_add qmp command for a scsi device
2018-01-12 11:09:25 +00:00
Archana Shinde
3273aafd53 scsi: Add function to send device_add qmp command for a scsi device
device_add qmp command for scsi devices accepts additional parameters like
scsi-id and lun. Implement function to add scsi devices. Devices
with drivers "scsi-hd", "scsi-cd" and "scsi-disk" are accepted.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2018-01-11 18:19:10 -08:00
James O. D. Hunt
2407245061
Merge pull request #8 from jodh-intel/add-code-of-conduct-doc
docs: Added CoC doc.
2018-01-11 16:31:17 +00:00
James O. D. Hunt
0c71a6ced4 docs: Added CoC doc.
Added that standard code of conduct document.

Fixes #7.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-11 14:32:00 +00:00
Samuel Ortiz
0e2b6c741a
Merge pull request #10 from gnawux/import_runv
import runV runtime as a submodule
2018-01-08 17:27:50 +01:00
James O. D. Hunt
a0e6eccbaf
Merge pull request #7 from jodh-intel/enable-pullapprove
CI: Add pullapprove and require two acks / PR
2018-01-08 16:12:33 +00:00
Julio Montes
22c99930c2
Merge pull request #8 from markdryan/coveralls
Compute coverage statistics for unit tests in Travis builds
2018-01-04 14:00:30 -06:00