Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adrien Plazas
deb-build-jobs
Commits
6a877e75
Commit
6a877e75
authored
Jun 13, 2019
by
Guido Gunther
Browse files
Support build profiles
https://wiki.debian.org/BuildProfileSpec
parent
65f424bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
jobs.groovy
View file @
6a877e75
...
...
@@ -48,6 +48,7 @@ def pkgs = yaml.load(new File(jobsfile).text)
pkgs
.
each
{
pkg
->
params
=
pkg
.
value
deb_build_opts
=
params
.
get
(
'deb_build_options'
,
''
)
deb_build_profiles
=
params
.
get
(
'deb_build_profiles'
,
''
)
params
.
get
(
'archs'
,
default_archs
).
each
{
arch
->
params
.
get
(
'dists'
,
default_dists
).
each
{
dist
->
name
=
folder
+
'/'
+
'deb-'
+
pkg
.
key
+
'-'
+
dist
+
'-'
+
arch
...
...
@@ -84,6 +85,7 @@ pkgs.each { pkg ->
git checkout -f
gbp dch -S -a --ignore-branch
export DEB_BUILD_OPTIONS='${deb_build_opts.join(',')}'
export DEB_BUILD_PROFILES='${deb_build_profiles.join(' ')}'
gbp buildpackage ${[arch_arg, dist_arg, common_args, dpkg_args].join(' ')}
"""
.
stripIndent
()
...
...
jobs.yml
View file @
6a877e75
...
...
@@ -68,6 +68,7 @@ phoc:
dista
:
[
'
buster'
]
branch
:
'
master'
submodule_update
:
true
deb_build_profiles
:
[
'
pkg.phoc.embedwlroots'
]
purple-mm-sms
:
url
:
https://source.puri.sm/Librem5/purple-mm-sms.git
dists
:
[
'
buster+ci'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment