Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
packages
Commits
c16abc46
Commit
c16abc46
authored
Jan 07, 2019
by
Robin Sonnabend
Browse files
Add missing package skeleton copy for nginx-shibboleth
parent
29a1bbe9
Pipeline
#584
passed with stage
in 11 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packages.yml
View file @
c16abc46
...
...
@@ -15,5 +15,9 @@ packages:
additional_content
:
-
git_url
:
"
https://github.com/nginx-shib/nginx-http-shibboleth.git"
target_dir
:
debian/modules
-
copy
:
src
:
libnginx-mod.nginx.skeleton
dest
:
libnginx-mod-http-shibboleth.nginx
target_dir
:
debian
-
target_dir
:
debian
patch_dir
:
patches/nginx
scripts/build.py
View file @
c16abc46
...
...
@@ -78,6 +78,9 @@ def build_package(repo_dir, package_dir, name,
apply_patches
(
abs_patch_dir
)
elif
"git_url"
in
content
:
run_checked
([
"git"
,
"clone"
,
content
[
"git_url"
]])
elif
"copy"
in
content
:
copy
=
content
[
"copy"
]
shutil
.
copy
(
copy
[
"src"
],
copy
[
"dest"
])
else
:
raise
ValueError
(
"Unknown kind of additional content: {}"
.
format
(
...
...
Write
Preview
Markdown
is supported
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