Skip to content
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

Merged

Conversation

rvykydal
Copy link
Contributor

No description provided.

@pep8speaks
Copy link

pep8speaks commented Oct 10, 2023

Hello @rvykydal! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2023-10-11 06:04:04 UTC

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').")
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@rvykydal rvykydal force-pushed the webui-check-payload-image-file-existence branch from 7618f1f to 08fee4c Compare October 11, 2023 06:03
@rvykydal
Copy link
Contributor Author

/kickstart-test --waive webui-only

Copy link
Contributor

@M4rtinK M4rtinK left a 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! :)

@rvykydal rvykydal merged commit 430368a into rhinstaller:master Oct 11, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants