Skip to content

Commit

Permalink
Merge pull request #712 from shyim/add-blackfire-84
Browse files Browse the repository at this point in the history
feat: add blackfire for 8.4
  • Loading branch information
shyim authored Jan 16, 2025
2 parents 1389c81 + 66886e2 commit de1527e
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions php-8.4-blackfire.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
package:
name: php-8.4-blackfire
version: 1.92.32
epoch: 0
description: "Blackfire PHP Probe"
copyright:
- license: PROPRIETARY
dependencies:
runtime:
- ${{package.name}}-config
- php-8.4

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-84.so
expected-sha512: aa6755a30c2c7d27ed33c172662fa9a8932043309bb17854443f783af0756d8e89017e0776d86e7de033f98bbfb2a75ad2b737d6eb7bd4e4e3dbf6cf9acdea13
extract: false

- uses: fetch
if: ${{build.arch}} == 'aarch64'
with:
uri: https://packages.blackfire.io/binaries/blackfire-php/${{package.version}}/blackfire-php-linux_arm64-php-84.so
expected-sha512: 32d829a942db74e0ab72ead7c447359f749708317de3145d788a5e6a3150ea2157edbe23616e961a1417f59176c919abb23d5051e0545f578585aaad0e3d3533
extract: false

- name: Copy
if: ${{build.arch}} == 'x86_64'
runs: |
mkdir -p ${{targets.destdir}}/usr/lib/php/modules/
cp blackfire-php-linux_amd64-php-84.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-84.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 de1527e

Please sign in to comment.