mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-13 10:40:29 +03:00
Much better build server provisioning
Including selection of correct ndk architecture, caching and performance improvements, better configurability, etc.
This commit is contained in:
parent
0985a6d4f4
commit
cb16a63409
5 changed files with 124 additions and 53 deletions
26
buildserver/Vagrantfile
vendored
26
buildserver/Vagrantfile
vendored
|
|
@ -1,26 +0,0 @@
|
|||
Vagrant::Config.run do |config|
|
||||
|
||||
config.vm.box = "raring64"
|
||||
config.vm.box_url = "/shares/software/OS and Boot/raring64.box"
|
||||
|
||||
config.vm.customize ["modifyvm", :id, "--memory", "3584"]
|
||||
|
||||
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://192.168.0.19:8000\"; };" > /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 "fdroidbuild-general"
|
||||
chef.add_recipe "android-sdk"
|
||||
chef.add_recipe "android-ndk"
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue