Skip to content

Commit

Permalink
php-blackfire: init at 1.92.10
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Mar 26, 2024
1 parent e1ef482 commit 2208988
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 0 deletions.
45 changes: 45 additions & 0 deletions php-8.1-blackfire.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package:
name: php-8.1-blackfire
version: 1.92.10
epoch: 0
description: "Blackfire PHP Probe"
copyright:
- license: Proprietary
dependencies:
runtime:
- ${{package.name}}-config
- php-8.1

environment:
contents:
packages:
- busybox
- wget

pipeline:
- name: Download
runs: |
ARCH=amd64
if [[ "${{build.arch}}" == "aarch64" ]]; then
ARCH=arm64
fi
wget -O blackfire.so "https://packages.blackfire.io/binaries/blackfire-php/${{package.version}}/blackfire-php-linux_$ARCH-php-81.so"
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp blackfire.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
45 changes: 45 additions & 0 deletions php-8.2-blackfire.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package:
name: php-8.2-blackfire
version: 1.92.10
epoch: 0
description: "Blackfire PHP Probe"
copyright:
- license: Proprietary
dependencies:
runtime:
- ${{package.name}}-config
- php-8.2

environment:
contents:
packages:
- busybox
- wget

pipeline:
- name: Download
runs: |
ARCH=amd64
if [[ "${{build.arch}}" == "aarch64" ]]; then
ARCH=arm64
fi
wget -O blackfire.so "https://packages.blackfire.io/binaries/blackfire-php/${{package.version}}/blackfire-php-linux_$ARCH-php-82.so"
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp blackfire.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
45 changes: 45 additions & 0 deletions php-8.3-blackfire.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package:
name: php-8.3-blackfire
version: 1.92.10
epoch: 0
description: "Blackfire PHP Probe"
copyright:
- license: Proprietary
dependencies:
runtime:
- ${{package.name}}-config
- php-8.3

environment:
contents:
packages:
- busybox
- wget

pipeline:
- name: Download
runs: |
ARCH=amd64
if [[ "${{build.arch}}" == "aarch64" ]]; then
ARCH=arm64
fi
wget -O blackfire.so "https://packages.blackfire.io/binaries/blackfire-php/${{package.version}}/blackfire-php-linux_$ARCH-php-83.so"
- name: Copy
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp blackfire.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

0 comments on commit 2208988

Please sign in to comment.