Commit Graph

112 Commits

Author SHA1 Message Date
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
chaitanya1731
4633f22b51 Images: Updated base image to use 'ubi8-micro' image from RedHat
Signed-off-by: chaitanya1731 <chaitanya.kulkarni@intel.com>
2022-02-23 13:56:40 -05:00
Chaitanya Kulkarni
8c078f58e1
Images/Script - Added LABELs to all plugins (#894)
Added LABELs (name, vendor, version, release, summary, description) to all plugins and updated
scripts/set-version.sh script to include the LABEL version='<image-tag>' by passing TAG parameter
to make set-version TAG=<image-tag>

Signed-off-by: chaitanya1731 <chaitanya.kulkarni@intel.com>
2022-02-18 10:18:33 +02:00
chaitanya1731
2bcd863593 Images: Moved license path to /install_root/licenses/
Signed-off-by: chaitanya1731 <chaitanya.kulkarni@intel.com>
2022-02-15 13:27:52 -05:00
Mikko Ylinen
00633107d7 images: move to use go-licenses
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-01-26 13:38:13 +02:00
Mikko Ylinen
fd034118b0 images: update license obligations
In Debian, uuid and uuid-dev are totally different things.
accel-config build depends on uuid-dev headers but the runtime
library is libuuid1. This is part of debian:sid-slim so we can
just drop installing uuid. Moreover, it's sufficient that we
only ship accel-config source.

Also, correctly ship OPAE SDK COPYING in the final image.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-01-14 13:59:11 +02:00
Mikko Ylinen
b16625e614 images: update toybox to v0.8.6
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-12-22 13:05:43 +02:00
Oleg Zhurakivskyy
e281aaa11e dsa: Update idxd-config-initcontainer to accel-config v3.4.3
accel-config v3.4.3 dropped libkmod, libudev dependencies, update
initcontainer to v3.4.3 and drop local customizations / workarounds.

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2021-12-07 14:04:57 +02:00
Oleg Zhurakivskyy
6bba74acef dsa: Rename idxd-initcontainer to idxd-config-initcontainer
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2021-11-30 15:32:29 +02:00
Oleg Zhurakivskyy
fee2e12996 idxd-initcontainer: Drop libkmod, libudev
- Make libkmod, libudev optional
- Include accel-config, libjson-c, libuuid sources

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2021-11-30 15:32:23 +02:00
Hyeongju Johannes Lee
8362028560 dlb: Add new device plugin
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2021-11-11 11:51:49 +02:00
Oleg Zhurakivskyy
a7c612f7fc dsa: Rename dsa initcontainer to idxd
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2021-11-09 12:00:44 +02:00
Mikko Ylinen
d195e4a308 images: update pre-pull images
'make pre-pull' pulls the latest (base) images so that the image
build can share the cached pulls.

Update the list of pre-pull images to what we actually use in our
Dockerfiles.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-10-19 12:37:36 +03:00
Mikko Ylinen
a0f81d7574 go.mod: move to Go 1.17
go mod tidy adds more requirements because of the changes in 1.17:

"Go versions 1.17 and higher retain more requirements in order to
support lazy module loading."

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2021-10-08 13:10:08 +03:00
Oleg Zhurakivskyy
efb357d47f images: Add intel-dsa-initcontainer
Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
2021-10-01 10:40:24 +03:00