1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 11:00:10 +01:00
fdroidserver/buildserver/Vagrantfile
Ciaran Gultnieks af391c7679 Be explicit about jarsigner algorithms
If these aren't specified, it works fine with the jdk6 version, but
produces an unusable (on Android) index.jar with the jdk7 version.
2013-04-11 17:30:51 +01:00

27 lines
869 B
Ruby

Vagrant::Config.run do |config|
config.vm.box = "precise32"
config.vm.box_url = "/shares/software/OS and Boot/precise32.box"
config.vm.customize ["modifyvm", :id, "--memory", "2048"]
config.vm.provision :shell, :path => "fixpaths.sh"
# Set apt proxy - remove, or adjust this, accordingly!
config.vm.provision :shell, :inline => 'sudo echo "Acquire::http { Proxy \"http://glencoe:3142\"; };" > /etc/apt/apt.conf.d/02proxy && sudo apt-get update'
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.log_level = :debug
chef.json = {
:settings => {
:sdk_loc => "/home/vagrant/android-sdk",
:ndk_loc => "/home/vagrant/android-ndk",
:user => "vagrant"
}
}
chef.add_recipe "android-sdk"
chef.add_recipe "android-ndk"
chef.add_recipe "fdroidbuild-general"
end
end