lp://qastaging/~zyga/checkbox/fix-1299210
- Get this branch:
- bzr branch lp://qastaging/~zyga/checkbox/fix-1299210
Branch merges
- Daniel Manrique (community): Approve
-
Diff: 393 lines (+135/-91)6 files modifiedcheckbox-ng/checkbox_ng/commands/cli.py (+15/-33)
plainbox/plainbox/abc.py (+33/-0)
plainbox/plainbox/impl/commands/run.py (+4/-21)
plainbox/plainbox/impl/commands/test_run.py (+9/-21)
plainbox/plainbox/impl/ctrl.py (+33/-0)
plainbox/plainbox/impl/runner.py (+41/-16)
Related bugs
Related blueprints
Branch information
Recent revisions
- 3001. By Zygmunt Krynicki
-
plainbox:runner: drop authenticate_
warmup( ) This method is now entirely replaced by IJobRunner.
get_warm_ up_sequence( ) Signed-off-by: Zygmunt Krynicki <email address hidden>
- 3000. By Zygmunt Krynicki
-
plainbox:
commands: run: remove RunInvocation. _auth_warmup_ needed( ) This patch removes the now-obsolete _auth_warmup_
needed( ) method.
The responsibility and internal knowledge of that method is now
present in execution controllers.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2999. By Zygmunt Krynicki
-
checkbox-
ng:commands: cli: remove CliInvocation. _auth_warmup_ needed( ) This method is now obsolete and is no longer being called by the
authentication code.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2998. By Zygmunt Krynicki
-
checkbox-
ng:commands: cli: use get_warm_ up_sequence This patch replaces the authenticate_warmup function with the
new runner.get_warm_ up_sequence( ) method. Failure of authentication
warm-up no longer prevents the tests from proceeding as the user may
still correct the situation on each subsequent prompt.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2997. By Zygmunt Krynicki
-
checkbox-
ng:commands: cli: refactor CliInvocation This patch moves construction of JobRunner from _run_jobs() to the main
method. Subsequent patches require that the runner object is available
early in run().Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2996. By Zygmunt Krynicki
-
plainbox:
commands: run: simplify tests related to auth warmup Since now the results are deterministic (in the tested case) we don't
need to check for one of two possible results.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2995. By Zygmunt Krynicki
-
plainbox:abc: add IJobRunner.
get_warm_ up_sequence( ) Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2994. By Zygmunt Krynicki
-
plainbox:
commands: run: use runner. get_warm_ up_sequence( ) This patch uses the new execution-
controller- aware method to do warm-up
authentication in the implementation of `plainbox run`.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2993. By Zygmunt Krynicki
-
plainbox:runner: add JobRunner.
get_warm_ up_sequence( ) This patch adds a method that returns a list of warm-up callable hint
methods that should be called before running any of the jobs specified
as argument.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2992. By Zygmunt Krynicki
-
plainbox:runner: split off _get_ctrl_for_job() from _run_extcmd()
This patch splits off a method to get an execution controller suitable
for a specific job into its own method (away from _run_extcmd()) as
we need that fuctionality in an upcoming patchSigned-off-by: Zygmunt Krynicki <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/checkbox