mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
buildserver: add copy_caches_from_host config option
For people using slow, expensive, and/or flaky internet, liberal use of caching can make a huge difference. The restricted environment of the gpjenkins box has been a good test environment for this (Tor-only, whitelist of allowed IPs to visit, home internet connection).
This commit is contained in:
parent
4cde71552f
commit
daade7656a
3 changed files with 34 additions and 0 deletions
|
@ -49,6 +49,7 @@ cd $WORKSPACE
|
|||
echo "debian_mirror = 'https://deb.debian.org/debian/'" > $WORKSPACE/makebuildserver.config.py
|
||||
echo "boot_timeout = 1200" >> $WORKSPACE/makebuildserver.config.py
|
||||
echo "apt_package_cache = True" >> $WORKSPACE/makebuildserver.config.py
|
||||
echo "copy_caches_from_host = True" >> $WORKSPACE/makebuildserver.config.py
|
||||
./makebuildserver --verbose --clean
|
||||
|
||||
# this can be handled in the jenkins job, or here:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue