Ales Komarek | 950e990 | 2016-12-31 13:10:34 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - service.git.client |
| 3 | - service.gerrit.server.single |
| 4 | - service.java.environment |
| 5 | - service.postgresql.server.local |
| 6 | parameters: |
| 7 | _param: |
| 8 | java_environment_platform: openjdk |
| 9 | java_environment_version: "8" |
| 10 | gerrit_auth_type: HTTP |
| 11 | gerrit_server_url: http://${linux:network:fqdn}:8083/ |
| 12 | gerrit: |
| 13 | server: |
| 14 | canonical_web_url: ${_param:gerrit_server_url} |
| 15 | email_private_key: "" |
| 16 | token_private_key: "" |
| 17 | admin: |
| 18 | name: admin |
| 19 | password: ${_param:gerrit_admin_password} |
| 20 | public_key: ${_param:gerrit_admin_public_key} |
| 21 | plugin: |
| 22 | download-commands: |
| 23 | engine: gerrit |
| 24 | # replication: |
| 25 | # engine: gerrit |
| 26 | reviewnotes: |
| 27 | engine: gerrit |
| 28 | singleusergroup: |
| 29 | engine: gerrit |
| 30 | ssh_rsa_key: ${_param:gerrit_admin_private_key} |
| 31 | ssh_rsa_key_pub: ${_param:gerrit_admin_public_key} |
| 32 | email: mail@domain.com |
| 33 | auth: |
| 34 | engine: ${_param:gerrit_auth_type} |
| 35 | source: |
| 36 | engine: http |
| 37 | address: https://gerrit-releases.storage.googleapis.com/gerrit-2.12.4.war |
| 38 | hash: sha256=45786a920a929c6258de6461bcf03ddec8925577bd485905f102ceb6e5e1e47c |
| 39 | # address: https://gerrit-ci.gerritforge.com/job/Gerrit-stable-2.13/20/artifact/buck-out/gen/gerrit.war |
| 40 | # hash: md5=2e17064b8742c4622815593ec496c571 |
Jakub Josef | 37c1424 | 2017-12-15 17:59:40 +0100 | [diff] [blame] | 41 | receive_timeout: 5min |
| 42 | sshd: |
| 43 | threads: 64 |
| 44 | batch_threads: 16 |
| 45 | max_connections_per_user: 64 |
Ales Komarek | 950e990 | 2016-12-31 13:10:34 +0100 | [diff] [blame] | 46 | database: |
| 47 | engine: postgresql |
| 48 | host: localhost |
| 49 | port: 5432 |
| 50 | name: gerrit |
| 51 | user: gerrit |
| 52 | password: ${_param:postgresql_gerrit_password} |
Jakub Josef | 37c1424 | 2017-12-15 17:59:40 +0100 | [diff] [blame] | 53 | pool_limit: 250 |
| 54 | pool_max_idle: 16 |
Jakub Josef | 5b0d12c | 2018-01-09 14:03:58 +0100 | [diff] [blame] | 55 | change_cleanup: |
| 56 | abandon_after: 3months |
Ales Komarek | 950e990 | 2016-12-31 13:10:34 +0100 | [diff] [blame] | 57 | postgresql: |
| 58 | server: |
| 59 | version: "9.5" |
| 60 | database: |
| 61 | gerrit: |
| 62 | enabled: true |
| 63 | encoding: 'UTF8' |
Ivan Udovichenko | 9551def | 2018-07-11 15:42:50 +0300 | [diff] [blame] | 64 | locale: 'en_US' |
Ales Komarek | 950e990 | 2016-12-31 13:10:34 +0100 | [diff] [blame] | 65 | users: |
| 66 | - name: gerrit |
| 67 | password: ${_param:postgresql_gerrit_password} |
| 68 | host: localhost |
| 69 | rights: all privileges |
| 70 | createdb: true |