Commit Graph

126 Commits

Author SHA1 Message Date
Tuomas Katila
393f0ca73f images: set 0.30.0 tag for the release
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-05-14 13:29:10 +03:00
Mikko Ylinen
f0628ca7c0 images: update toybox to v0.8.11
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-04-23 18:17:15 +03:00
Mikko Ylinen
9ae018bfa6 build: Go 1.22
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-02-12 10:33:53 +02:00
Hyeongju Johannes Lee
0706b5fbc6 dlb, idxd, qat: install LICENSE to initcontainer
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-12-14 11:15:18 -08:00
Mikko Ylinen
e02c480ab7 images: use buildkit again
The Toybox images had two issues:

1. Distroless does not support /bin -> /usr/bin so we needed to
create it manually to get /bin/bash for Toybox. However, with this
Openshift image validation complains that we are touching the "base"
image.

2. We could not use buildkit since it fails with /bin symlink
copied over /bin directory from Distroless.

The simple fix is just to move away from all /bin/sh and /bin/bash
and use "/usr/bin/env bash" to resolve the path instead. This allows
to keep /bin untouched.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-12-08 08:01:22 +02:00
Tuomas Katila
b2ca7d3c51 build: use stricter build flags
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-11-09 10:40:46 +02:00
Mikko Ylinen
319843c94e vpu: remove deprecated plugin
The VPU plugin can only be used with devices that are
no longer supported by upper layers, such as OpenVINO.

The deprecation plan for the plugin was announced earlier
this year and post v0.28 marks the date when the plugin is removed
from the repo.

Releases before v0.29 have the plugin available should it
be needed.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-10-02 15:28:11 +03:00
Mikko Ylinen
50cb557cec build: move to Go 1.21.x
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-26 15:37:12 +03:00
Mikko Ylinen
900d0ebf9c images: have base image specific toybox config
Our *.Dockefile's allow builders to specify FINAL_BASE base image
to which static binaries are copied for the final image.

Initcontainers install toybox with a minimum set of "coreutils"
needed but with some final base images the minimum set can be
even smaller since they may already have /bin/sh, ls etc. installed.

Make initcontainers to have base image specific toybox-config.
For now, "static" for distroles/static and "ubi8-micro" for
UBI base image configs are created.

At the same time, move the toybox build to "usrmerge" based
setup where everything is installed to /usr/bin and /bin is
a symlink to /usr/bin. buildkit does not seem to like it so
disable buildkit usage for now.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-08 09:38:18 +03:00
Mikko Ylinen
8964bb2489 images: update OCP base image to ubi9-micro
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-08 09:38:18 +03:00
Mikko Ylinen
47b84bbb60 images: update to toybox v0.8.10
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-08-07 09:10:08 +03:00
Mikko Ylinen
db58cd58bc build: move to Go 1.20
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-03-22 14:17:24 +02:00
Mikko Ylinen
7857897f31 images: move to Debian packaged accel-config
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-02-16 20:22:20 +02:00
Eero Tamminen
dbbc091ac3 Add generated Dockerfile for intel-gpu-fakedev
Like with all the other images.

Fixes: 55c8aa591f

Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
2023-02-08 19:35:54 +02:00
Mikko Ylinen
7e3047f76d
Merge pull request #1308 from hj-johannes-lee/fix-dlb-init-dockerfile-script-location
dlb: make dockerfile to have init script in /usr/local/bin
2023-01-18 19:22:48 +02:00
Hyeongju Johannes Lee
362f63e679
dlb: make dockerfile to have init script in /usr/local/bin
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-01-18 15:33:16 +02:00
Mikko Ylinen
2c0d2eb187 images: update toybox v0.8.9
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-01-13 15:41:21 +02:00
Tuomas Katila
3922aa111e xpu-manager sidecar to provide XeLink details to node labels
Fetches xelink topology information from xpu-manager's rest
interface and stores them as labels under NFD's feature.d directory.
NFD then assigns the labels to the node. On exit, sidecar will
remove the label file from disk.

Co-authored-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-01-11 14:12:48 +02:00
Mikko Ylinen
6e77933c19 demo: update accel-config 3.5.2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-12-21 19:09:44 +02:00
Mikko Ylinen
10a26b8fd8
Merge pull request #1234 from hj-johannes-lee/qat-cfgServices
qat: add configuration of cfgServices to qat initcontainer
2022-12-13 08:26:13 +02:00
Hyeongju Johannes Lee
a6037eae3c
qat: add configuration of cfgServices to qat initcontainer
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-12-12 21:48:21 +02:00
Ed Bartosh
b4c2bd3afe
Merge pull request #1116 from eero-t/gpu_fakedev
Add fake GPU device generator for scalability testing
2022-12-07 18:44:08 +02:00
Mikko Ylinen
be22812ff7 demo: update idxd-config version to v3.5.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-11-08 11:01:56 +02:00
Oleg Zhurakivskyy
ad68e998b1 iaa: Switch to device type "iaa"
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-10-28 10:51:18 +03:00
Hyeongju Johannes Lee
b82d508150 qat: fix initcontainer to skip when sriov is already configured
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-10-19 20:15:34 +03:00
Tuomas Katila
e9267e43c9 Improve dockerfiles based on feedback from hadolint
Co-authored-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2022-10-14 08:22:57 +03:00
Hyeongju Johannes Lee
098023c4ec images: update to toybox 0.8.8
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-10-11 13:53:45 +03:00
Ed Bartosh
9dea92541a
Merge pull request #1088 from hj-johannes-lee/dlb-initcontainer
dlb: add initcontainer to plugin
2022-10-07 14:43:12 +03:00
Hyeongju Johannes Lee
11b04425c2 dlb: add initcontainer to plugin
initcontainer enables vfs and configures vfs
 - only first pf is used to configure a vf
 - only one vf is configured from the pf
add dlb-initcontainer kustomize overlay
update CRD to have initImage
implment operator to run initcontainer
update e2e test to run initcontainer overlay
update envtest to test initimage

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-10-06 17:11:03 +03:00
Mikko Ylinen
2b2892eb09 build: add BUILDER=podman
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-13 18:02:45 +03:00
Eero Tamminen
55c8aa591f Add container for "gpu_fakedev"
Signed-off-by: Eero Tamminen <eero.t.tamminen@intel.com>
2022-08-26 19:05:10 +03:00
Ed Bartosh
7e92c3c1aa switch back to debian:unstable-slim as a base
We had to switch to debian unstable earlier due to a
mismatch in glibc versions in the debian-unstrable-slim and
debian-testing-slim images and Debian package repositories.

This issue has been fixed:
https://github.com/debuerreotype/docker-debian-artifacts/issues/168
so we can switch back.
2022-08-24 11:29:13 +03:00
Ed Bartosh
f94f6e64e4 intel-idxd-config-initcontainer: don't add source repos 2022-08-19 15:00:49 +03:00
Ed Bartosh
7aff35ea2d fpga,dsa,iaa: Fix CI issue
Due to a glibc version mismatch in the debian repos and the
unstable-slim and testing-slim docker image 3 CI jobs have been failing
for some time. The issue was fixed by switching to testing-slim base image
and started again when the bug was introduced to the image.

Using testing-slim image as a base should fix the issue.

Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-08-17 12:11:13 +03:00
Mikko Ylinen
642c4f7b59 build: move to Go 1.19 and golangci-lint 1.48 because of that
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-08-15 10:13:37 +03:00
Ed Bartosh
70c9a55029 fpga,dsa,iaa: Fix CI issue
Due to a glibc version mismatch in the debian repos and the
unstable-slim docker image 3 CI jobs have been failing last several days.

Using testing-slim image as a base should fix the issue.
2022-08-11 20:37:07 +03:00
Oleg Zhurakivskyy
f1ec14d106 iaa: Add e2e tests
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-06-09 15:00:25 +03:00
Mikko Ylinen
8a73008ab2 images: update to toybox 0.8.7
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-06-08 09:19:39 +03:00
Ed Bartosh
f9aed8f310 upgrade accel-config to v3.4.6.4
This is a preparation for IAA e2e enabling and testing if
it still works with DSA as expected.

This accel-config version has IAA test runner.
2022-06-07 18:13:10 +03:00
Ukri Niemimuukko
30d5a2a13b Allow usage of pre-created licenses and generate dockerfiles
As a build optimization, allow usage of pre-created licenses.
Together with usage of go mod vendor, the container build
times are significantly shorter.

Dockerfiles are generated from include-snippets on the fly.

Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
2022-05-30 19:36:24 +03:00
Mikko Ylinen
3eb0baee0f images: cleanup whitespace line endings
Just a trivial cleanup using:

$ sed -e 's/[[:space:]]$//' -i *.Dockerfile

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-05-09 12:29:53 +03:00
Ed Bartosh
f17f473f5e
Merge pull request #996 from ozhuraki/idxd-config-ro
idxd: Don't use root filesystem when working with templates
2022-05-05 12:24:04 +03:00
Oleg Zhurakivskyy
54961c3d75 idxd: Make root filesystem read-only
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-05-05 10:44:47 +03:00
Mikko Ylinen
d6dcd3e3c4 qat: move initcontainer script to standard path
Our images use /usr/local/bin paths so let's follow
that with qat-initcontainer too.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-05-05 08:51:02 +03:00
Oleg Zhurakivskyy
d973414d5d idxd: Update idxd-config-initcontainer to accel-config 3.4.6.3
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-04-26 12:58:30 +03:00
Mikko Ylinen
30158c81bc ci: move to Go 1.18
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-03-31 18:16:24 +03:00
Hyeongju Johannes Lee
df419b3a82 qat: add initimage to plugin
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-03-30 13:46:42 -07:00
Ed Bartosh
6b27cf1f7c Implement IAA plugin, operator, demo
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2022-03-04 15:58:42 +02:00
Ed Bartosh
2cd1de0c8a
Merge pull request #897 from chaitanya1731/plugins-base-ubi
Images: Updated base image to use 'ubi8-micro' image from RedHat
2022-02-24 13:59:12 +02:00
Mikko Ylinen
4193242a32 images: update license install path in all images
An earlier commit updated the license install paths in our
distroless based images. This updates the remaining ones
to stay consistent.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-02-24 07:01:16 +02:00