Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3622

Zip and upload data-directory to Indi Engine logger after pipeline completion

    XMLWordPrintable

Details

    • High
    • Translate5 instance logger improvements.

    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:

      1. 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
      2. 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

      Attachments

        Activity

          People

            pavelperminov Pavel Perminov
            pavelperminov Pavel Perminov
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: