Trust user in Gerrit docker setup

Add --dev parameter into Gerrit site initialization command to enable
login with initialized user. Enable trustContainerAuth setting in
Gerrit config to authenticate user over http traffic for git. In this
case, Gerrit trusts any registered user. Initially Gerrit trusts admin
user because it is created by default. It is not requried to generate
http password for the user.

This is useful for automation, when using the docker solution in
gc-conductor plugin, introduced in [1].

[1] https://gerrit-review.googlesource.com/c/plugins/gc-conductor/+/338374

Feature: Issue 16096
Change-Id: Ia8bb7a03661dcab035f4f95d33bb7c8222653552
2 files changed
tree: a6e3d5518d7f97fa7af4e34628ca5ae3f9146f94
  1. .settings/
  2. bin/
  3. src/
  4. .gitignore
  5. BUILD
  6. external_plugin_deps.bzl
  7. LICENSE