commit | 2ccaaa5896d6065dc39c0407eb2c1c214d8803f9 | [log] [tgz] |
---|---|---|
author | Matthias Sohn <matthias.sohn@sap.com> | Tue Dec 19 00:50:10 2023 +0100 |
committer | Matthias Sohn <matthias.sohn@sap.com> | Fri Jan 12 14:28:00 2024 +0100 |
tree | 1bf28fec50dbdb8e4df93e72b1a48741e96ced35 | |
parent | 4eb9ae135b88549b127dbe3e02a233f08b7bab6d [diff] |
Clone: configure pushUrl if sshdAdvertisedPrimaryAddress is set The new option `plugin.download-commands.sshdAdvertisedPrimaryAddress` specifies the address clients should be configured to reach a primary Gerrit instance. This may differ from `sshd.listenAddress` if fetch is served from another address. An example is a setup where upload-pack requests are served by a Gerrit replica and receive-pack by a Gerrit primary. Since ssh cannot be load balanced on layer 7 the addresses of the primary and replica need to be different. Configure `remote.origin.pushUrl` in the clone command installing the commit-msg hook which is typically used if the client is used to push new changes. Change-Id: I69a271c55fe53a4d1c01b5f24f1a6fd8313e7ba8
All documentation may be found under src/main/resources/Documentation/.