Commit Graph

4961 Commits

Author SHA1 Message Date
Samuel Ortiz
3adb1793eb
Merge pull request #28 from jodh-intel/update-cc-runtime
cc-runtime: Fix kernel param handling & update collect script
2018-02-09 15:56:23 +01:00
James O. D. Hunt
e2e0cfb5bb docs: Add missing standard docs
Add a README, along with the standard code of conduct and contributing
docs.

Fixes #29.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-09 14:45:14 +00:00
Jose Carlos Venegas Munoz
9699fe43a7
Merge pull request #58 from harche/bound_cond
scripts : handle 0 and negative root disk sizes
2018-02-09 07:50:05 -06:00
Julio Montes
cd3fbcf864 rootfs-builder: ARM64 support
Install the right version of golang depending of the host architecture

fixes #60

Signed-off-by: Julio Montes <julio.montes@intel.com>
2018-02-08 19:35:58 -06:00
James O. D. Hunt
32d86f1863
Merge pull request #4 from jodh-intel/bootstrap-repo
Bootstrap repo
2018-02-07 17:10:16 +00:00
James O. D. Hunt
450cbdaf8f docs: Add contributing and code of conduct docs
Add the standard contributing and code of conduct documents.

Fixes #13.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-06 10:41:09 +00:00
James O. D. Hunt
c08294fa0d docs: Add code of conduct doc
Add the standard code of conduct document.

Fixes #11.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-06 10:39:00 +00:00
James O. D. Hunt
de5a62942e CI: Add pullapprove config
Add the pullapprove configuration file.

Fixes #3.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-05 15:33:31 +00:00
James O. D. Hunt
d12122c8e3 docs: Add CoC and contributing doc
Add the standard Code of Conduct and contributing docs.

Partly fixes #3.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-05 15:33:30 +00:00
James O. D. Hunt
04b0977a9f
Merge pull request #12 from jodh-intel/add-pullapprove-config
CI: Enable pullapprove
2018-02-05 10:36:17 +00:00
Harshal Patil
132e812fe4 scripts : handle 0 and negative root disk sizes
When user manually specifies root disk image
size the value should be greater than 0.

Fixes : #57

Signed-off-by: Harshal Patil <harshal.patil@in.ibm.com>
2018-02-05 15:43:26 +05:30
James O. D. Hunt
502dc3ddaf CI: Enable pullapprove
Add the pullapprove config file to ensure all PRs are approved before
landing.

Fixes #9.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-05 09:57:58 +00:00
James O. D. Hunt
a390027452 docs: Apply doc team review comments to README
PR #7 was merged inadvertently, so apply the Documentation Team's
review comments to `README.md`.

Fixes #10.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-05 09:49:12 +00:00
James O. D. Hunt
77bb101140
Merge pull request #7 from jodh-intel/add-new-repos
docs: Add references to "ci" and "packaging" repos
2018-02-05 09:44:07 +00:00
James O. D. Hunt
916fe973e2
Merge pull request #53 from bergwolf/alpine
alpine rootfs support
2018-02-05 09:42:22 +00:00
Peng Tao
58d8f0b2b5 tests: add alpine image build tests
Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-05 17:18:52 +08:00
Peng Tao
c8403836c0 rootfs: add alpine rootfs support
Fixes: #52
Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-05 17:18:52 +08:00
Peng Tao
de6e4dc93f builder: fix agent binary path
kata agent is installed in `${ROOTFS}/usr/bin/` rather than `${ROOTFS}/bin/`.
It just happended to work because `bin` is a symlink to `usr/bin`, which
might not be true in some distros. So do not rely on it.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-05 17:18:52 +08:00
James O. D. Hunt
17e01fd32f
Merge pull request #49 from bergwolf/agent_init
Allow to use agent as init process and create initrd image based on rootfs
2018-02-05 09:11:17 +00:00
Jose Carlos Venegas Munoz
4ccd771de7
Merge pull request #30 from harche/image_size
scripts: Add an "auto-size" feature
2018-02-02 10:42:14 -06:00
James O. D. Hunt
bf1201bdfd cc-runtime: Fix kernel param handling & update collect script
Update `cc-runtime` submodule for two main reasons:

-  config: Allow user-specified kernel params to take priority
   feed1be89e

- Update data collection script to work with Kata.

Changes:

    a63895e versions: Update kernel version
    7bf93e2 release: Clear Containers 3.0.16
    1412ff8 cc-env: Remove "CC" from output.
    5e7d03c vendor: Update virtcontainers vendoring
    f515c21 vendor: Update Gopkg.toml for new prune syntax
    ef63d36 vendor: Remove constraints from packages not directly vendored
    ab1a9f1 build: Add bug URL to help output
    719f523 scripts: Fix collect script bug URL
    93c71c9 cc-check: Document "unrestricted_guest" requirement
    0f8b25d scripts: Ignore qemu startup message
    7310433 scripts: Update collect script for Kata
    feed1be config: Allow user-specified kernel params to take priority
    e7de45d usage: Show project URL in help output
    b45d46c release: Clear Containers 3.0.15
    e65682c docs: remove references to Clear Containers proxy service

Fixes #27.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-02 16:09:39 +00:00
zhangwei_cs
6b5620d1cb
Merge pull request #24 from jodh-intel/ci-add-checkcommits
CI: Enable checkcommits
2018-02-02 23:06:49 +08:00
James O. D. Hunt
d524e7adf5 docs: Add references to "ci" and "packaging" repos
Add brief details of the new "ci" and "packaging" repositories.

Fixes #6.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-02 10:16:34 +00:00
James O. D. Hunt
09373bd2b4 docs: Fix anchor for osbuilder
The HTML anchor generated by github for "osbuilder" wasn't working, so
removed the slash from the title.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-02 10:16:34 +00:00
James O. D. Hunt
98844e931e docs: Remove unecessary backticks
Remove backticks from repos that are not the name of files/commands.

Also, mark first instance of "Linux" with asterisk.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-02-02 09:42:31 +00:00
James O. D. Hunt
83148b18c2
Update README.md 2018-02-02 09:30:21 +00:00
James O. D. Hunt
f09756ee81
Initial commit 2018-02-02 09:27:48 +00:00
Harshal Patil
5fe3f4ae0b scripts: Add an "auto-size" feature
Changed image-builder/image_builder.sh to
automatically calculate the size of the root disk

Fixes #25.

Signed-off-by: Harshal Patil <harshal.patil@in.ibm.com>
2018-02-02 14:32:09 +05:30
James O. D. Hunt
7f53e41fd8
Merge pull request #5 from jodh-intel/docs-require-doc-team-signoff
CI: Require doc team signoff for doc changes
2018-02-02 07:11:40 +00:00
Peng Tao
f503e66dd7 doc: add initd term to top level readme
Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-02 10:01:22 +08:00
Peng Tao
9680f08ebf rootfs: support adding optional kernel modules
Caller of rootfs.sh can define `KERNEL_MODULES_DIR` as a kernel
module directory and then the directory will be copied to
`/lib/modules/` of the created rootfs. This allows additional
kernel modules to be put into rootfs image and initrd image.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 23:27:40 +08:00
Peng Tao
7245b21206 rootfs: document about AGENT_INIT
Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 23:27:40 +08:00
Peng Tao
85a9a4a7be CI: enable agent as init process and kata initrd tests
1. let travis build w/ and w/o agent as init process
2. test building kata initrd images

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 23:27:40 +08:00
Peng Tao
2a2a79aa87 centos: clean up yum caches after installing packages
So that we can get smaller rootfs.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 23:27:40 +08:00
Peng Tao
82759dac14 initrd: add script to build kata initrd image
Build a kata initrd image based on rootfs created by rootfs.sh.

Fixes: #5

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 23:27:36 +08:00
Peng Tao
97c7e4b7bf config.sh: do not install systemd if agent is init
When agent is used as init process, there is no need to install
systemd.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 22:58:57 +08:00
Jose Carlos Venegas Munoz
0532e91d4b
Merge pull request #55 from liangchenye/master
add travis build status to README.md
2018-02-01 08:11:37 -06:00
Liang Chenye
33c48db758 add travis build status to README.md
Fixes:#54.
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2018-02-01 18:47:25 +08:00
James O. D. Hunt
1c488951e0 CI: Enable checkcommits
Run the central static check script to enable `checkcommits`.

Fixes #8.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-31 12:30:02 +00:00
Jose Carlos Venegas Munoz
1c504c7746
Merge pull request #51 from ydjainopensource/minimalContributing
Docs : Add minimal contribution guidelines
2018-01-30 12:48:08 -06:00
James O. D. Hunt
645b4cf64d
Merge pull request #9 from ydjainopensource/minimalContributing
Docs : Add minimal contribution guidelines
2018-01-30 17:38:53 +00:00
James O. D. Hunt
53856059cb
Merge pull request #4 from jodh-intel/fix-indentation
docs: Fix README TOC formatting
2018-01-30 17:25:24 +00:00
Peng Tao
94e7b1da4f rootfs: allow to use agent as init process
Add AGENT_INIT env to make it configurable.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-01-31 00:59:29 +08:00
Yash Jain
48048056da cs : Add minimal contribution guidelines
Fixes : #8

See : kata-containers/community#5

Signed-off-by: Yash Jain <ydjainopensource@gmail.com>
2018-01-30 22:14:52 +05:30
Yash Jain
3e48c306c4 Docs : Add minimal contribution guidelines
Fixes : #50

See : kata-containers/community#5

Signed-off-by: Yash Jain <ydjainopensource@gmail.com>
2018-01-30 22:01:48 +05:30
James O. D. Hunt
71f5b11b9a
Merge pull request #23 from bergwolf/runv-repo
runv: modify GOPATH to build
2018-01-30 09:32:26 +00:00
Peng Tao
e0f4c52836 runv: modify GOPATH to build
So that we can use runv repo as git submodule without splitting it.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-01-30 10:00:05 +08:00
Jose Carlos Venegas Munoz
058cf5bfca
Merge pull request #13 from jodh-intel/ci-add-checkcommits
CI: Enable checkcommits
2018-01-29 09:52:30 -06:00
James O. D. Hunt
895aad108e CI: Enable checkcommits
Require all PRs to contain a "Fixes #XXX" comment and a
"Signed-off-by:" comment by running the central static checks script.

Note that the static checks script will detect if the repository
contains golang code and only run those checks if it does.

Fixes #12.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-01-29 08:50:55 +00:00
Peng Tao
1295bd50f7
Merge pull request #40 from jcvenegas/fixes
CI: Fix tests
2018-01-27 11:10:04 +08:00