Commit Graph

15384 Commits

Author SHA1 Message Date
James O. D. Hunt
6899dec884
Merge pull request #64 from nirmoy/fix_template_make
makefile: fix makefile to find Dockerfile.template
2018-03-01 17:41:12 +00:00
James O. D. Hunt
56eb88b8dd
Merge pull request #56 from liangchenye/time
skip euleros build due to timeout reason
2018-03-01 16:04:11 +00:00
Graham Whaley
23d9ae0bdb
Merge pull request #14 from jodh-intel/add-docs
docs: Add contributing and code of conduct docs
2018-03-01 15:30:48 +00:00
Graham Whaley
276a1499eb
Merge pull request #11 from jodh-intel/doc-review-comments
docs: Apply doc team review comments to README
2018-03-01 14:47:45 +00:00
James O. D. Hunt
d9222448bc cc-runtime: Update to 3.0.20
Update `cc-runtime` to release 3.0.20 to pull in SCSI support and vCPU and
logging fixes.

Shortlog:

    0ea75e1 versions: Update kernel version to latest.
    14439ef release: Clear Containers 3.0.20
    e703f15 fedora-installation-guide: update Fedora versions supported
    b03c4a5 logging: Add name to all log calls
    055c688 logging: Add PID field to logs
    f6da537 config: don't exceed the number of physical cores
    cc84544 versions: Update agent version to pull in SCSI support
    54f87f5 logging: Add CLI command to logs
    befbdb1 config: Add comments for the DisableBlockDeviceUse flag

Fixes #42.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-03-01 13:57:57 +00:00
Eric Ernst
fc28cdc28d
Merge pull request #12 from jodh-intel/add-coc-doc
docs: Add code of conduct doc
2018-02-27 08:34:37 -08:00
Wang Xu
fd579088db
create directory for design documents
Fixes #13

Signed-off-by: Wang Xu <gnawux@gmail.com>
2018-02-26 18:24:55 +08:00
Nirmoy Das
b21db8fc79 makefile: fix makefile to find Dockerfile.template
template rootfs creation fails:

$make -f template/Makefile ROOTFS_BASE_NAME=opensuse
<....>
sed: can't read Dockerfile.template: No such file or directory

make is unable to find Dockerfile.template, this patch fixes this.

Fixes #67.

Signed-off-by: Nirmoy Das <ndas@suse.de>
2018-02-26 11:24:49 +01:00
zhangwei_cs
c2a36f0b20
Merge pull request #38 from sameo/topic/cc
cc-runtime: Update to 3.0.19
2018-02-23 10:14:07 +08:00
Samuel Ortiz
74732c6443 cc-runtime: Update to 3.0.19
Add ARM architecture framework
Fix CRI-O kill race condition
Support configurable inter networking models (bridge, macvlan)

Shortlog:

5d80cae release: Clear Containers 3.0.19
702ee56 logger: Fix nanosecond timestamp test
e4ec67c vendor: Re-vendor virtcontainers to bring ARM support.
f90b33b logger: Fix nanosecond timestamps
84104b8 build: Add 'show-arches' target
3642602 build: Add variable for arch file suffix
c17c1f0 build: Add missing periods
db9f440 vendor: Re-vendor virtcontainers to include changes in govmm.
db882f3 build: Add architecture framework for ARM
26ce77d versions: Upade openshift, kubernetes, runc and CRI-O
f6d0b73 release: Clear Containers 3.0.18
7a280ef vendor: Update virtcontainers vendoring
ec11564 kill: Fix CRI-O race condition
786610f vendor: Update virtcontainers
1c84bef config: Add configuration option to define InterNetworkModel
8f3d397 cc-check: Isolate architecture specific code
755da14 versions: Update agent version
fa76660 cc-env: Add architecture to output
d51f214 release: Clear Containers 3.0.17
9e1712f CI: Run extra go linters
d1e7e3a lint: Remove unused variables
8ce6dd4 tests: Remove unused assignment
f3b8e73 list: Use interface explicitly
b0926d4 versions: agent: image: update agent
66f41d6 versions: image: Update base os to version 20640
1c45133 build: Don't install git hooks when running under a CI

Fixes #39

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2018-02-23 01:05:09 +01:00
Samuel Ortiz
b97f8ad710
Merge pull request #37 from GabyCT/topic/addrun
ci: Add run.sh and setup.sh in order to run the tests.
2018-02-23 01:05:00 +01:00
Gabriela Cervantes
f0503ba54a ci: Add run.sh and setup.sh in order to run the tests.
The setup script will be in charge of clone the test repository, meanwhile,
the run script will be in charge of execute for example the docker
integration tests.

Fixes #36

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2018-02-22 01:00:55 -06:00
Liang Chenye
55f0324878 skip euleros build due to timeout reason
Fixes #46.

Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2018-02-22 10:02:44 +08:00
James O. D. Hunt
ec738d46c1
Merge pull request #61 from devimc/rootfs/arm
rootfs-builder: ARM64 support
2018-02-19 09:35:14 +00:00
Jose Carlos Venegas Munoz
eb3712a075
Merge pull request #62 from erick0z/erick0z/image_size
image-builder: Allow to specify root partition free space
2018-02-15 21:41:21 -06:00
Erick Cardona
ea4063095d image-builder: Allow to specify root partition free space
There is no way to specify the remaining free space of the root partition.
It can vary depending on the upper bound size of the image aligned to 128MB
and the size of the root filesystem.
The following patch allow the user to specify that at least a certain amount
of space (defined in MB) will be kept in the root partition.

Fixes: #45

Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com>
2018-02-14 14:52:25 -06:00
Mark Ryan
d60256118f
Merge pull request #9 from devimc/qemu/extraOptions
qemu: add extra options for the machine type
2018-02-12 15:33:44 +00:00
Julio Montes
693d9548dc qemu: add options for the machine type
certain machines types need to have options to enable or disable features
For example the machine type virt in certain hosts must have the gic version
(gic-version=3 or gic-version=host) to start without problems

Signed-off-by: Julio Montes <julio.montes@intel.com>
2018-02-12 09:27:30 -06:00
Xu Wang
64bb90cb92
Merge pull request #30 from jodh-intel/add-docs
docs: Add missing standard docs
2018-02-09 22:56:33 +08:00
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