-
Notifications
You must be signed in to change notification settings - Fork 108
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
Simple example of running pbench agent in a container #3259
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.
I don't know that you were expecting any review, but I think this is good.
I just noted a few things that I ran into using this, today.
Thanks for the review! PRs to address these and other changes folks would want are welcome! |
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.
Converted back to Draft
mode until PR #3264 lands to provide generation of a pbench token to a file.
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.
If generate-token will write to a file, will results-move read from it?
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.
This looks great (although, I did find one typo, and I have a couple of suggestions).
Perhaps independent of this PR, we should seriously consider setting up the Agent containers with entrypoints which point to a wrapper script which executes /opt/pbench-agent/profile
before executing the requested command, so that that environment is always in place for commands run inside the container (and so that we don't have to do it in every script).
We want to make it as easy for the user to do this as possible. The new `README.md` describes the steps, which are just running `./setup.sh` and executing `example-driver.sh`.
I cleaned up all |
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.
👍
Note that this PR assumes the Pbench Agent used includes the work from PR #3264.