-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(24.04): add slice for libnginx-mod-http-headers-more-filter
- Loading branch information
1 parent
af12f84
commit 8d10c8d
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package: libnginx-mod-http-headers-more-filter | ||
|
||
essential: | ||
- libnginx-mod-http-headers-more-filter_copyright | ||
|
||
slices: | ||
modules: | ||
essential: | ||
# libnginx-mod-http-headers-more-filter depends on nginx-abi, which is | ||
# a virtual package provided by nginx, hence the dependency on nginx_bins. | ||
- libc6_libs | ||
- libnginx-mod-http-headers-more-filter_config | ||
- nginx_bins | ||
contents: | ||
/usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so: | ||
|
||
config: | ||
contents: | ||
# This symlink is created by the maintainer scipts | ||
/etc/nginx/modules-enabled/50-mod-http-headers-more-filter.conf: | ||
symlink: /usr/share/nginx/modules-available/mod-http-headers-more-filter.conf | ||
/usr/share/nginx/modules-available/mod-http-headers-more-filter.conf: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libnginx-mod-http-headers-more-filter/copyright: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
tests/spread/integration/libnginx-mod-http-headers-more-filter/task.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
summary: Integration tests for libnginx-mod-http-headers-more-filter | ||
|
||
execute: | | ||
# Chisel a minimum number of slices to give us a runnable system that we can | ||
# test in. | ||
rootfs="$(install-slices base-files_var base-passwd_data nginx_bins)" | ||
# This will fail if loading of the NGINX module fails. | ||
chroot "${rootfs}/" nginx -t |