Closed Tiboris closed 3 years ago
FYI, latest update worked for my use case:
Metadata:
provider: beaker
beaker:
hostRequires:
_force: "somehostname"
Beaker job xml:
<hostRequires force="somehostname"/>
Hi, thanks for the PR. Mostly looks good to me. It would be good to include also unit tests for _req_to_bkr_job
method with several variations of prov config and host metadata - testing multiple cases.
_
and when not.
mrack now supports the hostRequires in the host metadata or default in provisioning config yaml.
NOTE CASE MATTERS:
The hostRequires for the host should look like following:
Which will result into following xml for the job specification:
and such requirement will be uploaded to the beaker hub and schedule a job with this requirements.
Signed-off-by: Tibor Dudlák tdudlak@redhat.com