Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 125 additions & 5 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -763,13 +763,133 @@ dependencies:
- name: zlib
version:
- name: php
version: 8.4.21
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.4.21_linux_x64_cflinuxfs4_cae162ac.tgz
sha256: cae162acf8680b4ef36a4edaeb3d8d86b0cb5e91ba03680272d2a0600128a233
version: 8.4.23
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.4.23_linux_x64_cflinuxfs4_fae098d7.tgz
sha256: fae098d71238ed163753790ee88f5eddfe6c13838f14d1e169d16389fe903726
cf_stacks:
- cflinuxfs4
source: https://php.net/distributions/php-8.4.21.tar.gz
source_sha256: db96ee0a8e5ee7b73a4913a2aeddc162ba2ef16cd34b9347b5b9a6150e1f8e48
source: https://php.net/distributions/php-8.4.23.tar.gz
source_sha256: f43b69572cabfb91c023356f3ce197c782d8a255bc084c1a6af58c0e86cf7573
dependencies:
- name: amqp
version: 2.1.2
- name: apcu
version: 5.1.28
- name: bz2
version:
- name: curl
version:
- name: dba
version:
- name: enchant
- name: exif
version:
- name: fileinfo
version:
- name: ftp
version:
- name: gd
- name: gettext
version:
- name: gmp
version:
- name: igbinary
version: 3.2.15
- name: imagick
version: 3.7.0
- name: ioncube
version: 15.5.0
- name: ldap
version:
- name: lzf
version:
- name: mailparse
version: 3.1.6
- name: maxminddb
version: 1.11.1
- name: mbstring
version:
- name: memcached
version: 3.2.0
- name: mongodb
version: 2.2.1
- name: msgpack
version: 2.2.0
- name: mysqli
version:
- name: oauth
version: 2.0.10
- name: opcache
version:
- name: openssl
version:
- name: pcntl
version:
- name: pdo
version:
- name: pdo_firebird
- name: pdo_mysql
version:
- name: pdo_odbc
- name: pdo_pgsql
version:
- name: pdo_sqlite
version:
- name: pdo_sqlsrv
version: 5.12.0
- name: pgsql
version:
- name: phpiredis
version: 1.0.1
- name: psr
version: 1.2.0
- name: rdkafka
version: 6.0.3
- name: readline
- name: redis
version: 6.1.0
- name: shmop
version:
- name: snmp
- name: soap
version:
- name: sockets
version:
- name: sodium
- name: solr
version: 2.9.3
- name: sqlsrv
version: 5.12.0
- name: ssh2
version: 1.4.1
- name: stomp
version: 2.0.3
- name: sysvmsg
version:
- name: sysvsem
version:
- name: sysvshm
version:
- name: tidy
- name: xdebug
version: 3.4.0
- name: xsl
version:
- name: yaf
version: 3.3.7
- name: yaml
version: 2.2.3
- name: zip
- name: zlib
version:
- name: php
version: 8.4.23
uri: https://buildpacks.cloudfoundry.org/dependencies/php/php_8.4.23_linux_x64_cflinuxfs5_6452c8c8.tgz
sha256: 6452c8c8ad2c355710e2131a989788e84c100022742e3e6b33644fdaabb12cab
cf_stacks:
- cflinuxfs5
source: https://php.net/distributions/php-8.4.23.tar.gz
source_sha256: f43b69572cabfb91c023356f3ce197c782d8a255bc084c1a6af58c0e86cf7573
dependencies:
- name: amqp
version: 2.1.2
Expand Down
12 changes: 4 additions & 8 deletions src/php/unit/unit_suite_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package unit_test

import (
"context"
"os/exec"
"time"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"

"testing"
)
Expand All @@ -17,11 +17,7 @@ func TestUnit(t *testing.T) {
}

func IsDockerAvailable() bool {
cmd := exec.Command("docker", "system", "info")

session, err := gexec.Start(cmd, nil, nil)
Expect(err).ToNot(HaveOccurred())

session.Wait(5 * time.Second)
return session.ExitCode() == 0
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
return exec.CommandContext(ctx, "docker", "system", "info").Run() == nil
}
Loading