-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emit a warning when and/or groups are combined with HW requirements #3582
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks for improving this! Seems that valid hardware
in the test also complains. Plus warnign
typo in the commit summary. Could you please update the commit message so that the summary is not split in the middle of a word? Thanks.
rlAssertGrep "is not valid under any of the given schemas" $rlRun_LOG | ||
|
||
rlRun -s "tmt -vv plan show /plan/or-does-not-combine" | ||
rlAssertGrep "is not valid under any of the given schemas" $rlRun_LOG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to include at least one positive test as well. Here, the invalid under any
message is given even for a valid hardward
config. Seems we need to explicitly mention how: artemis
or update the tmt/schemas/provision/virtual.yaml
schema to reference hardware
as well. Probably the second would be better as virtual
should already accept many hardware keys?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a positive test, and the fix for virtual
is indeed needed, #3585
9465352
to
bf12610
Compare
/packit build |
bf12610
to
321b19b
Compare
Pull Request Checklist