Commit Graph

59 Commits

Author SHA1 Message Date
Jose Carlos Venegas Munoz
c07d11c967 pkgs: move obs scripts to its own directory
This repository is growing is due to different projects are living
here, kernel config and patches, obs scripts, kata-deploy, release tools.

Lets move the obs scripts to its own directory.

Fixes: #75

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-06-18 15:00:49 -05:00
Graham Whaley
9858c98a69
Merge pull request #54 from Weichen81/master
configs: Add arm64 kernel config file for kata kvm guest
2018-06-15 18:06:48 +01:00
Wei Chen
a9be035f9e configs: Add arm64 kernel config file for kata kvm guest
As the Developer-Guide[1] mentioned, the progress of installing
guest kernel images need a default kernel config file. But for
Arm64 architecture, this config file is missing.
In this patch, we provide a default Arm64 kernel config file for
Linux kernel 4.14.x.

Notes:
[1] https://github.com/kata-containers/documentation/blob/master/Developer-Guide.md

Signed-off-by: Wei Chen <Wei.Chen@arm.com>
2018-06-15 15:57:56 +00:00
James O. D. Hunt
971fa5a900
Merge pull request #58 from nitkon/master
kernel: Rename x86 config and add kernel config for ppc64le
2018-06-15 12:02:10 +01:00
Jose Carlos Venegas Munoz
439f6ad524
Merge pull request #63 from raravena80/master
pkg: Add bash completion
2018-06-14 22:09:11 -05:00
Nitesh Konkar
d7527c4f0e pkg: kernel: Get kernel config name from a script
Get kernel config name from tests/.ci/kata-arch.sh
script.

Fixes: #70

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-14 21:48:19 +05:30
James O. D. Hunt
cc42623c0a
Merge pull request #69 from jcvenegas/skip-test-pkgs
ci: Skip non working test.
2018-06-14 15:49:00 +01:00
Jose Carlos Venegas Munoz
38a20d49a8 ci: Skip non working test.
Skip non working tests.

Fixes: #68

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-06-13 17:35:18 -05:00
Nitesh Konkar
50faaf7e78 kernel: add config file for ppc64le
Add config file for ppc64le.

Fixes: #60

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-13 19:30:01 +05:30
Ricardo Aravena
8f2a3d5a17
pkg: Add bash completion
Fixes #59

Signed-off-by: Ricardo Aravena <raravena@branch.io>
2018-06-12 09:37:49 -07:00
Nitesh Konkar
2a8d5017f3 kernel: Rename x86 config to match arch from tests/.ci/kata-arch script
Fixes: #57

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2018-06-08 15:33:11 +05:30
Salvador Fuentes
456b7c2062
Merge pull request #46 from jcvenegas/kernel-config-version-pgs
pkg: kernel: Add kernel config version to pkg version.
2018-05-29 15:39:58 -05:00
Jose Carlos Venegas Munoz
028f8e8e49 pkg: kernel: Add kernel config version to pkg version.
Add the version of config and patches we are using in a package.

Kernel version before:

4.14.22-128

Now:

4.14.22.1-128

Fixes: #45

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-29 11:28:57 -05:00
James O. D. Hunt
f73782bdb5
Merge pull request #44 from chavafg/topic/kernel_config_version
kernel: Add config version file
2018-05-29 08:45:14 +01:00
Salvador Fuentes
8b19c32875 kernel: Add config version file
In order to track the changes that we add to the kernel, lets
add a kata_config_version file that should be bumped whenever
a change is added to the kernel directory

Fixes #43.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2018-05-28 12:09:56 -05:00
James O. D. Hunt
82b65945c4
Merge pull request #31 from jcvenegas/ccloudvm-templates
wip: ccloudvm: Add templates for kata containers.
2018-05-24 16:15:47 +01:00
Jose Carlos Venegas Munoz
2e572f587e docs: Add ccloudvm README.
Add information how to use workloads for ccloudvm.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-23 11:02:43 -05:00
Jose Carlos Venegas Munoz
b4be018068 ccloudvm: Add worklaod to tests packages in VM.
create a template based in docker-xenial.yaml

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-23 10:49:32 -05:00
James O. D. Hunt
49a64c3c46
Merge pull request #41 from jcvenegas/pkgs1.0.0
versions: Move packages to 1.0.0
2018-05-22 13:07:31 +01:00
Jose Carlos Venegas Munoz
62ebdddb5c versions: Update to kata 1.0.0
Move packages to 1.0.0

Fixes: #40

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-21 21:46:05 -05:00
Julio Montes
ff7349b7fe
Merge pull request #38 from jcvenegas/rhel-qemu
qemu: rhel: Remove librados to allow build.
2018-05-17 10:46:04 -05:00
James O. D. Hunt
b8bd68b77b
Merge pull request #35 from jcvenegas/fix-fedora-28
pkgs: Fix build for fedora 28.
2018-05-17 07:15:09 +01:00
Jose Carlos Venegas Munoz
a6d77fddaf qemu: rhel: Remove librados to allow build.
Build qemu without librados. This allows build qemu in OBS.

Fixes: #37

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-16 18:23:22 -05:00
Jose Carlos Venegas Munoz
f7cb9988e7 linux: fedora: fix build.
Allow kernel builds in fedora 28.

Ignore new warnings from gcc 8.

Fixes: #30

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-16 16:51:10 -05:00
Julio Montes
0cb0eb4dda
Merge pull request #34 from jcvenegas/fix-qemu-build
Fix qemu build in distros with new glibc versions.
2018-05-16 10:42:49 -05:00
Eric Ernst
d1bfd7ea17
Merge pull request #33 from chavafg/topic/qemu-config-centos
qemu: disable fno-semantic-interposition for old gcc
2018-05-15 15:50:31 -07:00
Jose Carlos Venegas Munoz
ab868b1648 gitignore: Ignore debian.series file.
This is an autogenerated file.

Fixes: #61

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-15 17:29:24 -05:00
Salvador Fuentes
b78ecea3a2 qemu: disable fno-semantic-interposition for old gcc
We can only set disable fno-semantic-interposition if the
gcc used to build qemu is 5.3 or newer.
CentOS provides an older gcc, then we need to not enable this
option if it is the case.

Fixes #32.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2018-05-15 16:28:20 -05:00
Jose Carlos Venegas Munoz
793a47a790 qemu: fix build for fedora 28 and ubuntu 18.
This patch fix build for distros with new glib versions.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-15 11:41:00 -05:00
Jose Carlos Venegas Munoz
17d48e366f pkglib: Add debian.series to generated files.
If patches are found add debian.series to generated files.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-15 11:41:00 -05:00
Jose Carlos Venegas Munoz
3295f8a5db
Merge pull request #20 from erick0z/packaging_scripts
packages: Add spec files and update scripts
2018-05-14 16:15:52 -05:00
Erick Cardona
235276fbff packages: Add spec files and update scripts
This commit adds the necessary spec files and scripts in order to be able to create
packages in OBS (Open Build System) and locally.

Fixes #15

Signed-off-by: Erick Cardona <erick.cardona.ruiz@intel.com>
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-05-14 16:13:59 -05:00
Peng Tao
ec6628ef6b
Merge pull request #25 from bergwolf/cgroups
kernel-config: enable proper cgroups support
2018-04-27 01:22:53 +08:00
Peng Tao
2d94e24c87 kernel-config: enable proper cgroups support
The kata-agent requires at least the blk/pids/net_prio cgroups.

Fixes: #24

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-04-26 23:53:22 +08:00
Julio Montes
902b1d32e5
Merge pull request #23 from jcvenegas/init-ci
ci: Add initial CI scripts
2018-04-26 09:56:04 -05:00
Jose Carlos Venegas Munoz
6f560c1c4d tag_repos: Clone using https
If ssh keys are not set ssh clone wont work.

Clone using https and push using ssh.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-04-26 09:42:46 -05:00
Jose Carlos Venegas Munoz
8ba7e3c72e release: Add tests for tag_repos.sh
- Add tests for release tool tag_repos.sh
- Toplevel makefile
- Add make test target for CI

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-04-26 09:42:46 -05:00
Jose Carlos Venegas Munoz
191089fa8f ci: Add scripts needed by CI
Add required files to execute CI.

Fixes: #21

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-04-26 09:42:46 -05:00
Peng Tao
449dd27385
Merge pull request #18 from devimc/kernel/initial
kernel: add patch and config
2018-04-26 10:00:38 +08:00
Julio Montes
33195f8abd kernel: add patch and config
Add config file for x86 KVM.
Add 9p patch to always use cached inode.

fixes #17

Signed-off-by: Julio Montes <julio.montes@intel.com>
2018-04-25 12:11:39 -05:00
Eric Ernst
d3e8d9c0e4
Merge pull request #16 from jcvenegas/tag_repos
release: Add script to tag repos
2018-04-22 21:04:10 -07:00
Jose Carlos Venegas Munoz
23cf4f6221 release: Add script to tag repos
Add helper script to tag repos.

- Check all repos are in the same version
- Create annotated tags
- Push tags to the repos

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2018-04-19 14:44:35 -05:00
Jose Carlos Venegas Munoz
d0085e8edf
Merge pull request #14 from jodh-intel/fix-config-hypervisor-script
scripts: Re-add tags for hypervisor config script
2018-04-13 12:03:34 -05:00
James O. D. Hunt
dcfc74471c scripts: Quote variables in hypervisor script
Double-quote the qemu version variables in the hypervisor configuration
script.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 17:35:51 +01:00
James O. D. Hunt
90ce6d888a scripts: Add extra hypervisor config script option check
Add a check on the element (configure option).

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 17:35:51 +01:00
James O. D. Hunt
491780d6c2 scripts: extra hypervisor config script entry checks
Add more checks for each entry.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 17:35:49 +01:00
James O. D. Hunt
8cd0d9f0db scripts: Add hypervisor config script comment
Add an explanatory comment to the hypervisor configuration script.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 15:35:39 +01:00
James O. D. Hunt
a082b9ee24 scripts: Add extra check to hypervisor config script
Check the specified tag in `check_tag()` to ensure it is not blank
(which is invalid).

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 15:35:39 +01:00
James O. D. Hunt
ef16fd26e0 scripts: Re-add tags for hypervisor config script
PR #12 inadvertently removed the required tags for two of the qemu
config options.

Fixes #13.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 15:35:36 +01:00
James O. D. Hunt
99a97f74ca scripts: Add qemu version details to hypervisor script
Set the qemu major and minor version variables in the hypervisor
configuration script.

Partially fixes #13.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2018-04-03 15:35:30 +01:00