feat(integration): add Gerrit option to activate the edit mode

Signed-off-by: Andy LADJADJ <andy.ladjadj@adevinta.com>
This commit is contained in:
Andy LADJADJ
2025-01-17 16:02:45 +01:00
parent d651ce7462
commit f134cea34c
9 changed files with 107 additions and 9 deletions
+2
View File
@@ -22,6 +22,7 @@ integrations:
gitilesBaseUrl: https://gerrit.company.com/gitiles
baseUrl: https://gerrit.company.com/gerrit
cloneUrl: https://gerrit.company.com/clone
enableEditUrl: true
username: ${GERRIT_USERNAME}
password: ${GERRIT_PASSWORD}
```
@@ -37,6 +38,7 @@ a structure with up to six elements:
address here. This is the address that you would open in a browser.
- `cloneUrl` (optional): The base URL for HTTP clones. Will default to `baseUrl` if
not set. The address used to clone a repo is the `cloneUrl` plus the repo name.
- `enableEditUrl` (optional): Activate the edit mode for Gerrit >= 3.9
- `username` (optional): The Gerrit username to use in API requests. If
neither a username nor password are supplied, anonymous access will be used.
- `password` (optional): The password or http token for the Gerrit user.