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