95df6748c8
More recent OpenSSH/OpenSSL versions no longer want to communicate with the mina-sshd in Gerrit 2.11. In order to pave the way for testing on distros new enough to supply Python 3.9 packages, upgrade the version of Gerrit used in the functional testsuite. Because 2.12 and later moved user SSH keys into Git, we can no longer rely on the same gsql bootstrapping method to inject them into the golden site. However, if we init the server in --dev mode, we can use the default admin/secret test administrator account instead of creating a new administrator account ourselves (we just need to post an SSH public key for it to the REST API at runtime). Also stop precreating host keys and running a reindex, partially reverting I1c5db09c53a56ffd856da24decf29566e86f9d87, which we did to keep 2.11 working on some older (but then newer) platforms. Keep the reindexing in the golden site though, as this remains necessary and likely also provides some performance benefits. Add/improve some code comments around relevant bits, so further updates or rewrites will be less of a struggle for maintainers. Change-Id: I1245519d912a385c4b9bd09da1728d9b7933802b |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
cmd.py |