Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run: do not lock machines if there are no roles
The worker runs the job, even if there are no roles: it is legitimate to run a job that does not need machines. Run only locks machines if there are roles and init_tasks is only populated with tasks that make sense depending on the presence of roles or not. Move the internal task added in suite.py to run.py : there is no reason to not have them with teuthology-run or teuthology-schedule (ansible + clock). Signed-off-by: Loic Dachary <ldachary@redhat.com>
- Loading branch information
Showing
3 changed files
with
35 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters