Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | classes: |
| 2 | - service.gerrit.client |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 3 | parameters: |
Filip Pytloun | 17f20f2 | 2017-03-28 19:04:15 +0200 | [diff] [blame] | 4 | _param: |
| 5 | gerrit_try_login: true |
Richard Felkl | 716b1b5 | 2018-06-06 15:40:02 +0200 | [diff] [blame] | 6 | gerrit_server_host: ${_param:cluster_vip_address} |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 7 | gerrit: |
| 8 | client: |
| 9 | enabled: True |
Filip Pytloun | 17f20f2 | 2017-03-28 19:04:15 +0200 | [diff] [blame] | 10 | try_login: ${_param:gerrit_try_login} |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 11 | dir: |
| 12 | git: /srv/volumes/gerrit/git |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 13 | gerrit_config: /srv/volumes/gerrit/etc/gerrit.config |
| 14 | gerrit_secure_config: /srv/volumes/gerrit/etc/secure.config |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 15 | server: |
Richard Felkl | 716b1b5 | 2018-06-06 15:40:02 +0200 | [diff] [blame] | 16 | host: ${_param:gerrit_server_host} |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 17 | user: admin |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 18 | email: ${_param:gerrit_admin_email} |
Filip Pytloun | d93b64b | 2017-03-28 10:50:23 +0200 | [diff] [blame] | 19 | auth_method: basic |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 20 | http_port: 8080 |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 21 | ssh_port: 29418 |
| 22 | protocol: http |
| 23 | password: ${_param:gerrit_admin_password} |
| 24 | key: ${_param:gerrit_admin_private_key} |
Filip Pytloun | c67b981 | 2017-03-28 12:08:50 +0200 | [diff] [blame] | 25 | user: |
| 26 | admin: |
Filip Pytloun | c67b981 | 2017-03-28 12:08:50 +0200 | [diff] [blame] | 27 | ssh_key: ${_param:gerrit_admin_public_key} |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 28 | group: |
| 29 | Event Streaming Users: |
| 30 | description: Event Streaming Users |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 31 | devops-core: |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 32 | description: Core maintainers |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 33 | devops-release: |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 34 | description: Release engineers |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 35 | devops-contrib: |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 36 | description: Service developers |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 37 | default_access: |
| 38 | "refs/*": |
| 39 | actions: |
| 40 | - name: read |
| 41 | group: Non-Interactive Users |
| 42 | "refs/heads/*": |
| 43 | actions: |
| 44 | - name: abandon |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 45 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 46 | - name: create |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 47 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 48 | labels: |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 49 | - name: Code-Review |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 50 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 51 | score: -2..+2 |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 52 | - name: Code-Review |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 53 | group: Non-Interactive Users |
| 54 | score: -1..+1 |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 55 | - name: Verified |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 56 | group: Non-Interactive Users |
| 57 | score: -1..+1 |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 58 | - name: Workflow |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 59 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 60 | score: -1..+1 |
| 61 | "refs/tags/*": |
| 62 | actions: |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 63 | - name: pushTag |
| 64 | group: Administrators |
| 65 | force: true |
| 66 | - name: pushTag |
| 67 | group: Project Owners |
| 68 | force: true |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 69 | - name: pushSignedTag |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 70 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 71 | - name: pushSignedTag |
| 72 | group: Administrators |
| 73 | - name: pushSignedTag |
| 74 | group: Project Owners |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 75 | - name: create |
| 76 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 77 | - name: create |
| 78 | group: Administrators |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 79 | - name: push |
| 80 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 81 | - name: push |
| 82 | group: Administrators |
| 83 | force: true |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 84 | - name: forgeCommitter |
| 85 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 86 | - name: forgeCommitter |
| 87 | group: Administrators |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 88 | - name: forgeAuthor |
| 89 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 90 | - name: forgeAuthor |
| 91 | group: Administrators |
| 92 | - name: forgeServerAsCommitter |
| 93 | group: Administrators |