Closed dkubek closed 4 months ago
Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergeable. If you want to request a review or rebuild a package in copr, you can use following commands as a comment:
To launch regression testing public members of oamg organization can leave the following comment:
Please open ticket in case you experience technical problem with the CI. (RH internal only)
Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting leapp-ci build (might require several comments). If the problem persists, contact leapp-infra.
/packit copr-build
rebased to fix the test execution
@dkubek seems good to me :100: I will do some testing yet on rhel8 to be sure and I think we can squash&merge it.
/packit copr-build
Extend leappdb for leapp-inspector
This commit combines multiple additions to the leapp database.
First addition is tracking of entity metadata. The
Metadata
model stores the metadata of entities such asActor
orWorkflow
. This data is stored in a new tablemetadata
of theleapp.db
file.metadata of discovered actors.
For an actor, the metadata stored contain:
workflow metadata.
For a workflow, the metadata stored contain:
name
- name of the workflowshort_name
- short name of the workflowtag
- workflow tagdescription
- workflow descriptionphases
- all phases associated with the workflowNext addition is tracking of dialog question. Previously leapp was not able to detect the actual question asked from the user as it could be generated dynamically when actor is called and depend on the configuration of the user's system.
Last addition includes storing the actor exit status. Exit status is now saved as an audit event
actor-exit-status
. Exit status 0 represents successful execution orStopActorExecution
/StopActorExecutionError
, while 1 indicates an unexpected and unhandled exception.These changes collectively improve the metadata handling capabilities of, ensuring accurate storage and retrieval of essential information for various entities.