-
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 slices for Gearman and dependencies
- Loading branch information
Showing
14 changed files
with
238 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,32 @@ | ||
package: gearman-job-server | ||
|
||
essential: | ||
- gearman-job-server_copyright | ||
|
||
slices: | ||
bins: | ||
# gearman-job-server actually depends on adduser as well to create and | ||
# remove a user during package install/removal - however we don't | ||
# support this currently so adduser is not added here. | ||
essential: | ||
- libboost-program-options1.83.0_libs | ||
- libc6_libs | ||
- libevent-2.1-7t64_libs | ||
- libevent-pthreads-2.1-7t64_libs | ||
- libgcc-s1_libs | ||
- libhiredis1.1.0_libs | ||
- libmemcached11t64_libs | ||
- libmysqlclient21_libs | ||
- libpq5_libs | ||
- libsqlite3-0_libs | ||
- libstdc++6_libs | ||
contents: | ||
/usr/sbin/gearmand: | ||
|
||
services: | ||
contents: | ||
/usr/lib/systemd/system/gearman-job-server.service: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/gearman-job-server/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package: gearman-tools | ||
|
||
essential: | ||
- gearman-tools_copyright | ||
|
||
slices: | ||
bins: | ||
essential: | ||
- libboost-program-options1.83.0_libs | ||
- libc6_libs | ||
- libgearman8t64_libs | ||
- libgcc-s1_libs | ||
- libstdc++6_libs | ||
contents: | ||
/usr/bin/gearadmin: | ||
/usr/bin/gearman: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/gearman-tools/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package: libboost-program-options1.83.0 | ||
|
||
essential: | ||
- libboost-program-options1.83.0_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libgcc-s1_libs | ||
- libstdc++6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libboost_program_options.so.1.83.0: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libboost-program-options1.83.0/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package: libevent-2.1-7t64 | ||
|
||
essential: | ||
- libevent-2.1-7t64_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*linux-*/libevent-2.1.so.7*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libevent-2.1-7t64/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package: libevent-core-2.1-7t64 | ||
|
||
essential: | ||
- libevent-core-2.1-7t64_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libevent_core-2.1.so.7*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libevent-core-2.1-7t64/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package: libevent-pthreads-2.1-7t64 | ||
|
||
essential: | ||
- libevent-pthreads-2.1-7t64_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libevent-core-2.1-7t64_libs | ||
contents: | ||
/usr/lib/*-linux-*/libevent_pthreads-2.1.so.7*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libevent-pthreads-2.1-7t64/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package: libgearman8t64 | ||
|
||
essential: | ||
- libgearman8t64_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libgcc-s1_libs | ||
- libstdc++6_libs | ||
- libuuid1_libs | ||
contents: | ||
/usr/lib/*-linux-*/libgearman.so.8*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libgearman8t64/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package: libhashkit2t64 | ||
|
||
essential: | ||
- libhashkit2t64_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libssl3t64_libs | ||
contents: | ||
/usr/lib/*-linux-*/libhashkit.so.2*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libhashkit2t64/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package: libhiredis1.1.0 | ||
|
||
essential: | ||
- libhiredis1.1.0_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libssl3t64_libs | ||
contents: | ||
/usr/lib/*-linux-*/libhiredis.so.1*: | ||
/usr/lib/*-linux-*/libhiredis_ssl.so.1*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libhiredis1.1.0/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package: libmemcached11t64 | ||
|
||
essential: | ||
- libmemcached11t64_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libgcc-s1_libs | ||
- libhashkit2t64_libs | ||
- libsasl2-2_libs | ||
- libstdc++6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libmemcached.so.11*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libmemcached11t64/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package: libmysqlclient21 | ||
|
||
essential: | ||
- libmysqlclient21_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libgcc-s1_libs | ||
- libssl3t64_libs | ||
- libstdc++6_libs | ||
- libzstd1_libs | ||
- mysql-common_config | ||
- zlib1g_libs | ||
contents: | ||
/usr/lib/*-linux-*/libmysqlclient.so.21*: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/libmysqlclient21/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package: mysql-common | ||
|
||
essential: | ||
- mysql-common_copyright | ||
|
||
slices: | ||
config: | ||
contents: | ||
/etc/mysql/conf.d/mysql.cnf: | ||
/etc/mysql/conf.d/mysqldump.cnf: | ||
/etc/mysql/my.cnf.fallback: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/mysql-common/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
summary: Integration tests for gearman-job-server | ||
|
||
execute: | | ||
# Chisel a minimum number of slices to give us a runnable system that we can | ||
# test in. | ||
rootfs="$(install-slices gearman-job-server_bins)" | ||
chroot "${rootfs}/" gearmand -h |
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 gearman-tools | ||
|
||
execute: | | ||
# Chisel a minimum number of slices to give us a runnable system that we can | ||
# test in. | ||
rootfs="$(install-slices gearman-tools_bins)" | ||
chroot "${rootfs}/" gearadmin --help | ||
chroot "${rootfs}/" gearman -H |