mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-19 21:30:10 +01:00
09daa5eee0
4 gigs is still a common amount of RAM these days for laptops, if the VM takes almost all of that, it makes the machine drag to almost a halt. Most apps build fine in 1gig of RAM, indeed that's the default for most CI instances, like travis-ci and gitlab-ci.
54 lines
1.9 KiB
Python
54 lines
1.9 KiB
Python
#!/usr/bin/env python2
|
|
#
|
|
# You may want to alter these before running ./makebuildserver
|
|
|
|
# Name of the base box to use
|
|
# basebox = "jessie32"
|
|
|
|
# Location where testing32.box can be found, if you don't already have
|
|
# it. For security reasons, it's recommended that you make your own
|
|
# in a secure environment using trusted media (see the manual) but
|
|
# you can use this default if you like...
|
|
# baseboxurl = "https://f-droid.org/jessie32.box"
|
|
#
|
|
# or if you have a cached local copy, you can use that first:
|
|
# baseboxurl = ["file:///home/fdroid/fdroidserver/cache/jessie32.box", "https://f-droid.org/jessie32.box"]
|
|
|
|
# In the process of setting up the build server, many gigs of files
|
|
# are downloaded (Android SDK components, gradle, etc). These are
|
|
# cached so that they are not redownloaded each time. By default,
|
|
# these are stored in ~/.cache/fdroidserver
|
|
#
|
|
# cachedir = 'buildserver/cache'
|
|
|
|
# A big part of creating a new instance is downloading packages from Debian.
|
|
# This setups up a folder in ~/.cache/fdroidserver to cache the downloaded
|
|
# packages when rebuilding the build server from scratch. This requires
|
|
# that virtualbox-guest-utils is installed.
|
|
#
|
|
# apt_package_cache = True
|
|
|
|
# To specify which Debian mirror the build server VM should use, by
|
|
# default it uses http.debian.net, which auto-detects which is the
|
|
# best mirror to use.
|
|
#
|
|
# debian_mirror = 'http://ftp.uk.debian.org/debian/'
|
|
|
|
# The amount of RAM the build server will have (default: 1024)
|
|
# memory = 3584
|
|
|
|
# The number of CPUs the build server will have
|
|
# cpus = 1
|
|
|
|
# Debian package proxy server - if you have one
|
|
# aptproxy = "http://192.168.0.19:8000"
|
|
|
|
# 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
|