buildserver: unpack gradle versions with provisioning shell script

This was not using anything special from chef, so do it in a shell script
instead.  This makes the script easier for the python/shell people, and
probably uses less memory, since chef is a memory hog.  This might even
make the provision go faster since it uploads the whole script as a file to
the VM, then runs it there.  I think chef sends each command via SSH.
This commit is contained in:
Hans-Christoph Steiner 2016-06-15 15:25:57 +02:00
parent 02a835ff95
commit 6ea2508127
4 changed files with 23 additions and 43 deletions

View file

@ -392,12 +392,14 @@ vagrantfile += """
}
}
chef.add_recipe "fdroidbuild-general"
chef.add_recipe "gradle"
chef.add_recipe "kivy"
end
config.vm.provision "shell", path: "provision-android-sdk"
config.vm.provision "shell", path: "provision-android-ndk"
config.vm.provision "shell", path: "provision-gradle"
config.vm.provision "file", source: "gradle",
destination: "/opt/gradle/bin/gradle"
end
""" % (config['debian_mirror'],