Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/matomo] Fix tests for Matomo 5.1.0 #67885

Merged
merged 1 commit into from
Jun 17, 2024
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
1 change: 1 addition & 0 deletions .vib/matomo/goss/goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
11 changes: 2 additions & 9 deletions .vib/matomo/goss/matomo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions .vib/matomo/goss/vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading