Created attachment 745609 [details] job xml Description of problem: Beaker doesn't accept job containing task that are not in task librarary. But if for a job is alternative harness specified (not beah) by adding parameter "harness=..." into ks_meta and this alternative harness uses git for downloading tasks, there is no need to check if this task is in task library. Version-Release number of selected component (if applicable): beaker 0.12.1 How reproducible: always Steps to Reproduce: 1.Schedule job with attached job XML. Actual results: Beaker shows message "Failed to import job because of: u'Invalid task(s): install_log'" because the task "install_log" is not in beaker task library. Expected results: Beaker should accept this job because this job uses alternative harness that downloads tasks from git and not from beaker task library. Additional info:
When I talked to Dan about this we agreed that if a task included a <fetch> node that beaker wouldn't attempt to look it up in it's database. So the following would tell beaker to simply pass the info along to the harness which would install direct from git. <task name="/my/task" role="STANDALONE"> <fetch url="git://git.beaker-project.org/git_repo?branch#path/to/my/task"/> </task> I really hope this can be added to 1.0
Related patches: fetch_url support: http://gerrit.beaker-project.org/2365 Draft external tasks proposal: http://gerrit.beaker-project.org/2366
This was proposed as "External Tasks for Jobs": https://beaker-project.org/dev/proposals/external-tasks.html and implemented in the 0.16 release: bug 1057459. *** This bug has been marked as a duplicate of bug 1057459 ***