-
Notifications
You must be signed in to change notification settings - Fork 2
/
php-frankenphp-8.2-opentelemetry.yaml
54 lines (47 loc) · 1.24 KB
/
php-frankenphp-8.2-opentelemetry.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
52
53
54
package:
name: php-frankenphp-8.2-opentelemetry
version: 1.1.0
epoch: 0
description: "OpenTelemetry PHP auto-instrumentation extension"
copyright:
- license: Apache-2.0
dependencies:
runtime:
- ${{package.name}}-config
- php-frankenphp-8.2
environment:
contents:
packages:
- autoconf
- build-base
- busybox
- php-frankenphp-8.2
- php-frankenphp-8.2-dev
pipeline:
- uses: git-checkout
with:
repository: https://github.com/open-telemetry/opentelemetry-php-instrumentation
tag: ${{package.version}}
expected-commit: 9f14e3982a542d0ce7357ec18d1f5bdada199eb3
- name: Prepare build
runs: cd ext && phpize
- name: Configure
runs: |
set -x
cd ext
./configure
- name: Make install
runs: |
set -x
cd ext
INSTALL_ROOT="${{targets.destdir}}" DESTDIR="${{targets.destdir}}" make install
subpackages:
- name: ${{package.name}}-config
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}/etc/php/conf.d"
echo "extension=opentelemetry.so" > "${{targets.subpkgdir}}/etc/php/conf.d/opentelemetry.ini"
update:
enabled: true
github:
identifier: open-telemetry/opentelemetry-php-instrumentation