Commit Graph

988 Commits

Author SHA1 Message Date
GabyCT
47eb1c27d1
Merge pull request #557 from jodh-intel/rm-stalebot-config
github: Remove stalebot config
2019-05-31 13:14:36 -05:00
GabyCT
19505c863b
Merge pull request #559 from marcov/qemu-avx2
QEMU: only enable AVX2 for x86_64
2019-05-31 13:14:14 -05:00
Marco Vedovati
2162b9a472 QEMU: only enable AVX2 for x86_64
AVX2 are x86 specific extensions that should only be enabled for x86_64
targets.

Fixes: #558

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-31 17:48:15 +02:00
GabyCT
e28309385f
Merge pull request #555 from jcvenegas/skip-red-hat
obs: distros: disble redhat build for x86_64
2019-05-31 09:54:51 -05:00
James O. D. Hunt
abe99abe22 github: Remove stalebot config
Remove the stalebot config file as we now have a centralised version of
it that can apply to all repos:

- https://github.com/kata-containers/.github/blob/master/.github/stale.yml

Fixes #556.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-31 14:39:53 +01:00
Jose Carlos Venegas Munoz
ca4c798e8a obs: distros: disble redhat build for x86_64
The runtime package is faling to build due to
compatiblity issues  with gcc + golang because
the redhat version provided in OBS old.

Disable temporarily to allow release CI  work.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-05-30 17:38:16 -05:00
Jose Carlos Venegas Munoz
bcc17c354f
Merge pull request #553 from jcvenegas/fix-release-pipeline
download_image: source pkglib to get commit length.
2019-05-30 17:35:13 -05:00
Jose Carlos Venegas Munoz
8369eb6f23 download_image: source pkglib to get commit length.
commit length is needed to download the image.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-05-30 14:21:26 -05:00
Julio Montes
ab4e7ee3ed
Merge pull request #551 from marcov/qemu4-suse
QEMU: disable PAM authentication (used for VNC access)
2019-05-30 10:05:29 -05:00
Marco Vedovati
08a68a333c QEMU: disable PAM authentication (used for VNC access)
Disable PAM authentication for QEMU 4+: it's a feature used together with VNC
access that's not used in Kata.

See QEMU commit 8953caf for more details on PAM auth.

Fixes: #550

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-30 14:39:08 +02:00
Marco Vedovati
c245034dc5
Merge pull request #547 from marcov/pkgcloud-fedora30
kata-pkgsync: vendor: update pkgcloud to add Fedora 30
2019-05-30 10:51:30 +02:00
GabyCT
abd6279da3
Merge pull request #549 from marcov/fix-obs-runtime-update
runtime: fix regression in package generation
2019-05-29 09:25:58 -05:00
Marco Vedovati
91cdeb1446 runtime: fix regression in package generation
Fix regression introduced with e6dac82 related to kata-runtime package
generation.

Fixes: #548

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-28 18:59:58 +02:00
Marco Vedovati
2fc2565117 kata-pkgsync: vendor: update pkgcloud to add Fedora 30
Update pkgcloud pacakge to add Fedora 30 to the list of distros
supported by to Packagecloud.

Shortlog since last vendoring of github.com/mlafeldt/pkgcloud:
    926cf4b Update list of distros (Add Fedora 30)

Fixes: #546
Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-28 18:12:59 +02:00
Julio Montes
bf0b23187d
Merge pull request #532 from marcov/fix-deb-versions
runtime: fix strict "= VERSION" dependencies for deb pkg
2019-05-28 09:54:31 -05:00
Julio Montes
3b9a48a702
Merge pull request #545 from chavafg/topic/sudo-docker
static-builds: run docker commands using sudo
2019-05-28 09:54:08 -05:00
James O. D. Hunt
4a97337a67
Merge pull request #542 from jodh-intel/doc-fixes
docs: Fix spelling and formatting
2019-05-28 12:36:12 +01:00
Marco Vedovati
e6dac824fc runtime: fix strict "= VERSION" dependencies for deb pkg
When specifying a "Depends: (= VERSION" match in deb packages, the full
"VERSION" needs to be specified, including the trailing release number.

This fixes a regression introduced in: 63413814
Fixes: #531

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-28 10:33:13 +02:00
James O. D. Hunt
4004d3e5cf docs: Fix spelling and formatting
Correct typos and resolve formatting issues including incorrect heading
levels and missing TOC entries.

Fixes: #541.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-28 09:08:29 +01:00
Salvador Fuentes
8e1e4d8b35 static-builds: run docker commands using sudo
normal users might not have the correct permissions to run
docker without sudo.

In addition, as docker will run with sudo, fix permissions
on the qemu and nemu files.

Fixes: #544.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
2019-05-27 14:54:03 -05:00
Jose Carlos Venegas Munoz
e9ed1f5c55
Merge pull request #540 from nitkon/patch-4
lib.sh: Pass right parameters to build image
2019-05-24 23:50:49 -05:00
Salvador Fuentes
cb202e1bdd
Merge pull request #522 from ganeshmaharaj/nemu-ci
nemu: build nemu for CI
2019-05-24 13:57:21 -05:00
nitkon
3d0b60fefd
lib.sh: Pass right parameters to build image
Creating Kata packages fails
due to "Makefile:58: *** target pattern
contains no '%'.  Stop" error. Fix it.

Fixes: #539 

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-05-24 17:02:23 +05:30
James O. D. Hunt
829fd44aaa
Merge pull request #536 from nitkon/ppc64le_repo
obs-packaging: Make distros file arch specific
2019-05-24 10:36:50 +01:00
James O. D. Hunt
0ebab2ec05
Merge pull request #534 from nitkon/master
obs-packaging: Set debian Power arch as ppc64el
2019-05-24 09:39:17 +01:00
Nitesh Konkar
3f3823df12 obs-packaging: Make distros file arch specific
Make distros file arch specific

Fixes: #535

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-05-23 20:51:11 +05:30
Ganesh Maharaj Mahalingam
54c25dfaca nemu: build nemu for CI
NEMU releases are build dynamically on a xenial platform and there
aren't any plans on providing packaging for various versions and distros
today. NEMU needs to be built statically as the current default release
to be consumable by Kata.  Given we are doing that, it would be nice to
test it in our CI also the same way. This change is to aid with that.

Fixes: #521
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2019-05-23 07:11:42 -07:00
Nitesh Konkar
0c756edd46 obs-packaging: Set debian Power arch as ppc64el
Set debian Power arch as ppc64el not
ppc64le in debian.rules and .dsc files

Fixes: #533

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-05-23 19:13:32 +05:30
James O. D. Hunt
f4d485373a
Merge pull request #528 from ganeshmaharaj/local-version-check
ci: always use the versions from the local repository for CI
2019-05-23 08:49:41 +01:00
James O. D. Hunt
5db4f9f01e
Merge pull request #530 from nitkon/master
runtime: qemu-lite required only for x86_64 arch
2019-05-23 08:38:04 +01:00
Ganesh Maharaj Mahalingam
ceab0f0f1a ci: always use the versions from the local repository for CI
the versions.yaml file in runtime carries the information on all the
components we use and ship with kata. It would be nice to have the CI
test the newer versions when the file is changed and CI is triggered.
The current code always fetches from the master tree from github and
that does not help to validate version changes before it lands in the
tree.

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2019-05-22 10:21:46 -07:00
Nitesh Konkar
d4b1a328d0 runtime: qemu-lite required only for x86_64 arch
Make qemu-lite as requirement only
for x86_64 arch

Fixes: #529

Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
2019-05-22 18:59:29 +05:30
Jose Carlos Venegas Munoz
81caf1ccd5
Merge pull request #507 from marcov/kata-pkgsync
kata-pkgsync: Add OBS to Packagecloud sync tool
2019-05-22 08:28:06 -05:00
Julio Montes
da21af7be8
Merge pull request #525 from jcvenegas/obs-f30
obs: build: enable fedora 30
2019-05-22 08:07:42 -05:00
Jose Carlos Venegas Munoz
5eded00f96 obs: build: enable fedora 30
Add fedora 30 to the list of packages to build.

Fixes: #523

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2019-05-21 11:46:16 -05:00
James O. D. Hunt
7d754d9e2b
Merge pull request #520 from ganeshmaharaj/release-tag-retry
release: Allow re-tries of tagging and github releases
2019-05-21 07:57:27 +01:00
James O. D. Hunt
f1005d08f4
Merge pull request #516 from jodh-intel/improve-docs
Improve docs
2019-05-20 09:47:28 +01:00
James O. D. Hunt
4d8d841641
Merge pull request #498 from jongwu/nic
kernel: disable pci shpc hotplug for arm64
2019-05-20 09:46:46 +01:00
Ganesh Maharaj Mahalingam
6e8350f71b release: Allow re-tries of tagging and github releases
hub tool from github lets you show a particular tag that might exist in
the repostiory. Switching our tag checking logic to use that instead of
listing all tags and grepping for the one we want. For some reason the
existing grep logic always fails to return the right code and always
lands on the portion of the code to generate a new tag.

Fixes: #519
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2019-05-17 10:19:21 -07:00
James O. D. Hunt
e4a5849b55 docs: Add missing links
Add missing links to other documents under suitable headings.

Fixes: #501.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:09 +01:00
James O. D. Hunt
577fd9fcc0 docs: Add missing READMEs
Created a skeletal set of README for the packaging areas that didn't
have them:

- Jenkins
- OBS
- QEMU
- static build tooling

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:09 +01:00
James O. D. Hunt
5a598841af docs: Add missing link to release process
Add a reference to the release.md file to make it more discoverable.

Fixes: #501.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:09 +01:00
James O. D. Hunt
dececa6ad3 docs: Add missing link to kernel configs doc
Add a link in the kernel README to the kernel configs README.

Fixes: #501.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:06 +01:00
James O. D. Hunt
4213fcba53 docs: Improve release README
Added backticks to commands and added a TOC.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:06 +01:00
James O. D. Hunt
e8ba16eec9 docs: Correct heading level
Fix the heading level in the release README.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:06 +01:00
James O. D. Hunt
0c520582eb docs: Remove redundant markdown
GFM doesn't require corresponding heading hashes at the end of line -
start of lines hashes are adequate.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:06 +01:00
James O. D. Hunt
7499b13030 docs: Add headings and TOC
Add missing heading names and a table of contents.

Also, folded the long lines to make them easier to edit and diff.

Fixes #501.

Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
2019-05-17 16:29:06 +01:00
Graham Whaley
8f1e4860db
Merge pull request #518 from devimc/topic/snap/1.7.0
snap: release 1.7.0
2019-05-17 14:16:00 +01:00
Marco Vedovati
26174a1528 make: remove snap-xbuild from .PHONY target
This complements 7f7e258d

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-17 14:51:12 +02:00
Marco Vedovati
1cd267af43 kata-pkgsync: Add OBS to Packagecloud sync tool
Add kata-pkgsync as the OBS to Packagecloud sync tool.

Fixes: #506

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
2019-05-17 12:05:55 +02:00