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>
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>
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>
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>
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>
- 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
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.