mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03: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
2 changed files with 12 additions and 1 deletions
|
|
@ -38,3 +38,9 @@
|
||||||
|
|
||||||
# Set to True if your base box is 64 bit (e.g. testing32.box isn't)
|
# Set to True if your base box is 64 bit (e.g. testing32.box isn't)
|
||||||
# arch64 = True
|
# 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'),
|
'file://' + os.path.join(cachedir, 'jessie32.box'),
|
||||||
'https://f-droid.org/jessie32.box',
|
'https://f-droid.org/jessie32.box',
|
||||||
],
|
],
|
||||||
|
'debian_mirror': 'http://http.debian.net/debian/',
|
||||||
|
'boot_timeout': 600,
|
||||||
'cachedir': cachedir,
|
'cachedir': cachedir,
|
||||||
'cpus': 1,
|
'cpus': 1,
|
||||||
'memory': 3584,
|
'memory': 3584,
|
||||||
|
|
@ -352,11 +354,14 @@ Vagrant.configure("2") do |config|
|
||||||
v.customize ["modifyvm", :id, "--cpus", "{3}"]
|
v.customize ["modifyvm", :id, "--cpus", "{3}"]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config.vm.boot_timeout = {4}
|
||||||
|
|
||||||
config.vm.provision :shell, :path => "fixpaths.sh"
|
config.vm.provision :shell, :path => "fixpaths.sh"
|
||||||
""".format(config['basebox'],
|
""".format(config['basebox'],
|
||||||
baseboxurl,
|
baseboxurl,
|
||||||
config['memory'],
|
config['memory'],
|
||||||
config.get('cpus', 1))
|
config.get('cpus', 1),
|
||||||
|
config['boot_timeout'])
|
||||||
if 'aptproxy' in config and config['aptproxy']:
|
if 'aptproxy' in config and config['aptproxy']:
|
||||||
vagrantfile += """
|
vagrantfile += """
|
||||||
config.vm.provision :shell, :inline => 'sudo echo "Acquire::http {{ Proxy \\"{0}\\"; }};" > /etc/apt/apt.conf.d/02proxy && sudo apt-get update'
|
config.vm.provision :shell, :inline => 'sudo echo "Acquire::http {{ Proxy \\"{0}\\"; }};" > /etc/apt/apt.conf.d/02proxy && sudo apt-get update'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue