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

Usage - commitLock with ssh #123

Closed
vivsrivastav opened this issue Jun 21, 2017 · 4 comments
Closed

Usage - commitLock with ssh #123

vivsrivastav opened this issue Jun 21, 2017 · 4 comments

Comments

@vivsrivastav
Copy link

vivsrivastav commented Jun 21, 2017

I wonder if gradlew commitLock works with ssh keys

Am trying to automate the process of generating the lock file, build and test the application with upgraded dependencies. I can manually commit the files by executing gradlew commitLock from command prompt.

But my use case is to commit the lock file without any human intervention. Wonder if this is possible with nebula.gradle-git-scm and commitLock for a git repository that is configured to use SSH keys for commits?
Let me know if there is any documentation for SSH usage of commitLock ?

@rspieldenner
Copy link
Contributor

rspieldenner commented Jun 22, 2017 via email

@vivsrivastav
Copy link
Author

Yes i can clone git over ssh without a prompt. In fact i am using ssh_auth_sock. I was able to make it work by invoking git commands directly (ssh_auth_sock git add, ssh_auth_sock git commit, ssh_auth_sock git push). Not sure if ssh_auth_sock ./gradlew commitLock will propagate the auth sock variable to every git command executed by commitLock.
I will give a try

@rspieldenner
Copy link
Contributor

rspieldenner commented Jun 26, 2017 via email

@rpalcolea
Copy link
Member

closing due to lack of activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants