mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
support configing buildserver VM per-build with sudo=
This adds the 'sudo' build field, which is just a script that is run as root. For more info, see the issue that this closes: refs #318 closes #317
This commit is contained in:
parent
747ac52a62
commit
dfb07808d3
9 changed files with 138 additions and 14 deletions
|
|
@ -204,6 +204,7 @@ build_flags_order = [
|
|||
'commit',
|
||||
'subdir',
|
||||
'submodules',
|
||||
'sudo',
|
||||
'init',
|
||||
'patch',
|
||||
'gradle',
|
||||
|
|
@ -246,6 +247,7 @@ class Build(dict):
|
|||
self.commit = None
|
||||
self.subdir = None
|
||||
self.submodules = False
|
||||
self.sudo = ''
|
||||
self.init = ''
|
||||
self.patch = []
|
||||
self.gradle = []
|
||||
|
|
@ -333,6 +335,7 @@ flagtypes = {
|
|||
'gradle': TYPE_LIST,
|
||||
'antcommands': TYPE_LIST,
|
||||
'gradleprops': TYPE_LIST,
|
||||
'sudo': TYPE_SCRIPT,
|
||||
'init': TYPE_SCRIPT,
|
||||
'prebuild': TYPE_SCRIPT,
|
||||
'build': TYPE_SCRIPT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue