kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
398 stars 52 forks source link

Add E2E for oe23.03 #619

Open Okabe-Rintarou-0 opened 1 month ago

Okabe-Rintarou-0 commented 1 month ago

What would you like to be added: Maybe we need to provide a way to do e2e test/ut in oe23.03(with enhanced kernel) Why is this needed:

YaoZengzeng commented 1 month ago

AFAIK, it should customize the CI machine, seems not easy. If you are interested, maybe you could help figure it out :)

Okabe-Rintarou-0 commented 1 month ago

Maybe create a special build container using openeuler 23.03(Current kmesh-build uses a linux image.). Then build a kernel-enhanced image, push to registry, then run some other tests. We can use go:build enhanced to separate the tests from others.

Okabe-Rintarou-0 commented 1 month ago

We will need this for testing in ads mode.

YaoZengzeng commented 1 month ago

The container and the host share the same kernel. AFAIK, if you want use the kernel enchanced features, you should customize the host kernel, which means you should replace the CI machine's kernel.

Or you just want to run it locally without integrating it into github CI?

Okabe-Rintarou-0 commented 1 month ago

yes, ur right. It's non-trivial anyway. https://github.com/Yikun/yikun.github.com/issues/85 provides a way to run in custom host, but it will cause security problem i think.