mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Merge branch 'makebuildserver-jenkins-fixes' into 'master'
Makebuildserver jenkins fixes more stuff related to the Debian jenkins build See merge request !92
This commit is contained in:
commit
5952c46bd0
@ -38,3 +38,9 @@
|
||||
|
||||
# Set to True if your base box is 64 bit (e.g. testing32.box isn't)
|
||||
# arch64 = True
|
||||
|
||||
# If this is running on an older machine or on a virtualized system,
|
||||
# it can run a lot slower. If the provisioning fails with a warning
|
||||
# about the timeout, extend the timeout here. (default: 600 seconds)
|
||||
#
|
||||
# boot_timeout = 1200
|
||||
|
@ -53,6 +53,8 @@ config = {
|
||||
'file://' + os.path.join(cachedir, 'jessie32.box'),
|
||||
'https://f-droid.org/jessie32.box',
|
||||
],
|
||||
'debian_mirror': 'http://http.debian.net/debian/',
|
||||
'boot_timeout': 600,
|
||||
'cachedir': cachedir,
|
||||
'cpus': 1,
|
||||
'memory': 3584,
|
||||
@ -352,11 +354,14 @@ Vagrant.configure("2") do |config|
|
||||
v.customize ["modifyvm", :id, "--cpus", "{3}"]
|
||||
end
|
||||
|
||||
config.vm.boot_timeout = {4}
|
||||
|
||||
config.vm.provision :shell, :path => "fixpaths.sh"
|
||||
""".format(config['basebox'],
|
||||
baseboxurl,
|
||||
config['memory'],
|
||||
config.get('cpus', 1))
|
||||
config.get('cpus', 1),
|
||||
config['boot_timeout'])
|
||||
if 'aptproxy' in config and config['aptproxy']:
|
||||
vagrantfile += """
|
||||
config.vm.provision :shell, :inline => 'sudo echo "Acquire::http {{ Proxy \\"{0}\\"; }};" > /etc/apt/apt.conf.d/02proxy && sudo apt-get update'
|
||||
|
Loading…
Reference in New Issue
Block a user