kubevirt
kubevirt copied to clipboard
code cleanup: Use libvmi builder pattern instead of NewRandomVMI function
Add options to libvmi in order to use libvmi builder pattern in functional tests instead of NewRandomVMI functions.
What this PR does / why we need it:
Using libvmi instead of NewRandomVMI functions.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE
/sig code-quality
@Barakmor1 can you please change the PR title to something like Add libvmi options for CPU resources, SerialBIOS and ClientPassthrough
?
/retest
/lgtm
/retest
@dankenigsberg @xpivarc Removed the new Option and created local function instead.
/retest
/retest
/retest
/retest-required
/retest-required
This bot automatically retries required jobs that failed/flaked on approved PRs.
Silence the bot with an /lgtm cancel
or /hold
comment for consistent failures.
Hey @dankenigsberg , I had to rebase. Can you have another look please ?
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: enp0s3
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~tests/OWNERS~~ [enp0s3]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
Thanks @Barakmor1! /lgtm
/retest-required
This bot automatically retries required jobs that failed/flaked on approved PRs.
Silence the bot with an /lgtm cancel
or /hold
comment for consistent failures.
@Barakmor1: The following test failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
pull-kubevirt-fossa | 1d1ca9812de39f854e3e5ea8b753d7f3ec49d770 | link | false | /test pull-kubevirt-fossa |
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.
/retest-required
This bot automatically retries required jobs that failed/flaked on approved PRs.
Silence the bot with an /lgtm cancel
or /hold
comment for consistent failures.