diff --git a/Makefile b/Makefile index c709950ec..ac9b4d806 100644 --- a/Makefile +++ b/Makefile @@ -565,3 +565,10 @@ cert-manager: check-local-context kubectl ## install cert-manager to cluster python-init: python3 -m venv tests/e2e/.venv tests/e2e/.venv/bin/pip install -r requirements.txt + +# arm doesn't support cpu hot plug and memory hot plug and CI runners are based on qemu so no kvm acceleration as well +arm_patch_e2e: + @find neonvm/samples/*yaml tests/e2e -name "*.yaml" | xargs -I{} ./bin/yq eval '(select(.kind == "VirtualMachine") | .spec.cpuScalingMode = "SysfsScaling") // .' -i {} + # @find neonvm/samples/*yaml tests/e2e -name "*.yaml" | xargs -I{} ./bin/yq eval '(select(.kind == "VirtualMachine") | .spec.enableAcceleration = false) // .' -i {} + @find neonvm/samples/*yaml tests/e2e -name "*.yaml" | xargs -I{} ./bin/yq eval '(select(.kind == "VirtualMachine") | .status.memoryProvider = "VirtioMem") // .' -i {} + @find neonvm/samples/*yaml tests/e2e -name "*.yaml" | xargs -I{} ./bin/yq eval '(select(.kind == "VirtualMachine") | .spec.guest.memoryProvider = "VirtioMem") // .' -i {}