- Slight improvements in taskotron.yaml documentation.
- Removal of SSH section from taskotron.yaml, because using it from the cmdline should be enough for now, and we can add more features if somebody really needs it.
- Moved ssh_privkey to Secrets section and made sure this key is named the same way everywhere in the code.
- Moved checking valid config values into _check_sanity() function.
- Throw an error when invalid profile name is specified, to make it in line with invalid runtask mode specified.
- Rework a bit local/remote execution decision code. Move closer to our final state, where --ssh execution is a bit different from --libvirt execution (throw 'not implemented' for --libvirt for now).
- Add a few tests.
Details
Details
- Reviewers
lbrabec tflink - Maniphest Tasks
- T408: refine formula syntax from PoC
- Commits
- rLTRN8621baa4b112: adjust --ssh implementation and implement --libvirt
test suite works, remote execution works
Diff Detail
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Besides the comment, looks good to me.
libtaskotron/runner.py | ||
---|---|---|
390–400 | Just an idea, changing metavar to /path/to/private.key would be probably more readable and consistent with comments in config |
Just an idea, changing metavar to /path/to/private.key would be probably more readable and consistent with comments in config