Skip to content

Commit

Permalink
php-8.2-pecl-mongodb/1.20.1 package update (#35347)
Browse files Browse the repository at this point in the history
<p align="center">
<img
src="https://raw.githubusercontent.com/wolfi-dev/.github/b535a42419ce0edb3c144c0edcff55a62b8ec1f8/profile/wolfi-logo-light-mode.svg"
/>
</p>

---------

Signed-off-by: wolfi-bot <[email protected]>
Signed-off-by: Joshua Powers <[email protected]>
Co-authored-by: wolfi-bot <[email protected]>
Co-authored-by: Joshua Powers <[email protected]>
3 people authored Nov 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 51091c5 commit 02b18aa
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions php-8.2-pecl-mongodb.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: php-8.2-pecl-mongodb
version: 1.20.0
epoch: 3
version: 1.20.1
epoch: 0
description: "PHP ${{vars.phpMM}} MongoDB driver - PECL"
copyright:
- license: PHP-3.01
@@ -39,7 +39,7 @@ pipeline:
- uses: fetch
with:
uri: https://pecl.php.net/get/mongodb-${{package.version}}.tgz
expected-sha512: 715b40616c9c61294dc2947ddbc1b2bf2ecac02654fcbcdec5394acf1e44365f1a96f15d3459b57e50fa2f125f44d406d7bdb6306c13b9ffa892686c4cdc3cee
expected-sha512: bb1914d6adcdbf8a3b3c513cb59119b09379d00c5736bff4622d578e616d5f85c79f2a54be7bb03fd6feb3f7c491ad34bdcfc66d929ee4bb4fcb26cf77668df4

- name: phpize and configure
runs: |
@@ -56,6 +56,27 @@ pipeline:
- uses: strip

test:
environment:
contents:
packages:
- php-${{vars.phpMM}}
pipeline:
- name: Verify Extension is Loaded
runs: |
echo "<?php
if (!extension_loaded('mongodb')) {
die('The MongoDB PHP extension is not loaded. Please install or enable it.\n');
}
?>" > test.php
php test.php
if [ $? -ne 0 ]; then
echo "Test failed: Unable to use mongodb extension."
exit 1
else
echo "Test passed: mongodb extension is functional."
fi
update:
enabled: true
release-monitor:

0 comments on commit 02b18aa

Please sign in to comment.