mirror of
https://github.com/bitnami/containers.git
synced 2026-03-27 07:17:59 +08:00
[bitnami/symfony] Add VIB tests (#30019)
* [bitnami/symfony] Add VIB tests Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add triggers Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix VIB pipeline Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix test 'composer --help' Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix test 'composer --help' allow as root Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove composer version test Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add common/check-php-fpm.yaml Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add symfony base dir Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Add links-to Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove gosu Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove triggers Signed-off-by: Miguel Ruiz <miruiz@vmware.com> --------- Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
42
.vib/common/goss/templates/check-php-fpm.yaml
Normal file
42
.vib/common/goss/templates/check-php-fpm.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
file:
|
||||
/opt/bitnami/php/etc/php.ini:
|
||||
exists: true
|
||||
contains:
|
||||
- /^opcache.interned_strings_buffer = 16/
|
||||
- /^opcache.memory_consumption = 192/
|
||||
- /^opcache.file_cache = \/opt\/bitnami\/php\/var\/run\/opcache_file/
|
||||
- /^upload_tmp_dir = \/opt\/bitnami\/php\/tmp/
|
||||
- /^session.save_path = \/opt\/bitnami\/php\/var\/run\/session/
|
||||
- /^error_log = \/dev\/stderr/
|
||||
/opt/bitnami/php/etc/php-fpm.d/www.conf:
|
||||
exists: true
|
||||
contains:
|
||||
- /^listen = \/opt\/bitnami\/php\/var\/run\/www.sock/
|
||||
/opt/bitnami/php/logs/php-fpm.log:
|
||||
exists: true
|
||||
filetype: symlink
|
||||
linked-to: /dev/stdout
|
||||
/opt/bitnami/php/etc/common.conf.disabled:
|
||||
exists: true
|
||||
filetype: file
|
||||
/opt/bitnami/php/etc:
|
||||
exists: true
|
||||
filetype: directory
|
||||
mode: "0775"
|
||||
/opt/bitnami/php/tmp:
|
||||
exists: true
|
||||
filetype: directory
|
||||
mode: "0775"
|
||||
/opt/bitnami/php/var/run:
|
||||
exists: true
|
||||
filetype: directory
|
||||
mode: "0775"
|
||||
/opt/bitnami/php/logs:
|
||||
exists: true
|
||||
filetype: directory
|
||||
mode: "0775"
|
||||
/opt/bitnami/php/var/run/session:
|
||||
exists: true
|
||||
filetype: directory
|
||||
mode: "0775"
|
||||
|
||||
Reference in New Issue
Block a user