Red Hat Bugzilla – Bug 961277
RFE: Accept job containing tasks that are not in task library if alternative harness is specified for this job
Last modified: 2018-02-05 19:41:31 EST
Created attachment 745609 [details]
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):
Steps to Reproduce:
1.Schedule job with attached job XML.
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.
Beaker should accept this job because this job uses alternative harness that downloads tasks from git and not from beaker task library.
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">
I really hope this can be added to 1.0
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":
and implemented in the 0.16 release: bug 1057459.
*** This bug has been marked as a duplicate of bug 1057459 ***