forked from svpmtrust/autotest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
27 lines (19 loc) · 833 Bytes
/
Vagrantfile
File metadata and controls
27 lines (19 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise64"
local_ip = "127.0.0.1"
contest_name = "GnanaTechContest"
config.vm.define "gitserver" do |gitserver|
gitserver.vm.provision :shell, path: "gitserver/bootstrap.sh" args: ["/vagrant", local_ip, contest_name]
gitserver.vm.network :forwarded_port, guest: 80, host: 12003, protocol: 'tcp'
end
config.vm.define "testserver" do |testserver|
testserver.vm.provision "shell", path: "testserver/provision.sh"
end
config.vm.define "testcoordinator" do |testcoordinator|
testcoordinator.vm.provision "shell", path: "testcoordinator/provision.sh"
end
end