mirror of
https://github.com/elastic/logstash.git
synced 2025-04-21 13:18:16 -04:00
We should just bump the available memory to 4GB, which is plenty reasonable, as a starting point. See https://logstash-ci.elastic.co/job/elastic+logstash+6.x+multijob-acceptance/label=metal,suite=redhat/84/console for an example Fixes #9640
28 lines
721 B
Ruby
28 lines
721 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
require_relative "./platform_config.rb"
|
|
|
|
Vagrant.configure(2) do |config|
|
|
platforms = PlatformConfig.new
|
|
|
|
platforms.each do |platform|
|
|
config.vm.define platform.name do |machine|
|
|
machine.vm.box = platform.box
|
|
machine.vm.provider "virtualbox" do |v|
|
|
v.memory = 4096
|
|
v.cpus = 4
|
|
end
|
|
machine.vm.synced_folder "../build", "/logstash-build", create: true
|
|
|
|
machine.vm.provision :shell do |sh|
|
|
sh.path = platform.bootstrap.privileged
|
|
sh.privileged = true
|
|
end
|
|
|
|
machine.vm.provision :shell do |sh|
|
|
sh.path = platform.bootstrap.non_privileged
|
|
sh.privileged = false
|
|
end
|
|
end
|
|
end
|
|
end
|