Commit Graph

27 Commits

Author SHA1 Message Date
Mikko Ylinen
f59a1fb9dc Move to Go 1.16.x
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-06-02 13:41:15 +03:00
Mikko Ylinen
c3cf958c85 images: move most plugin images to distroless/static
All but one (VPU) of the published container images can be built with
static binaries which allows us to use distroless/static as the
base image. Moreover, when combined with stripping the plugin binaries,
we can get both build time and image size savings.

This is the part 1 (out of 2) of the rework. Part 2 will finish the
change by making some adjustments to VPU plugin image and moving the
FPGA/SGX/GPU initcontainers to distroless/static too.

Partial: #516

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2021-05-19 09:44:47 +03:00
Mikko Ylinen
d1844b0342 ci: github: remove conflicting buildah from virtual env
buildah 1.19.4 install from the external repository adds a
dependency to containers-common that comes with files that
conflicts with the virtual env installation.

remove the virtual env installation before proceeding with buildah
install.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-02-16 12:09:49 +02:00
Mikko Ylinen
dd320f5fb4 ci: update tool versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-02-04 10:06:55 +02:00
Mikko Ylinen
621ecf9a40 ci: update Ubuntu versions
In Jenkins, we are using Xenial (16.04) as the worker distro and
that is causing some maintenance issues. For instance, the manually
installed buildah version lacks behind Github's CI that gets
buildah from a repository.

This change moves Jenkins to Ubuntu 18.04 so we get to install
buildah from packages directly too.

While we are at it, move Github VMs to Ubuntu 20.04. This allows
us the change with both LTS versions.

Finally, increase Jenkins timeout from 3 to 4 hours to be able to
build all the demo container images without getting aborted.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-11-25 09:14:24 +02:00
Mikko Ylinen
fc4c7c30d4 ci: update cri-o version
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-11-25 09:07:30 +02:00
Olev Kartau
91c3d64fc0 Jenkinsfile: do not use parallel method and extra stages
Use of parallel creates race possibility as installation of
go happens in one part but is used in another.
2020-11-11 14:28:45 +02:00
Dmitry Rozhkov
4924bd2fe6 Switch to go 1.15.3 2020-10-15 14:16:42 +03:00
Mikko Ylinen
cd068c797a ci: update tool versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-08-21 17:04:04 +03:00
Mikko Ylinen
285a01e0a5 ci: update tool versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-06-22 13:21:42 +03:00
Dmitry Rozhkov
3098527f88 Jenkinsfile: drop redundant checks 2020-06-10 14:49:15 +03:00
Mikko Ylinen
062d86f6e1 ci: update tool versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-02-10 19:31:25 +02:00
Mikko Ylinen
9eb05882ed Jenkinsfile: make BMaaS stage opt-in
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-02-04 11:03:14 +02:00
Dmitry Rozhkov
4b256017e8 Make go mod tidy a mandatory check
Closes #276
2020-02-03 12:21:36 +02:00
Alek Du
887e56e780 VPU: Add Intel Movidius MyriadX VPU plugin support
This patch is to support Intel VCAC-A card (with MyriadX 2485 VPUs), for other
later on VPUs, we will reuse this plugin and add support.

VCAC-A board info is at:
https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/media-analytics-vcac-a-accelerator-card-by-celestica-datasheet.pdf

Also add openvino HDDL VPU demo for Intel VCAC-A card.

Signed-off-by: Alek Du <alek.du@intel.com>
2020-01-28 23:17:50 +08:00
Dmitry Rozhkov
814e2e1a50 bump k8s dependencies up to v1.17.0 2020-01-09 11:19:58 +02:00
Rivera Gonzalez, Julio C
a0ba1b38fe Add CI Jenkins stage with test case for intel-device-plugin: QAT
This commit adds bash scripts with the proper granularity for each sub-stage,
needed for QAT device main stage validation.

Signed-off-by: Rivera Gonzalez, Julio C <julio.c.rivera.gonzalez@intel.com>
2019-12-03 11:59:15 -06:00
Mikko Ylinen
d3354d0522 travis: Use vendored code for container builds
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-11-01 14:32:26 +02:00
Mikko Ylinen
79f991784b Jenkinsfile: change credentialsId
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-30 08:26:11 +03:00
Dmitry Rozhkov
aadcc62dde simplify image push 2019-08-29 16:30:13 +03:00
Rivera Gonzalez, Julio C
b6a740805e Push images to be published
This change, adds a conditional step on Jenkins in order to push images,
built and be published.

Signed-off-by: Rivera Gonzalez, Julio C <julio.c.rivera.gonzalez@intel.com>
2019-08-29 13:21:42 +03:00
Dmitry Rozhkov
91c890b1e1 ci: adapt to go mod
switch go mod on explicitly in CI

travisci: enable caching of Go modules

travisci: drop obsolete hack
2019-08-27 11:40:33 +03:00
Alexander Kanevskiy
186ec6613c FPGA: migrate to ClearLinux environment
- Migrate to OPAE 1.3.2
- Build all the tools from the source
- ignore files in workspace
- minimal fpga_tool utility to check gbs/aocx file parsing and flashing
- implemented kernel IOCTL based flashing of bitstreams
- add PCI and sysfs functions
2019-08-24 02:55:19 +03:00
Mikko Ylinen
959f7e602b CI: move to Golang 1.12.x
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-19 15:19:49 +03:00
Mikko Ylinen
9905c50302 CI: update container tooling versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2019-08-19 15:19:49 +03:00
Dmitry Rozhkov
cda77f57e7 use BUILDTAGS=kerneldrv in CI 2019-08-19 09:56:57 +03:00
Jesus Ornelas Aguayo
836501b257 jenkins: Add initial jenkinsfile
This Jenkinsfile provides basic CI based on the .travis.yml
which ports the travis behaviour to Jenkins by checking the
following make targets functionallity:

  - make format
  - make lint
  - make vet
  - make cyclomatic-check
  - make test
  - make images
  - make images BUILDER=buildah
  - make demos
  - make demos BUILDER=buildah

The main intention of this commit is to provide an starting point
where anybody can improve the coverage at anytime and get PR cheks
on Jenkins.
2019-06-20 19:46:44 +00:00