--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Thanks for the tip Luca.Yes, I am trying to automate the installation (in a docker container) such that the resulting container has a local admin user (no web access) that can be used to run commands over ssh (such as add-user or add-groups). I looked at the sources for building the native pkgs (gerrit-installer tools) but they don't seem to do any customization as I'm trying to do.Whats not clear to me is how in DEVELOPMENT_BECOME_ANY_ACCOUNT mode the admin user is able to login via ssh (in order to run the commands) without setting up a keypair. As I see it the builtin ssh server only offers "publickey" as an auth mechanism and I don't see a way to change this via the config. So I guess I'm missing something from what you suggested. Furthermore, its not clear whether API access behaves differently in this auth mode (I'm yet to experiment with it).
So in short, I'm unsure how to create default projects, groups in a scripted fashion (after/during installation) even if I set the auth type to DEVELOPMENT_BECOME_ANY_ACCOUNT.Any pointers/help would be greatly appreciated.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
I am sorry, but I've stucked on this:
I have my gerrit started in development mode (init with --batch and --dev param), but how can I perform any SSH task?
How to get key to admin user?
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
I am sorry, but I've stucked on this:
I have my gerrit started in development mode (init with --batch and --dev param), but how can I perform any SSH task?
How to get key to admin user?
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
If you want to use ssh commands locally, from within the container, you can also use the default user "Gerrit Code Review" and Gerrit's own ssh key {GERRIT_SITE}/etc/ssh_history_rsa (don't know if I recall the name correctly).
Sven Selberg
is the --dev option working in another way in version 2.15? Im stuck on this since days and cant make it work as describe here... no matter what/how i do it, the ssh-keys will not be uploaded to the default/admin user.
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Thank you for the quick answer. Im playing around and its a development environment. Using the flag —dev it sets the auth type as DEVELOPMENT_BECOME_ANY_ACCOUNT, but however it is not uploading the ssh-keys from Gerrits home dir to that user (and because of that im not able to create a Jenkins user into the "non-interactive users“.
I think I tried almost everything but the correct steps -.-