Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-pr-target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ on:
jobs:
pkg-deps:
name: Package dependencies
uses: canonical/chisel-releases/.github/workflows/pkg-deps.yaml@main
uses: clay-lake/chisel-releases/.github/workflows/pkg-deps.yaml@main
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ jobs:
cla-check:
if: github.event_name == 'pull_request'
name: CLA check
uses: canonical/chisel-releases/.github/workflows/cla-check.yaml@main
uses: clay-lake/chisel-releases/.github/workflows/cla-check.yaml@main

installability-tests:
name: Installability tests
uses: canonical/chisel-releases/.github/workflows/install-slices.yaml@main
uses: clay-lake/chisel-releases/.github/workflows/install-slices.yaml@main

lint:
name: Lint
uses: canonical/chisel-releases/.github/workflows/lint.yaml@main
uses: clay-lake/chisel-releases/.github/workflows/lint.yaml@main

integration-tests:
name: Integration tests
uses: canonical/chisel-releases/.github/workflows/spread.yaml@main
uses: clay-lake/chisel-releases/.github/workflows/spread.yaml@main
16 changes: 16 additions & 0 deletions slices/brotli.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package: brotli

essential:
- brotli_copyright

slices:
bins:
essential:
- libbrotli1_libs
- libc6_libs
contents:
/usr/bin/brotli:

copyright:
contents:
/usr/share/doc/brotli/copyright:
1 change: 0 additions & 1 deletion slices/libbrotli1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ slices:
/usr/lib/*-linux-*/libbrotlicommon.so.1*:
/usr/lib/*-linux-*/libbrotlidec.so.1*:
/usr/lib/*-linux-*/libbrotlienc.so.1*:

copyright:
contents:
/usr/share/doc/libbrotli1/copyright:
15 changes: 15 additions & 0 deletions tests/spread/integration/brotli/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
summary: Integration tests for brotli

execute: |

# testing for only bins slice
rootfs_bins="$(install-slices brotli_bins)"

# generate a test file
echo "Hello World!" > "${rootfs_bins}/input.txt"

# test compression and decompression commands
chroot "${rootfs_bins}" /usr/bin/brotli -k input.txt
cmp "${rootfs_bins}/input.txt" <(chroot "${rootfs_bins}" brotli -d -c input.txt.br)