Details
-
Improvement
-
Resolution: Fixed
-
None
-
High
-
Translate5 instance logger improvements.
-
Empty show more show less
Description
Contents of data/ directory should be zipped and uploaded to Indi Engine logger after Bitbucket pipeline completes, in the same way as it's currently done for the zipped log of the whole docker-compose project which is set up by the pipeline for running the tests.
We have still some PHPUnit tests that are failing when runinng in the cloud environment on bitbucket, but that are not failing when running locally and/or on other translate5 instances, and also we have tests which are failing from time to time with no visible reasons, so the zipped data/ directory will help to investigate this as it contains:
- log/php.log file that may have entries that are not written to the Zf_errorlog-table of translate5-database so those might have explanations but are not available at the moment
- other files and folders created during running the tests
Additional fileupload-field should be created within 'Pipeline run'-entity and zipped data/ directory should be uploaded into there, so that this zip should be shown in a separate column and downloadable in the 'Bitbucket > Pipeline runs' grid