Sha256: ca3f33048fcfda3d580f7ac6d06789ba55cad83a120159e7d45ed15d348bebaf

Contents?: true

Size: 1.07 KB

Versions: 5

Compression:

Stored size: 1.07 KB

Contents

# This Vagrantfile can be used to develop Vagrant. Note that VirtualBox
# doesn't run in VirtualBox so you can't actually _run_ Vagrant within
# the VM created by this Vagrantfile, but you can use it to develop the
# Ruby, run unit tests, etc.

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/bionic64"
  config.vm.hostname = "vagrant"
  config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"

  ["vmware_desktop", "virtualbox", "hyperv"].each do |provider|
    config.vm.provider provider do |v, override|
      v.memory = "2048"
    end
  end

  # We split apart `install_rvm` from `setup_tests` because rvm says to
  # logout and log back in just after installing RVM.
  # https://github.com/rvm/ubuntu_rvm#3-reboot
  config.vm.provision "shell", path: "scripts/install_rvm"

  config.vm.provision "shell", path: "scripts/setup_tests"

  config.push.define "www", strategy: "local-exec" do |push|
    push.script = "scripts/website_push_www.sh"
  end

  config.push.define "docs", strategy: "local-exec" do |push|
    push.script = "scripts/website_push_docs.sh"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-unbundled-2.3.6.0 Vagrantfile
vagrant-unbundled-2.3.3.0 Vagrantfile
vagrant-unbundled-2.3.2.0 Vagrantfile
vagrant-unbundled-2.2.19.0 Vagrantfile
vagrant-unbundled-2.2.18.0 Vagrantfile