forked from fedora-infra/pdc-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
30 lines (28 loc) · 706 Bytes
/
Copy pathVagrantfile
File metadata and controls
30 lines (28 loc) · 706 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
28
29
30
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<SCRIPT
dnf install -y \
python \
python-devel \
libffi-devel \
redhat-rpm-config \
openssl-devel \
gcc \
gcc-c++ \
zeromq-devel \
koji \
swig \
fedmsg \
libyaml-devel
cd /opt/pdc-updater/src
python setup.py develop
pip install -r test-requirements.txt
SCRIPT
Vagrant.configure("2") do |config|
config.vm.box = "fedora/24-cloud-base"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--memory", 2048]
end
config.vm.synced_folder "./", "/opt/pdc-updater/src"
config.vm.provision "shell", inline: $script
end