Commit Graph

138 Commits

Author SHA1 Message Date
Tuomas Katila
7e5b280cd1 golanci-lint: upgrade to 1.60.3, fix one issue and ignore conversion errors
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-08-27 11:40:35 +03:00
Mikko Ylinen
a36330d810 build: use Go 1.23.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-08-26 09:18:03 +03:00
Mikko Ylinen
ff257cb2d2 operator: move to controller-tools v0.16.1
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-08-15 10:02:39 +03:00
Mikko Ylinen
7909f44d15 ci: update kind and cert-manager versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-08-15 09:52:01 +03:00
Mikko Ylinen
54f9d730e9 ci: move to golangci-lint v1.57.2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-05-02 09:18:27 +03:00
Tuomas Katila
c4cb550501 e2e: use new spr bare metal node
Run IAA, DSA, GPU, QAT and SGX tests on it.

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2024-04-24 11:05:22 +03:00
Mikko Ylinen
06dc494982 operator: update to controller-gen v0.14 and generate CRDs with it
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-02-12 10:33:53 +02:00
Mikko Ylinen
07262658ee ci: update kind and cert-manager versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2024-02-12 10:33:53 +02: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
Mikko Ylinen
74bee31c3d ci: update golangci-lint to v1.55.2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-11-04 09:04:28 +02:00
Hyeongju Johannes Lee
397f053e93 Makefile: update cert-manager, kind
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-10-31 15:04:41 -07:00
Mikko Ylinen
76fb88633d Makefile: drop terrascan target
IAS scanning is now done using Trivy as part to GHA flows
so the terrascan target is not needed anymore.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-10-23 11:13:49 +03: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
Hyeongju Johannes Lee
5513302408 e2e,qat4: use 'dc' 'cy' and 'generic'
Strictly speaking, 'Gen4' and 'Gen2' are wrong expressions in this case,
because Gen4 resources are read as 'generic' in VMs. To prevent any
confusion, use just the names of the QAT services such as 'dc', 'cy' or
'generic'

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-09-21 13:08:09 -07:00
Hyeongju Johannes Lee
016a57af88 Makefile,e2e: add variables E2E_LEVEL, FOCUS and SKIP used for running subsets
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-09-21 13:07:14 -07:00
Hyeongju Johannes Lee
26bf615892 Makefile,operator: add '--use-image-digests' for bundle flag
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-09-18 12:07:09 -07:00
Mikko Ylinen
1c209ab404 ci: update golangi-lint to v1.54.2
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-05 15:37:23 +03:00
Mikko Ylinen
69f5ccfe66 operator: update controller-gen to v0.13.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-09-05 14:30:10 +03:00
Tuomas Katila
d290e5d356 ci/cd: workflow rework
* introduce trivy scanning
* add new 'release' workflow that publishes images
* split 'ci' flow into two: 'ci' & 'devel'
* 'devel' flow publishes images
* workflows share common parts (build, e2e, publish etc.)

Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-08-30 15:49:38 +03:00
Hyeongju Johannes Lee
bf286c689d update version of controller gen to v0.12.1
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-07-20 10:17:44 +03:00
Hyeongju Johannes Lee
6e717325b6 Makefile: update versions of golangci-lint and cert-manager
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-07-20 10:17:44 +03:00
Tuomas Katila
46250fc87b Disable VPU plugin builds
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
2023-06-26 16:48:15 +03:00
Hyeongju Johannes Lee
3745d4d30f Makefile: update versions of cert manager and kind
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-05-23 21:10:24 -07:00
Mikko Ylinen
e428cd6c19 go.mod: update to k8s 1.27.1 and controller runtime 0.15.x
k8s 1.27.x triggers build errors on controller-runtime 0.14.x
so we will need to update to 0.15.x at the same time.

Changes include:

* k8s e2e framework moved to use Ginkgo context so we add
  test context to all our test nodes.
* adapt Ginkgo parameter modifications.
* adapt SGX admissionwebhook to InjectDecoder removal.
* adapt deviceplugins and FPGA CRDs to controller-runtime
  API changes.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-05-09 14:49:24 +03:00
Mikko Ylinen
16724043b2 operator: move to controller-tools v0.12.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-05-05 15:02:36 +03:00
Hyeongju Johannes Lee
a80744e4df qat,e2e: add dpdk crypto-perf test for gen4
In the e2e test running in CI/CD, crypto-perf cannot be run.
So, we do not make it run by default.

Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-05-03 03:30:02 -07:00
Hyeongju Johannes Lee
e6bcd32536 Makefile: update versions
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-04-21 05:21:21 -07:00
Hyeongju Johannes Lee
6c7804b1e0 Update golang-lint to 1.52.1 and fix newly found errors
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-03-22 15:15:30 +02: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
50a7a67406
Merge pull request #1339 from hj-johannes-lee/e2e-qat-gen4-to-be-part-of-dpdk
e2e, qat: make test for gen4 to be part of dpdk
2023-03-07 11:50:35 +02:00
Hyeongju Johannes Lee
612e4bff4e
e2e, qat: make test for gen4 to be part of dpdk
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-03-06 14:36:46 +02:00
Mikko Ylinen
5c6e60eeb1 operator: move to controller-tools v0.11.3
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2023-02-21 20:14:03 +02:00
Hyeongju Johannes Lee
e42f2b744a
Makefile: upgrade version of tools
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2023-01-18 18:23:01 +02:00
Mikko Ylinen
24f1d55404 scripts: drop update-clear-linux-base.sh
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-12-19 10:05:30 +02:00
Mikko Ylinen
4eb8190ba7 make: pre-pull Ubuntu 22.04
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-11-28 18:20:27 +02:00
Hyeongju Johannes Lee
92239362ac Makefile: remove unnecessary variable for operator
Signed-off-by: Hyeongju Johannes Lee <hyeongju.lee@intel.com>
2022-11-11 17:21:07 +02:00
Mikko Ylinen
125e963102 ci: update golangci-lint version to v1.50.0
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-10-17 09:42:38 +03:00
Mikko Ylinen
c28c49c376 ci: stop building ubuntu-demo-openvino
This image is completely unused so drop it from the build matrix
to improve build times.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-10-10 13:47:47 +03:00
obaranov1
457266835c delete helm charts 2022-10-04 18:21:18 +03:00
Mikko Ylinen
567f518a5c ci: update component versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-10-03 13:32:32 +03:00
Mikko Ylinen
0f5afc258d operator: move to controller-tools v0.10.0
With the latest version of controller-tools, we get to set
reinvocationPolicy tag so that we no longer have to add that
field manually in our Admission Webhook manifests.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-21 19:37:00 +03:00
Oleg Zhurakivskyy
c142f6864f qat: Add e2e tests
Closes #950

Signed-off-by: Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-02 13:11:45 +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
Mikko Ylinen
a13ee14e5f deployments: regenerate using the latest controller-gen
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-07-26 13:57:27 +03:00
Mikko Ylinen
c18bc1f477 ci: update tool versions
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-06-20 19:04:50 +03:00
Mikko Ylinen
f9ca36cc26 set TLSMinVersion for webhook servers
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-06-20 19:04:50 +03:00
Ed Bartosh
43da11571b Makefile: add e2e-dlb target
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2022-06-09 20:18:56 +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
Ed Bartosh
8666386926
Merge pull request #992 from ozhuraki/e2e-dsa
dsa: Add e2e tests
2022-06-02 11:51:50 +03:00