mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +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
|
config.py
|
||||||
|
makebs.config.py
|
||||||
*~
|
*~
|
||||||
*.pyc
|
*.pyc
|
||||||
buildserver.box
|
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 subprocess
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
execfile('makebs.config.py', globals())
|
||||||
# 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.
|
|
||||||
|
|
||||||
|
|
||||||
def vagrant(params, cwd=None, printout=False):
|
def vagrant(params, cwd=None, printout=False):
|
||||||
"""Run vagrant.
|
"""Run vagrant.
|
||||||
|
Loading…
Reference in New Issue
Block a user