[Groonga-commit] groonga/groonga at 1c9e95e [master] package: support memory size customize by environment variable

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 28 16:17:53 JST 2014


Kouhei Sutou	2014-10-28 16:17:53 +0900 (Tue, 28 Oct 2014)

  New Revision: 1c9e95eadd310de3c2b0c898b2786fda35874e66
  https://github.com/groonga/groonga/commit/1c9e95eadd310de3c2b0c898b2786fda35874e66

  Message:
    package: support memory size customize by environment variable

  Modified files:
    packages/apt/Vagrantfile
    packages/yum/Vagrantfile

  Modified: packages/apt/Vagrantfile (+1 -1)
===================================================================
--- packages/apt/Vagrantfile    2014-10-28 15:00:41 +0900 (9dec537)
+++ packages/apt/Vagrantfile    2014-10-28 16:17:53 +0900 (e0290d2)
@@ -25,7 +25,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       node.vm.boot_timeout = 1 * hour_in_seconds
       node.vm.provision(:shell, :privileged => false, :path => "build-deb.sh")
       node.vm.provider("virtualbox") do |virtual_box|
-        virtual_box.memory = 512
+        virtual_box.memory = (ENV["VM_MEMORY"] || 1024).to_i
       end
     end
   end

  Modified: packages/yum/Vagrantfile (+1 -1)
===================================================================
--- packages/yum/Vagrantfile    2014-10-28 15:00:41 +0900 (c47a1cf)
+++ packages/yum/Vagrantfile    2014-10-28 16:17:53 +0900 (f439670)
@@ -36,7 +36,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       node.vm.boot_timeout = 1 * hour_in_seconds
       node.vm.provision(:shell, :privileged => false, :path => "build-rpm.sh")
       node.vm.provider("virtualbox") do |virtual_box|
-        virtual_box.memory = 512
+        virtual_box.memory = (ENV["VM_MEMORY"] || 1024).to_i
       end
     end
   end
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index