Commit Graph

988 Commits

Author SHA1 Message Date
James O. D. Hunt
34b28aca01
Merge pull request #817 from amshinde/1.10.0-alpha1-branch-bump
# Kata Containers 1.10.0-alpha1
2019-11-20 11:24:26 +00:00
Archana Shinde
9ac8b0fe8d release: Kata Containers 1.10.0-alpha1
- kata-static: Add cloud-hypervisor to tarball
- obs: Do not wait on excluded packages
- kata-deploy: add or overwrite runtimes in containerd config
- kata-deploy: add support for Cloud Hypervisor and remove nemu
- qemu-virtiofs: Add one patch to fix libvhost-user
- release: Rename generated artifacts to a particular format
- scripts: Fix static build docker config script
- obs: Disable repo-publishing for CI builds
- release: Fix bug in evaluation kata_version.
- obs: Add ubuntu 19.04
- CI: Fix bump test
- kata-deploy: don't remove pre-existing containerd
- kernel: Enable configuration for fips mode.
- kata-deploy: action: reference kata-containers instead of fork
- snap: make launchpad happy again

dabef60 kata-static: Add cloud-hypervisor to tarball
233dfb6 static: fix qemu-virtiofs build
e4a8c6b obs: Do not wait on excluded packages
c745308 kata-deploy: add or overwrite runtimes in containerd config
c78f10f kata-deploy: remove nemu
5431096 kata-deploy: add support for Cloud Hypervisor
5d8f405 qemu-virtiofs: Add one patch to fix libvhost-user
c6f4313 release: Remove all traces of qemu-lite from packaging
e6c2a53 release: Pass the qemu tarball name as a docker build arg
7895958 release: Rename generated artifacts to a particular format
14558de scripts: Fix static build docker config script
627445e obs: Add ubuntu 19.04
4abfa70 obs: Disable repo-publishing for CI builds
c12c533 kata-deploy: don't remove pre-existing containerd
05a8d4b CI: Fix bump test
853a99c release: Fix bug in evaluation kata_version.
4d129fd kata-deploy: action: reference kata-containers instead of fork
ec95961 kernel: Enable configuration for fips mode.
27c7773 snap: reimplement image part
43a5d14 snap: use adopt-info to set grade and version

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-20 00:12:58 +00:00
Archana Shinde
5c636a2199
Merge pull request #813 from jcvenegas/ch-tarball-build
kata-static: Add cloud-hypervisor to tarball
2019-11-19 15:45:44 -08:00
GabyCT
e01275052a
Merge pull request #816 from amshinde/quit-waiting-for-excluded-packages
obs: Do not wait on excluded packages
2019-11-19 15:05:44 -06:00
Jose Carlos Venegas Munoz
dabef60649 kata-static: Add cloud-hypervisor to tarball
Include cloud-hypervisor to Kata release tarball

Fixes: #792

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-11-19 20:46:00 +00:00
Jose Carlos Venegas Munoz
233dfb6c2e static: fix qemu-virtiofs build
virtiofs build failed using docker build.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-11-19 20:46:00 +00:00
Archana Shinde
e4a8c6b2a3 obs: Do not wait on excluded packages
In case a package in obs is excluded ie no longer being built,
do not wait for it to be built. Wait as long as there are packages
being built or blocked on others to be built.

Fixes #815

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-19 10:45:35 -08:00
Archana Shinde
80a2b344de
Merge pull request #812 from wilsonianb/overwrite
kata-deploy: add or overwrite runtimes in containerd config
2019-11-19 09:58:24 -08:00
Brandon Wilson
c7453087ff
kata-deploy: add or overwrite runtimes in containerd config
Match indented CRI-O config fields.
Fix CRI-O qemu virtiofs runtime_path.

Fixes: #802

Signed-off-by: Brandon Wilson <brandon@coil.com>
2019-11-18 18:14:07 -06:00
Archana Shinde
ca7fb82003
Merge pull request #809 from chavafg/topic/clh-support
kata-deploy: add support for Cloud Hypervisor and remove nemu
2019-11-18 13:57:13 -08:00
Archana Shinde
dff5e7da1d Merge pull request #811 from sboeuf/ch_virtiofs
qemu-virtiofs: Add one patch to fix libvhost-user
2019-11-18 13:54:06 -08:00
Salvador Fuentes
c78f10f9aa kata-deploy: remove nemu
nemu is no longer supported, so remove it from kata-deploy.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2019-11-18 11:35:12 -08:00
Salvador Fuentes
5431096f13 kata-deploy: add support for Cloud Hypervisor
Add Cloud Hypervisor to kata-deploy.

Fixes: #808.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2019-11-18 11:35:12 -08:00
Sebastien Boeuf
5d8f405e7b qemu-virtiofs: Add one patch to fix libvhost-user
In order to get both QEMU and Cloud-Hypervisor working with virtio-fs, a
patch needs to be applied in order to fix a libvhost-user bug.

Fixes #810

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-11-18 09:29:49 -08:00
Sebastien Boeuf
c22fba934b
Merge pull request #804 from amshinde/rename-artifacts
release: Rename generated artifacts to a particular format
2019-11-18 09:24:05 -08:00
Archana Shinde
c6f43134b8 release: Remove all traces of qemu-lite from packaging
qemu-lite has long been deprecated.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-15 15:06:27 -08:00
Archana Shinde
e6c2a53953 release: Pass the qemu tarball name as a docker build arg
Rather than hardcoding the tarball name to be generated in the
Dockerfile, pass this as an argument.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-14 12:06:07 -08:00
Archana Shinde
78959588f7 release: Rename generated artifacts to a particular format
Rename artifacts to format kata-static-{artifact-name}.tar.gz.
These predictable names are intended to be consumed by github
actions in our release process.

Fixes #803

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-14 12:06:07 -08:00
Eric Ernst
733710c8e4
Merge pull request #801 from jodh-intel/fix-static-binaries-docker-cfg-script
scripts: Fix static build docker config script
2019-11-13 16:53:14 -08:00
Eric Ernst
3283208a25
Merge pull request #798 from rhafer/ci-no-publish
obs: Disable repo-publishing for CI builds
2019-11-13 08:14:15 -08:00
James O. D. Hunt
14558de630 scripts: Fix static build docker config script
Fix bug in the `kata-configure-docker.sh` script which assumed
`/etc/docker/` existed by default.

Fixes: #800

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-11-11 13:41:53 +00:00
James O. D. Hunt
80ca386f26
Merge pull request #794 from amshinde/fix-version-evaluation
release: Fix bug in evaluation kata_version.
2019-11-11 10:40:07 +00:00
Jose Carlos Venegas Munoz
fbee390e32
Merge pull request #799 from GabyCT/topic/addubuntu
obs: Add ubuntu 19.04
2019-11-08 12:43:49 -06:00
Jose Carlos Venegas Munoz
07efba6082
Merge pull request #796 from jcvenegas/fix-bump-check
CI: Fix bump test
2019-11-08 12:43:14 -06:00
Jose Carlos Venegas Munoz
f944111542
Merge pull request #797 from egernst/fixup-kata-deploy-containerd
kata-deploy: don't remove pre-existing containerd
2019-11-08 09:59:28 -06:00
Gabriela Cervantes
627445ef09 obs: Add ubuntu 19.04
Build packages for ubuntu 19.04.

Fixes #776

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2019-11-08 08:25:47 -06:00
Jose Carlos Venegas Munoz
8b26173078
Merge pull request #788 from amshinde/add-conf-fips-mode
kernel: Enable configuration for fips mode.
2019-11-08 08:15:42 -06:00
Ralf Haferkamp
4abfa70f56 obs: Disable repo-publishing for CI builds
The repos of the CI builds are not used anywhere so let's be friendly to
the OBS infrastructure and do not publish them.

Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
2019-11-08 11:32:03 +01:00
Eric Ernst
c12c533d14 kata-deploy: don't remove pre-existing containerd
Append to file if container/config.toml already exists.

Fixes: #307

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-11-07 20:29:11 -08:00
Jose Carlos Venegas Munoz
05a8d4ba95 CI: Fix bump test
Bump test fails because Kata  version at this moment is alfa and
only bumps from alpha to rc0 are allowed. Just use rc0 as use-case
for all, there is not any other constrain at the moment.

Fixes: #795

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-11-07 15:19:52 +00:00
Archana Shinde
853a99cfd2 release: Fix bug in evaluation kata_version.
With the previous syntax, literal value was being assigned to
kata_version.

Fixes: #793

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-06 09:31:49 -08:00
James O. D. Hunt
b499732f75
Merge pull request #791 from egernst/master-dont-use-fork
kata-deploy: action: reference kata-containers instead of fork
2019-11-05 08:24:09 +00:00
Eric Ernst
4d129fd9be kata-deploy: action: reference kata-containers instead of fork
Should have been fixed before merge. Reference upstream instead of fork
of Kata.

Fixes #789

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-11-04 09:15:09 -08:00
Archana Shinde
ec95961620 kernel: Enable configuration for fips mode.
This will allow us to run a VM in fips mode.
The intention is to check if the host is running in fips mode
and then start a container in fips mode as well.

Fixes #787

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-11-01 15:19:36 -07:00
Julio Montes
4c9321088e
Merge pull request #774 from devimc/topic/snap/fixLaunchpad
snap: make launchpad happy again
2019-11-01 10:07:32 -06:00
James O. D. Hunt
2f43fefe74
Merge pull request #779 from egernst/1.10.0-alpha0-branch-bump
# Kata Containers 1.10.0-alpha0
2019-11-01 09:18:56 +00:00
Julio Montes
27c7773693 snap: reimplement image part
in order to make launchpad happy again, next changes are required:
* Install podman and cni plugings
* Use podman to build the rootfs or initrd image
* Depending on the architecture, build rootfs or initrd image

fixes #678

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-10-31 20:55:28 +00:00
Eric Ernst
cf16562429 release: Kata Containers 1.10.0-alpha0
- release: Fix typos and organization issues
- kata-deploy: fix qemu-virtiofs entry on crio configuration
- Add actions release automation
- tags: Tag all repos with the same kata VERSION
- kata-deploy: Add qemu-virtiofs to containerd configuration
- release: Fixing message information
- kata-deploy: Add qemu-virtiofs wrapper
- doc: Fixes for release.md
- deploy: Skip installing nemu

84e004e kata-deploy: fix qemu-virtiofs entry on crio configuration
d56dec0 release: Fix typos and organization issues
9a7d692 kata-deploy: Add a simple GitHub Action
4eb376b artifact-list: provide script to get items to build
4f89e97 kata-deploy: look for kata artifacts locally
dc8fe05 release: Allow functions to take release versions
6c8df7f release: Call kata-deploy-binaries.sh main only if it not sourced
5307b03 release: Define a default value for destdir
7a932cf release: Create tarballs after every stage
420eb6e qemu-virtiofs: Fix tar naming for qemu with virtiofs support
f2ef841 release: don't checkout packaging from packaging
643ddf9 release: Add option to generate versions based on tag
b8dcb1c tags: Tag all repos with the same kata VERSION
eea8cea kata-deploy: Fix indentation issues.
8234f9a kata-deploy: Add qemu-virtiofs to containerd configuration
aafd329 release: Fixing message information
dab8087 kata-deploy: Add qemu-virtiofs wrapper
7c26509 doc: Fixes for release.md
8eb5cf3 deploy: Skip installing nemu

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-10-31 12:58:30 -07:00
Julio Montes
43a5d147f1 snap: use adopt-info to set grade and version
adopt-info is a snapcraft feature that allows us to specify the snap grade and
version at runtime. Depending on the environment the master or the latest
stable branch can be used to build the Kata Containers snap, for the kata
CI and launchpad snap-master branch, the master branch are used, otherwise
the latest stable branch.

Signed-off-by: Julio Montes <julio.montes@intel.com>
2019-10-31 14:48:49 +00:00
James O. D. Hunt
6f95e3e1f3
Merge pull request #770 from chavafg/topic/release-notes
release: Fix typos and organization issues
2019-10-30 11:10:31 +00:00
GabyCT
79173ce76b
Merge pull request #772 from chavafg/topic/fix-crio-qemu-cfg
kata-deploy: fix qemu-virtiofs entry on crio configuration
2019-10-29 16:40:47 -06:00
Salvador Fuentes
84e004e426 kata-deploy: fix qemu-virtiofs entry on crio configuration
Use correct key for the kata-qemu-virtiofs runtime class definition
in the crio configuration file.

Fixes: #771.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2019-10-29 10:44:23 -06:00
Salvador Fuentes
d56dec0475 release: Fix typos and organization issues
For better reading, re-orginize the `release/README.md`
and fix a typo in `runtime-release-notes.sh`.

Fixes: #769.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2019-10-24 14:59:56 -05:00
Jose Carlos Venegas Munoz
030dfd92ff
Merge pull request #764 from egernst/add-actions-release-automation
Add actions release automation
2019-10-23 22:02:42 -05:00
Eric Ernst
9a7d6922b4 kata-deploy: Add a simple GitHub Action
Create a container based action which will test a Kata artifact tarball
in the kata-deploy daemonset on AKS. This AZ credentials are available
from the callers environment.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-10-22 16:22:30 -07:00
Eric Ernst
4eb376b40e artifact-list: provide script to get items to build
artifact-list.sh is created so a builder can quickly determine which
artifacts may be built within this repository.

I user may get this list, which indicates exactly which functions are
available within ./release/kata-deploy-binaries.sh for building.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-10-22 16:22:30 -07:00
Eric Ernst
4f89e97e5e kata-deploy: look for kata artifacts locally
When building the kata-deploy images before, we would look to pull the
latest artifacts from the release URL.

It would be better to allow the user to pull from this URL, or to create
the artifacts locally, and pass the location of this tar.xz to the build
process.

Instead of providing KATA_VER, builders should provide KATA_ARTIFACTS,
which is the filename that is assumed to be located within the docker
build path.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-10-22 14:47:42 -07:00
Archana Shinde
dc8fe05654 release: Allow functions to take release versions
Allow functions to take release tags

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-10-22 14:47:42 -07:00
Archana Shinde
6c8df7fc3d release: Call kata-deploy-binaries.sh main only if it not sourced
Allow script to be sourced.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-10-22 14:47:42 -07:00
Archana Shinde
5307b03adb release: Define a default value for destdir
We want to isupport calling individual functions from the script,
independendent of the actual script being called.
Define a default value for $destdir.

Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
2019-10-22 14:47:42 -07:00