-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphp-8.2-relay.yaml
51 lines (45 loc) · 1.67 KB
/
php-8.2-relay.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package:
name: php-8.2-relay
version: 0.10.1
epoch: 0
description: "Relay is a Redis™ client like PhpRedis and Predis, except two orders of magnitude faster"
copyright:
- license: PROPRIETARY
dependencies:
runtime:
- ${{package.name}}-config
- liblz4-1
- libzstd1
- php-8.2
- php-8.2-igbinary
- php-8.2-msgpack
environment:
contents:
packages:
- busybox
pipeline:
- uses: fetch
if: ${{build.arch}} == 'x86_64'
with:
uri: https://builds.r2.relay.so/v${{package.version}}/relay-v${{package.version}}-php8.2-debian-x86-64+libssl3.tar.gz
expected-sha512: ea7ae62234de847f7ca00c1e9489979171dfa8e5809c58181e2122013773e6eff7e46aaaf6d77080fdcd650512d12c1a866e741e630e8458bc6e2d800ebd358f
- uses: fetch
if: ${{build.arch}} == 'aarch64'
with:
uri: https://builds.r2.relay.so/v${{package.version}}/relay-v${{package.version}}-php8.2-debian-aarch64+libssl3.tar.gz
expected-sha512: 4ccd7f7fa64c6b5afc7f69d0f859918beb41f1f174df793646cba94dce994ac8fa7bee39eb0df631df613124c4f385ba7f7135e12e6fffc07227e3f12769fb48
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp relay-pkg.so ${{targets.destdir}}/usr/lib/php/modules/relay.so
sed -i "s/00000000-0000-0000-0000-000000000000/$(cat /proc/sys/kernel/random/uuid)/" ${{targets.destdir}}/usr/lib/php/modules/relay.so
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=relay.so" > "${{targets.subpkgdir}}/etc/php/conf.d/relay.ini"
update:
enabled: true
release-monitor:
identifier: 375123