-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ab483a
commit 468f2dc
Showing
2 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
schemaVersion: "1.0.0" | ||
fileExistenceTests: | ||
- name: php-fpm executable | ||
path: '/usr/local/sbin/php-fpm' | ||
shouldExist: true | ||
- name: php executable | ||
path: '/usr/local/bin/php' | ||
shouldExist: true | ||
- name: 'Composer 755' | ||
path: '/usr/bin/composer' | ||
shouldExist: true | ||
permissions: '-rwxr-xr-x' | ||
- name: 'PHP Entry point 775' | ||
path: '/usr/local/bin/docker-php-entrypoint' | ||
shouldExist: true | ||
permissions: '-rwxrwxr-x' | ||
commandTests: | ||
- name: arch | ||
command: [ "uname", "-m" ] | ||
expectedOutput: [ "x86_64" ] | ||
- name: php-fpm version | ||
command: [ "/usr/local/sbin/php-fpm", "--version" ] | ||
expectedOutput: [ "PHP 8.3" ] | ||
- name: php-fpm-modules | ||
command: [ "/usr/local/sbin/php-fpm", "-m" ] | ||
expectedOutput: | ||
- 'apcu' | ||
- 'cgi-fcgi' | ||
- 'Core' | ||
- 'ctype' | ||
- 'curl' | ||
- 'date' | ||
- 'dom' | ||
- 'exif' | ||
- 'fileinfo' | ||
- 'filter' | ||
- 'gd' | ||
- 'hash' | ||
- 'iconv' | ||
- 'intl' | ||
- 'json' | ||
- 'libxml' | ||
- 'mbstring' | ||
- 'mysqlnd' | ||
- 'openssl' | ||
- 'pcre' | ||
- 'PDO' | ||
- 'pdo_mysql' | ||
- 'Phar' | ||
- 'posix' | ||
- 'readline' | ||
- 'Reflection' | ||
- 'session' | ||
- 'SimpleXML' | ||
- 'sodium' | ||
- 'SPL' | ||
- 'standard' | ||
- 'tokenizer' | ||
- 'xml' | ||
- 'xmlreader' | ||
- 'xmlwriter' | ||
- 'Zend OPcache' | ||
- 'zip' | ||
- 'zlib' | ||
- name: php-cli version | ||
command: [ "/usr/local/bin/php", "--version" ] | ||
expectedOutput: [ "PHP 8.3" ] | ||
- name: config-files | ||
command: [ "/usr/local/bin/php", "--ini" ] | ||
expectedOutput: | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-exif.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-gd.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-intl.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-zip.ini' | ||
- name: php-cli extensions | ||
command: [ "/usr/local/bin/php", "-m" ] | ||
expectedOutput: | ||
- 'apcu' | ||
- 'Core' | ||
- 'ctype' | ||
- 'curl' | ||
- 'date' | ||
- 'dom' | ||
- 'exif' | ||
- 'fileinfo' | ||
- 'filter' | ||
- 'gd' | ||
- 'hash' | ||
- 'iconv' | ||
- 'intl' | ||
- 'json' | ||
- 'libxml' | ||
- 'mbstring' | ||
- 'mysqlnd' | ||
- 'openssl' | ||
- 'pcre' | ||
- 'PDO' | ||
- 'pdo_mysql' | ||
- 'Phar' | ||
- 'posix' | ||
- 'readline' | ||
- 'Reflection' | ||
- 'session' | ||
- 'SimpleXML' | ||
- 'sodium' | ||
- 'SPL' | ||
- 'standard' | ||
- 'tokenizer' | ||
- 'xml' | ||
- 'xmlreader' | ||
- 'xmlwriter' | ||
- 'Zend OPcache' | ||
- 'zip' | ||
- 'zlib' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
schemaVersion: "1.0.0" | ||
fileExistenceTests: | ||
- name: php-fpm executable | ||
path: '/usr/local/sbin/php-fpm' | ||
shouldExist: true | ||
- name: php executable | ||
path: '/usr/local/bin/php' | ||
shouldExist: true | ||
- name: 'Composer 755' | ||
path: '/usr/bin/composer' | ||
shouldExist: true | ||
permissions: '-rwxr-xr-x' | ||
- name: 'PHP Entry point 775' | ||
path: '/usr/local/bin/docker-php-entrypoint' | ||
shouldExist: true | ||
permissions: '-rwxrwxr-x' | ||
commandTests: | ||
- name: arch | ||
command: [ "uname", "-m" ] | ||
expectedOutput: [ "aarch64" ] | ||
- name: php-fpm version | ||
command: [ "/usr/local/sbin/php-fpm", "--version" ] | ||
expectedOutput: [ "PHP 8.3" ] | ||
- name: php-fpm-modules | ||
command: [ "/usr/local/sbin/php-fpm", "-m" ] | ||
expectedOutput: | ||
- 'apcu' | ||
- 'cgi-fcgi' | ||
- 'Core' | ||
- 'ctype' | ||
- 'curl' | ||
- 'date' | ||
- 'dom' | ||
- 'exif' | ||
- 'fileinfo' | ||
- 'filter' | ||
- 'gd' | ||
- 'hash' | ||
- 'iconv' | ||
- 'intl' | ||
- 'json' | ||
- 'libxml' | ||
- 'mbstring' | ||
- 'mysqlnd' | ||
- 'openssl' | ||
- 'pcre' | ||
- 'PDO' | ||
- 'pdo_mysql' | ||
- 'Phar' | ||
- 'posix' | ||
- 'readline' | ||
- 'Reflection' | ||
- 'session' | ||
- 'SimpleXML' | ||
- 'sodium' | ||
- 'SPL' | ||
- 'standard' | ||
- 'tokenizer' | ||
- 'xml' | ||
- 'xmlreader' | ||
- 'xmlwriter' | ||
- 'Zend OPcache' | ||
- 'zip' | ||
- 'zlib' | ||
- name: php-cli version | ||
command: [ "/usr/local/bin/php", "--version" ] | ||
expectedOutput: [ "PHP 8.3" ] | ||
- name: config-files | ||
command: [ "/usr/local/bin/php", "--ini" ] | ||
expectedOutput: | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-apcu.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-exif.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-gd.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-intl.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-opcache.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-pdo_mysql.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-sodium.ini' | ||
- '/usr/local/etc/php/conf.d/docker-php-ext-zip.ini' | ||
- name: php-cli extensions | ||
command: [ "/usr/local/bin/php", "-m" ] | ||
expectedOutput: | ||
- 'apcu' | ||
- 'Core' | ||
- 'ctype' | ||
- 'curl' | ||
- 'date' | ||
- 'dom' | ||
- 'exif' | ||
- 'fileinfo' | ||
- 'filter' | ||
- 'gd' | ||
- 'hash' | ||
- 'iconv' | ||
- 'intl' | ||
- 'json' | ||
- 'libxml' | ||
- 'mbstring' | ||
- 'mysqlnd' | ||
- 'openssl' | ||
- 'pcre' | ||
- 'PDO' | ||
- 'pdo_mysql' | ||
- 'Phar' | ||
- 'posix' | ||
- 'readline' | ||
- 'Reflection' | ||
- 'session' | ||
- 'SimpleXML' | ||
- 'sodium' | ||
- 'SPL' | ||
- 'standard' | ||
- 'tokenizer' | ||
- 'xml' | ||
- 'xmlreader' | ||
- 'xmlwriter' | ||
- 'Zend OPcache' | ||
- 'zip' | ||
- 'zlib' |