action #105010
Updated by JERiveraMoya over 2 years ago
### Motivation
After discussion with developers, it would be a good idea to make more visible to openQA reviewers the versions of the packages for the build.
It would help a bug author to check quickly without extract y2logs if the bug is fixed or not for a particular version.
### Acceptance Criteria
**AC1**: Upload file with the package versions located during installation in `/.package.root`.
**AC2**: Consider whether updload it always or just when the job fails.
**AC3**: Investigate about file `rpm-qa` with package version in the installed system and file a ticket to implement similar approach (if it is not trivial and can be done in this ticket)
### Additional info
YaST saves with `save_y2logs` this file as `_packages.root` but it is just [copying it](https://github.com/yast/yast-yast2/blob/4f0560a55f0b4ece41ed50063fd7baf00cd8eedc/scripts/save_y2logs#L109).
`rpm-qa` it should be similar but we should not fail when not finding one or the other, or we will need to distinguish between both cases.