mirror of
https://github.com/bitnami/containers.git
synced 2026-02-10 20:17:34 +08:00
[bitnami/matomo] Fix tests for Matomo 5.1.0 (#67885)
Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
@@ -5,6 +5,7 @@ gossfile:
|
||||
# Goss tests exclusive to the current container
|
||||
../../matomo/goss/matomo.yaml: {}
|
||||
# Load scripts from .vib/common/goss/templates
|
||||
../../common/goss/templates/check-app-version.yaml: {}
|
||||
../../common/goss/templates/check-apache-libphp.yaml: {}
|
||||
../../common/goss/templates/check-binaries.yaml: {}
|
||||
../../common/goss/templates/check-broken-symlinks.yaml: {}
|
||||
|
||||
@@ -33,15 +33,8 @@ file:
|
||||
/opt/bitnami/matomo/.buildcomplete:
|
||||
exists: false
|
||||
command:
|
||||
# Since it is not done with sudo, the exit code is 1
|
||||
check-app-version:
|
||||
exec: php /opt/bitnami/matomo/console --version
|
||||
exit-status: 1
|
||||
stdout:
|
||||
- "{{ .Env.APP_VERSION }}"
|
||||
# Since it is not done with sudo, the exit code is 1
|
||||
check-app-run:
|
||||
exec: php /opt/bitnami/matomo/console config:get --section=database
|
||||
exit-status: 1
|
||||
exit-status: 0
|
||||
stdout:
|
||||
- "Mysql"
|
||||
- "Mysql"
|
||||
|
||||
@@ -19,4 +19,7 @@ files:
|
||||
- paths:
|
||||
- /opt/bitnami/matomo/piwik.js
|
||||
- /opt/bitnami/matomo/piwik.php
|
||||
version:
|
||||
bin_name: php /opt/bitnami/matomo/console
|
||||
flag: --version
|
||||
root_dir: /opt/bitnami
|
||||
|
||||
Reference in New Issue
Block a user