Open vadorovsky opened 3 years ago
In BPFContain I was doing this using a custom VM that runs on top of the OSX image (the only one to support nested virtualization). Pros are it is easy to set up and it works well. Cons are that it is quite slow, particularly at the build stage.
Examples of jobs running: https://github.com/libbpf/libbpf/runs/4229553591?check_suite_focus=true
So far we are using Github Actions to run tests and checkers.
The problem is that all
ubuntu-latest
Github Actions have quite an old kernel, too old for us. If we want to have integration tests in CI, we need to be able to run them on kernel newer than 5.7.I noticed that libbpf developers are somehow able to use their custom kernel and they have a repo with CI config:
https://github.com/libbpf/ci https://github.com/libbpf/libbpf/tree/master/.github
I have no idea how that works, didn't dig into that yet. Figuring that out would be the part of the task.