mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Externalise makebuildserver config variables
This commit is contained in:
parent
8a236ea1c8
commit
ceb4b20ede
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
config.py
|
||||
makebs.config.py
|
||||
*~
|
||||
*.pyc
|
||||
buildserver.box
|
||||
|
16
makebs.config.sample.py
Normal file
16
makebs.config.sample.py
Normal file
@ -0,0 +1,16 @@
|
||||
# You will need to alter these before running makebuildserver.py
|
||||
|
||||
# Name of the base box to use...
|
||||
basebox = "raring32"
|
||||
|
||||
# Location where raring32.box can be found, if you don't already have
|
||||
# it. Could be set to https://f-droid.org/raring32.box if you like...
|
||||
baseboxurl = "/shares/software/OS and Boot/raring32.box"
|
||||
|
||||
memory = 3584
|
||||
|
||||
# Debian package proxy server - set this to None unless you have one...
|
||||
aptproxy = "http://192.168.0.19:8000"
|
||||
|
||||
# Set to True if your base box is 64 bit...
|
||||
arch64 = False
|
@ -5,23 +5,7 @@ import sys
|
||||
import subprocess
|
||||
import time
|
||||
|
||||
|
||||
# Settings, which need to be moved elsewhere ultimately. You will need
|
||||
# to alter these before running.
|
||||
|
||||
# Name of the base box to use...
|
||||
basebox = "raring32"
|
||||
# Location where raring32.box can be found, if you don't already have
|
||||
# it. Could be set to https://f-droid.org/raring32.box if you like...
|
||||
baseboxurl = "/shares/software/OS and Boot/raring32.box"
|
||||
memory = 3584
|
||||
# Debian package proxy server - set this to None unless you have one...
|
||||
aptproxy = "http://192.168.0.19:8000"
|
||||
# Set to True if your base box is 64 bit...
|
||||
arch64 = False
|
||||
|
||||
# End of settings.
|
||||
|
||||
execfile('makebs.config.py', globals())
|
||||
|
||||
def vagrant(params, cwd=None, printout=False):
|
||||
"""Run vagrant.
|
||||
|
Loading…
Reference in New Issue
Block a user