-
Notifications
You must be signed in to change notification settings - Fork 354
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
webui: check existence of payload image when running testing VM #5244
webui: check existence of payload image when running testing VM #5244
Conversation
ui/webui/test/machine_install.py
Outdated
payload_cached_name, http_payload_port = self._serve_payload() | ||
payload_path = os.path.join(BOTS_DIR, "./images/fedora-rawhide-anaconda-payload") | ||
if not os.path.exists(payload_path): | ||
raise FileNotFoundError(f"Missing payload file {payload_path}. (Maybe try running 'make payload').") |
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.
Perfect - just I would be more assertive on the suggestion.
raise FileNotFoundError(f"Missing payload file {payload_path}; use 'make payload').")
Not strong opinion though.
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.
updated
Resolves: INSTALLER-3628
7618f1f
to
08fee4c
Compare
/kickstart-test --waive webui-only |
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.
Looks good to me as well - nice improvement! :)
No description provided.