-
Notifications
You must be signed in to change notification settings - Fork 449
Support ssh as arbitrary users, add e2e for SSH #218
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
Conversation
f3e9c63 to
efa31fa
Compare
|
PTAL |
|
I want to cut a release today/tomorrow and I'd like this in, if you can find 10 minutes to review. Hopefully easy. |
_test_tools/sshd/Dockerfile
Outdated
| # manage permissions. | ||
| VOLUME /dot_ssh | ||
|
|
||
| # Callers can SSh as user "test" |
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: SSH
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
Just the nit above seems a thing to fix.
|
Small nit as suggested by @erbesharat: |
This requires having a docker image for git-over-ssh.
|
New changes are detected. LGTM label has been removed. |
|
These calls happen exactly once (and on linux, they should be a vsyscall anyway, if it is supported). |
|
Agreed not necessary, just an interesting suggestion nonetheless. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stp-ip The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This adds a --add-user flag to write UID and GID to /etc/passwd, and then adds a test for
--ssh. Hopefully this can be a blueprint for other test cases.Fixes #176
Fixes #195
Fixes #215