Integrate gitlab-ci/Report-Automation and 1 more
requested to merge integrate/gitlab-ci/Report-Automation/into/seco/kirkstone/develop into seco/kirkstone/develop
Commit: clea-os/infrastructure/gitlab-ci@23d2670f
[Report Pipeline] add automatic test reports in the pipeline
- Introduce 'report' stage in Clea OS pipeline leveraging results from LAVA tests to automatically fill Confluence test report.
- The job only executes the 'log_parser.py' script that creates the Confluence page and the report.pdf file to be uploaded as job artifact.
- The 'report' stage follows the same trigger rules as the 'test' one."
--
Commit: clea-os/infrastructure/gitlab-ci@d7f946ee
[LogParser] add logparser script This script allows to leverage Confluence APIs to perform the following actions:
- Get the plain text log of a LAVA job triggered from the pipeline.
- Get from LAVA's SystemTest and Script tests: their name, log and result from the plain text log.
- Fill,via it's python API,a Confluence report template with:
- the LAVA test results as described in the previous point.
- the Device Under Test's hardware and software informations (OS and Test executable's versions).
- the Gitlab pipeline and LAVA job that generated that report.
- Export the report in PDF format using Scroll PDF Exporter using the request's body json stored under .gitlab_ci/data that contains the informations
to export it with the right format