Commit Graph

5900 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
James O. D. Hunt
72e41a0722 CI: Enable pullapprove
Require two approvals from documentation team members before a PR
can land.

The configuration file is the same as those used for the other repos,
except for the approval team name.

Fixes #2.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-02 17:34:46 +00:00
Wang Xu
98227974e7
import runV runtime as a submodule
this importing resolves #9 together with CC import

Signed-off-by: Wang Xu <gnawux@gmail.com>
2017-12-24 09:17:45 +08:00
James O. D. Hunt
2c002c8a92 CI: Add pullapprove and require two acks / PR
Add a `pullapprove.yml` that requires each PR to be approved
by two members of the `runtime` team.

Fixes #5.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2017-12-21 17:23:35 +00:00
James O. D. Hunt
20fbb5a721
Initial commit 2017-12-21 13:41:45 +00:00
Peng Tao
eb19154a60
Merge pull request #11 from jodh-intel/require-2-pullapprove-acks
Require 2 pullapprove acks
2017-12-19 12:26:19 +08:00
James O. D. Hunt
c0d3ef8c1b CI: Add rfc logic to pullapprove config
For parity with the agent, disallow merging of RFC branches.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2017-12-18 21:53:23 +00:00
James O. D. Hunt
5c7a685f96 CI: Require 2 approvals for pullapprove
Change the pullapprove configuration to require two acks before a PR
can be approved (for parity with the agent).

Fixes #10.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2017-12-18 21:52:55 +00:00
Peng Tao
8f0d7f6acb
Merge pull request #1 from jcvenegas/image-creation-support
Image creation support
2017-12-11 10:20:42 +08:00
Jose Carlos Venegas Munoz
d2f31dfbf7
Merge pull request #4 from sameo/topic/coc
Code Of Conduct and pullapprove support
2017-12-07 10:05:14 -06:00
Xu Wang
b3404d58f6
Initial commit 2017-12-06 23:01:13 -06:00
Jose Carlos Venegas Munoz
48820425eb Makefile: Add image target
Use as default base OS centos

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:32:03 -06:00
Jose Carlos Venegas Munoz
0e1b500fec docs: Add README
- Overview
- Terms

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:32:03 -06:00
Jose Carlos Venegas Munoz
d9fe322a5f image: Add README
Add readme do document how to use ./image-builder/image_builder.sh

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:32:03 -06:00
Jose Carlos Venegas Munoz
52d6b044b7 image: Add script to build image
Add script to build image based on a rootfs directory.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:32:03 -06:00
Jose Carlos Venegas Munoz
b284e42aef rootfs: Add docker support
Allow users build a rootfs using docker, this will make easy if they
dont have dependencies need to pull packages from a distro.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:32:01 -06:00
Jose Carlos Venegas Munoz
48992d3fdf rootfs: Add README
Add docs about how rootfs generation.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:31:24 -06:00
Jose Carlos Venegas Munoz
206db3d585 rootfs: Add template files for new distros
Add template to add new distros.

Added a Makefile to initialize new environment.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:31:24 -06:00
Jose Carlos Venegas Munoz
75a9d5eab7 rootfs: Add rootfs based on CentOS 7
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:31:24 -06:00
Jose Carlos Venegas Munoz
5b8478c4cf rootfs: Add script for Fedora base OS
Add scirpts to build a rootfs based on Fedora.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:31:24 -06:00
Jose Carlos Venegas Munoz
91bf410118 rootfs: Add script for Clear Linux base OS
Add script and config to build a rootfs based
in Clear Linux OS.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:31:24 -06:00
Jose Carlos Venegas Munoz
f1b8da340e rootfs: Add rootfs.sh script
Add script that will use helper bash
scripts that provide a way to build a rootfs
based in a OS.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-12-06 13:31:15 -06:00
Samuel Ortiz
5a3115e965 pullapprove: Let the builder team approve PRs
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-12-04 23:36:49 +01:00
Samuel Ortiz
6a0d61363a CoC: Add Code of Conduct
We follow the OpenStack Foundation CoC.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2017-12-04 23:35:38 +01:00
Wang Xu
53901abe10 Initial commit 2017-11-21 17:03:45 +08:00
Samuel Ortiz
6d07e2cddb
Initial commit 2017-11-13 12:24:56 +01:00