chiark / gitweb /
Weblate
[fdroidserver.git] / examples / 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
17 # In the process of setting up the build server, many gigs of files
18 # are downloaded (Android SDK components, gradle, etc).  These are
19 # cached so that they are not redownloaded each time. By default,
20 # these are stored in ~/.cache/fdroidserver
21 #
22 # cachedir = 'buildserver/cache'
23
24 # A big part of creating a new instance is downloading packages from Debian.
25 # This setups up a folder in ~/.cache/fdroidserver to cache the downloaded
26 # packages when rebuilding the build server from scratch.  This requires
27 # that virtualbox-guest-utils is installed.
28 #
29 # apt_package_cache = True
30
31 # The buildserver can use some local caches to speed up builds,
32 # especially when the internet connection is slow and/or expensive.
33 # If enabled, the buildserver setup will look for standard caches in
34 # your HOME dir and copy them to the buildserver VM. Be aware: this
35 # will reduce the isolation of the buildserver from your host machine,
36 # so the buildserver will provide an environment only as trustworthy
37 # as the host machine's environment.
38 #
39 # copy_caches_from_host = True
40
41 # To specify which Debian mirror the build server VM should use, by
42 # default it uses http.debian.net, which auto-detects which is the
43 # best mirror to use.
44 #
45 # debian_mirror = 'http://ftp.uk.debian.org/debian/'
46
47 # The amount of RAM the build server will have (default: 2048)
48 # memory = 3584
49
50 # The number of CPUs the build server will have
51 # cpus = 1
52
53 # Debian package proxy server - if you have one
54 # aptproxy = "http://192.168.0.19:8000"
55
56 # If this is running on an older machine or on a virtualized system,
57 # it can run a lot slower. If the provisioning fails with a warning
58 # about the timeout, extend the timeout here. (default: 600 seconds)
59 #
60 # boot_timeout = 1200
61
62 # By default, this whole process uses VirtualBox as the provider, but
63 # QEMU+KVM is also supported via the libvirt plugin to vagrant. If
64 # this is run within a KVM guest, then libvirt's QEMU+KVM will be used
65 # automatically.  It can also be manually enabled by uncommenting
66 # below:
67 #
68 # vm_provider = 'libvirt'