-
Notifications
You must be signed in to change notification settings - Fork 512
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
Enables PKB to run on a windows controller #274
Conversation
test this please. |
1 similar comment
test this please. |
test this please. |
@@ -71,6 +71,34 @@ Before you can run the PerfKit Benchmaker on Cloud providers you need accounts a | |||
You also need the software dependencies, which are mostly command line tools and credentials to access your | |||
accounts without a password. The following steps should help you get the CLI tool auth in place. | |||
|
|||
If you are running on Windows, you will need to install Github Windows |
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.
Will a windows controller work for linux guests? If not, we should call that out.
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.
Yes a windows controller can run benchmarks on linux guests - that's all this PR enables - windows guests will come later.
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.
Ah - okay, thanks.
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.
Nit: GitHub
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.
Done
Looks good. Some small comments. Given that Windows requires some additional prerequisites to be installed, I wonder if we should do a pre-run check for the presence of:
|
fileAdd a gitattributes fileAdd a gitattributes fileAdd a gitattributes fileAdd a gitattributes fileAdd a gitattributes fileAdd a gitattributes file
PTAL |
shell=shell_value, | ||
stdout=subprocess.PIPE, | ||
stderr=subprocess.PIPE) | ||
process.wait() |
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.
Unlikely given the commands used, but this risks deadlock if cmd
produces a lot of output. Prefer check_output, communicate, or opening a handle to os.devnull
and using it for stdout and stderr.
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.
Done
Enables PKB to run on a windows controller
No description provided.