-
Notifications
You must be signed in to change notification settings - Fork 1
/
php-8.1-tideways.yaml
46 lines (40 loc) · 1.39 KB
/
php-8.1-tideways.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
package:
name: php-8.1-tideways
version: 5.10.0
epoch: 0
description: "Tideways PHP Probe"
copyright:
- license: PROPRIETARY
dependencies:
runtime:
- ${{package.name}}-config
- php-8.1
environment:
contents:
packages:
- busybox
pipeline:
- uses: fetch
if: ${{build.arch}} == 'x86_64'
with:
uri: https://tideways.s3.amazonaws.com/extension/${{package.version}}/tideways-php-${{package.version}}-x86_64.tar.gz
expected-sha512: dff3ffc22711f122a67f35e6de6db14b1c14ae4f9b81e4e6500d3d4c1d1f6c37eef6283c9e361e7b7ac85230eaf3e11ef59777b62e721973459b22169c616517
- uses: fetch
if: ${{build.arch}} == 'aarch64'
with:
uri: https://tideways.s3.amazonaws.com/extension/${{package.version}}/tideways-php-${{package.version}}-arm64.tar.gz
expected-sha512: 556a3e6ae10806df2a7e649f28bdc6ddd3169fe9ee4eb440bf265751f2b27a11e47ff021cb303340c3619ec5c74ad6ec35137fa84e4c9255d6623ec5ecaaaeb8
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp tideways-php-8.1.so ${{targets.destdir}}/usr/lib/php/modules/tideways.so
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=tideways.so" > "${{targets.subpkgdir}}/etc/php/conf.d/tideways.ini"
update:
enabled: true
release-monitor:
identifier: 371870