chiark / gitweb /
basebox config
[fdroidserver.git] / makebuildserver.config.py
1 #!/usr/bin/env python3
2 #
3 # You may want to alter these before running ./makebuildserver
4
5 # Name of the base box to use
6 # basebox = "jessie64"
7
8 # Location where testing32.box can be found, if you don't already have
9 # it. For security reasons, it's recommended that you make your own
10 # in a secure environment using trusted media (see the manual) but
11 # you can use this default if you like...
12 # baseboxurl = "https://f-droid.org/jessie64.box"
13 #
14 # or if you have a cached local copy, you can use that first:
15 # baseboxurl = ["file:///home/fdroid/fdroidserver/cache/jessie64.box", "https://f-droid.org/jessie64.box"]
16 baseboxurl = ["file:///home/fdroid/.cache/fdroidserver/jessie64.box"]
17
18 # In the process of setting up the build server, many gigs of files
19 # are downloaded (Android SDK components, gradle, etc).  These are
20 # cached so that they are not redownloaded each time. By default,
21 # these are stored in ~/.cache/fdroidserver
22 #
23 # cachedir = 'buildserver/cache'
24
25 # A big part of creating a new instance is downloading packages from Debian.
26 # This setups up a folder in ~/.cache/fdroidserver to cache the downloaded
27 # packages when rebuilding the build server from scratch.  This requires
28 # that virtualbox-guest-utils is installed.
29 #
30 # apt_package_cache = True
31
32 # The buildserver can use some local caches to speed up builds,
33 # especially when the internet connection is slow and/or expensive.
34 # If enabled, the buildserver setup will look for standard caches in
35 # your HOME dir and copy them to the buildserver VM. Be aware: this
36 # will reduce the isolation of the buildserver from your host machine,
37 # so the buildserver will provide an environment only as trustworthy
38 # as the host machine's environment.
39 #
40 copy_caches_from_host = True
41
42 # To specify which Debian mirror the build server VM should use, by
43 # default it uses http.debian.net, which auto-detects which is the
44 # best mirror to use.
45 #
46 # debian_mirror = 'http://ftp.uk.debian.org/debian/'
47
48 # The amount of RAM the build server will have (default: 2048)
49 # memory = 3584
50
51 # The number of CPUs the build server will have
52 # cpus = 1
53
54 # Debian package proxy server - if you have one
55 # aptproxy = "http://192.168.0.19:8000"
56 aptproxhy = "http://www-cache.relativity.greenend.org.uk:3128/"
57
58 # If this is running on an older machine or on a virtualized system,
59 # it can run a lot slower. If the provisioning fails with a warning
60 # about the timeout, extend the timeout here. (default: 600 seconds)
61 #
62 # boot_timeout = 1200
63
64 # By default, this whole process uses VirtualBox as the provider, but
65 # QEMU+KVM is also supported via the libvirt plugin to vagrant. If
66 # this is run within a KVM guest, then libvirt's QEMU+KVM will be used
67 # automatically.  It can also be manually enabled by uncommenting
68 # below:
69 #
70 vm_provider = 'libvirt'