contrib/vagrant/Vagrantfile
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 27 Jul 2019 19:58:17 +0200
changeset 42689 896fb9deeaf8
parent 26140 a31ffc445f02
child 43509 7fd16ddabaa0
permissions -rw-r--r--
upgrade: walk the source store file only once I don't expect this to have a significant performance impact, but it seems simpler and saner to do the operation only once and to keep the result around.

# -*- mode: ruby -*-

Vagrant.configure('2') do |config|
  # Debian 8.1 x86_64 without configuration management software
  config.vm.box = "debian/jessie64"
  config.vm.hostname = "tests"

  config.vm.define "tests" do |conf|
    conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
    conf.vm.provision :shell, path: "provision.sh"
    conf.vm.synced_folder "../..", "/hgshared"
  end
end