tmt
tmt copied to clipboard
Separate `tmt run -i` options for host/guest
Currently, the -i
/ --id
option specifies either a directory name inside /var/tmp/tmt
, or (if starting with /
) a path to a directory anywhere else.
The problem is that this is both a path on the host and the on the guest.
I would like to run tmt run
on the host and tell it to output YAML results (along with test logs) onto a deterministic location, preferably in an existing temporary directory (ie. /tmp/my_orchestrator_tool/tmt
), so I can
- read
/tmp/my_orchestrator_tool/tmt/run.yaml
to figure out the plan path - read
/tmp/my_orchestrator_tool/tmt/plans/$plan_path/execute/results.yaml
and evaluate the results
All that without changing the /var/tmp/tmt/*
path on the guest - I don't care where the test is stored on the guest, but it should probably not be in /tmp
which is lost across reboots.