I would like to be able to run some tests against the API for PVE (and PMG and PBS) but I don't want to have an entire instance of PVE installed. I know PVE needs its own kernel to work correctly (which cannot be guaranteed in a container) but I am not sure how much functionality is dependent on it.
Really, what I am looking for is a mock API that I can run in a container. I could then spin this up in my CI and test against the API without actually having anything happen (no VM/CT created, storage changed, etc.).
Would it be possible to chop out parts of PVE to a minimal version that would work with a standard debian (ubuntu) kernel within a container? Or take the existing API code and create a mock API from it?
Really, what I am looking for is a mock API that I can run in a container. I could then spin this up in my CI and test against the API without actually having anything happen (no VM/CT created, storage changed, etc.).
Would it be possible to chop out parts of PVE to a minimal version that would work with a standard debian (ubuntu) kernel within a container? Or take the existing API code and create a mock API from it?