refactor(vm): reduce VM resource sizes for lighter test environment
Endpoints: 4 CPUs/4Go → 2 CPUs/2Go, Analysis: 4 CPUs/12Go → 2 CPUs/8Go Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
8
tests/vm/Vagrantfile
vendored
8
tests/vm/Vagrantfile
vendored
@ -35,8 +35,8 @@ Vagrant.configure("2") do |config|
|
|||||||
|
|
||||||
# ── Provider libvirt commun ─────────────────────────────────────────────────
|
# ── Provider libvirt commun ─────────────────────────────────────────────────
|
||||||
config.vm.provider :libvirt do |v|
|
config.vm.provider :libvirt do |v|
|
||||||
v.cpus = 4
|
v.cpus = 2
|
||||||
v.memory = 4096
|
v.memory = 2048
|
||||||
v.nested = false
|
v.nested = false
|
||||||
v.cpu_mode = "host-passthrough"
|
v.cpu_mode = "host-passthrough"
|
||||||
v.driver = "kvm"
|
v.driver = "kvm"
|
||||||
@ -125,8 +125,8 @@ Vagrant.configure("2") do |config|
|
|||||||
libvirt__network_name: "ja4-e2e",
|
libvirt__network_name: "ja4-e2e",
|
||||||
libvirt__netmask: "255.255.255.0"
|
libvirt__netmask: "255.255.255.0"
|
||||||
node.vm.provider :libvirt do |v|
|
node.vm.provider :libvirt do |v|
|
||||||
v.cpus = 4
|
v.cpus = 2
|
||||||
v.memory = 12288 # 12 Go — torch + isotree build gourmand en RAM
|
v.memory = 8192 # 8 Go — torch + isotree build
|
||||||
end
|
end
|
||||||
node.vm.provision "shell", path: "provision-analysis.sh"
|
node.vm.provision "shell", path: "provision-analysis.sh"
|
||||||
node.vm.post_up_message = <<~MSG
|
node.vm.post_up_message = <<~MSG
|
||||||
|
|||||||
Reference in New Issue
Block a user