-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathphp-8.5-blackfire.yaml
More file actions
55 lines (48 loc) · 1.7 KB
/
php-8.5-blackfire.yaml
File metadata and controls
55 lines (48 loc) · 1.7 KB
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
52
53
54
55
package:
name: php-8.5-blackfire
version: 2026.4.0
epoch: 0
description: "Blackfire PHP Probe"
copyright:
- license: PROPRIETARY
dependencies:
runtime:
- ${{package.name}}-config
- php-8.5
environment:
contents:
packages:
- busybox
pipeline:
- uses: fetch
if: ${{build.arch}} == 'x86_64'
with:
uri: https://packages.blackfire.io/binaries/blackfire-php/${{package.version}}/blackfire-php-linux_amd64-php-85.so
expected-sha512: aeec3834968d93f19c4289ba25110207b3abe6c53aaf75737f3a0731dfb9c70ca3e2f8959b2da205fb0e08a2a14589eead68f866ae711fb4a558e49784cb803c
extract: false
- uses: fetch
if: ${{build.arch}} == 'aarch64'
with:
uri: https://packages.blackfire.io/binaries/blackfire-php/${{package.version}}/blackfire-php-linux_arm64-php-85.so
expected-sha512: 73c0429acb6c8df47e0f942b0a1aa88d045c00de9d8dfde3ec3227039420f48940332f2a1bcd66e92be3e70e6b6a6baf5cd4a271862aaa7e8751fc1613dfe4cc
extract: false
- name: Copy
if: ${{build.arch}} == 'x86_64'
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp blackfire-php-linux_amd64-php-85.so ${{targets.destdir}}/usr/lib/php/modules/blackfire.so
- name: Copy
if: ${{build.arch}} == 'aarch64'
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp blackfire-php-linux_arm64-php-85.so ${{targets.destdir}}/usr/lib/php/modules/blackfire.so
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=blackfire.so" > "${{targets.subpkgdir}}/etc/php/conf.d/blackfire.ini"
update:
enabled: true
release-monitor:
identifier: 371867