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 |
Denis Egorenko | 39e0e7e | 2019-06-05 15:10:20 +0400 | [diff] [blame] | 22 | protocol: https |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 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 |
Ivan Berezovskiy | 70348a9 | 2019-06-24 16:55:04 +0400 | [diff] [blame] | 42 | - name: read |
| 43 | group: Anonymous Users |
| 44 | deny: true |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 45 | "refs/heads/*": |
| 46 | actions: |
| 47 | - name: abandon |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 48 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 49 | - name: create |
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 | labels: |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 52 | - name: Code-Review |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 53 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 54 | score: -2..+2 |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 55 | - name: Code-Review |
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: Verified |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 59 | group: Non-Interactive Users |
| 60 | score: -1..+1 |
Alexander Noskov | d9457c9 | 2017-09-21 15:55:18 +0400 | [diff] [blame] | 61 | - name: Workflow |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 62 | group: devops-core |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 63 | score: -1..+1 |
| 64 | "refs/tags/*": |
| 65 | actions: |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 66 | - name: pushTag |
| 67 | group: Administrators |
| 68 | force: true |
| 69 | - name: pushTag |
| 70 | group: Project Owners |
| 71 | force: true |
Ales Komarek | febf26c | 2016-12-01 11:44:57 +0100 | [diff] [blame] | 72 | - name: pushSignedTag |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 73 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 74 | - name: pushSignedTag |
| 75 | group: Administrators |
| 76 | - name: pushSignedTag |
| 77 | group: Project Owners |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 78 | - name: create |
| 79 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 80 | - name: create |
| 81 | group: Administrators |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 82 | - name: push |
| 83 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 84 | - name: push |
| 85 | group: Administrators |
| 86 | force: true |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 87 | - name: forgeCommitter |
| 88 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 89 | - name: forgeCommitter |
| 90 | group: Administrators |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 91 | - name: forgeAuthor |
| 92 | group: devops-core |
Dmitry Burmistrov | 9f97d69 | 2018-03-21 15:15:02 +0400 | [diff] [blame] | 93 | - name: forgeAuthor |
| 94 | group: Administrators |
| 95 | - name: forgeServerAsCommitter |
| 96 | group: Administrators |