blob: 20b7463c22ac882662b620aa5b4c497f40b7e24a [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001classes:
2 - service.gerrit.client
Ales Komarekfebf26c2016-12-01 11:44:57 +01003parameters:
Filip Pytloun17f20f22017-03-28 19:04:15 +02004 _param:
5 gerrit_try_login: true
Ivan Berezovskiyb8bdd862019-02-08 14:48:56 +04006 gerrit_http_port: 8080
Richard Felkl716b1b52018-06-06 15:40:02 +02007 gerrit_server_host: ${_param:cluster_vip_address}
Ivan Berezovskiyb8bdd862019-02-08 14:48:56 +04008 gerrit_url_prefix: ''
Ales Komarekfebf26c2016-12-01 11:44:57 +01009 gerrit:
10 client:
11 enabled: True
Filip Pytloun17f20f22017-03-28 19:04:15 +020012 try_login: ${_param:gerrit_try_login}
Ales Komarekfebf26c2016-12-01 11:44:57 +010013 dir:
14 git: /srv/volumes/gerrit/git
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010015 gerrit_config: /srv/volumes/gerrit/etc/gerrit.config
16 gerrit_secure_config: /srv/volumes/gerrit/etc/secure.config
Ales Komarekfebf26c2016-12-01 11:44:57 +010017 server:
Richard Felkl716b1b52018-06-06 15:40:02 +020018 host: ${_param:gerrit_server_host}
Ales Komarekfebf26c2016-12-01 11:44:57 +010019 user: admin
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010020 email: ${_param:gerrit_admin_email}
Filip Pytlound93b64b2017-03-28 10:50:23 +020021 auth_method: basic
Ivan Berezovskiyb8bdd862019-02-08 14:48:56 +040022 http_port: ${_param:gerrit_http_port}
Ales Komarekfebf26c2016-12-01 11:44:57 +010023 ssh_port: 29418
Denis Egorenko5a051612019-06-05 15:10:20 +040024 protocol: https
Ivan Berezovskiyb8bdd862019-02-08 14:48:56 +040025 url_prefix: ${_param:gerrit_url_prefix}
Ales Komarekfebf26c2016-12-01 11:44:57 +010026 password: ${_param:gerrit_admin_password}
27 key: ${_param:gerrit_admin_private_key}
Filip Pytlounc67b9812017-03-28 12:08:50 +020028 user:
29 admin:
Filip Pytlounc67b9812017-03-28 12:08:50 +020030 ssh_key: ${_param:gerrit_admin_public_key}
Ales Komarekfebf26c2016-12-01 11:44:57 +010031 group:
32 Event Streaming Users:
33 description: Event Streaming Users
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010034 devops-core:
Ales Komarekfebf26c2016-12-01 11:44:57 +010035 description: Core maintainers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010036 devops-release:
Ales Komarekfebf26c2016-12-01 11:44:57 +010037 description: Release engineers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010038 devops-contrib:
Ales Komarekfebf26c2016-12-01 11:44:57 +010039 description: Service developers
Ales Komarekfebf26c2016-12-01 11:44:57 +010040 default_access:
41 "refs/*":
42 actions:
43 - name: read
44 group: Non-Interactive Users
Ivan Berezovskiy9a7d66d2019-06-24 16:55:04 +040045 - name: read
46 group: Anonymous Users
47 deny: true
Ales Komarekfebf26c2016-12-01 11:44:57 +010048 "refs/heads/*":
49 actions:
50 - name: abandon
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010051 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010052 - name: create
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010053 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010054 labels:
Alexander Noskovd9457c92017-09-21 15:55:18 +040055 - name: Code-Review
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010056 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010057 score: -2..+2
Alexander Noskovd9457c92017-09-21 15:55:18 +040058 - name: Code-Review
Ales Komarekfebf26c2016-12-01 11:44:57 +010059 group: Non-Interactive Users
60 score: -1..+1
Alexander Noskovd9457c92017-09-21 15:55:18 +040061 - name: Verified
Ales Komarekfebf26c2016-12-01 11:44:57 +010062 group: Non-Interactive Users
63 score: -1..+1
Alexander Noskovd9457c92017-09-21 15:55:18 +040064 - name: Workflow
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010065 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010066 score: -1..+1
67 "refs/tags/*":
68 actions:
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040069 - name: pushTag
70 group: Administrators
71 force: true
72 - name: pushTag
73 group: Project Owners
74 force: true
Ales Komarekfebf26c2016-12-01 11:44:57 +010075 - name: pushSignedTag
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010076 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040077 - name: pushSignedTag
78 group: Administrators
79 - name: pushSignedTag
80 group: Project Owners
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010081 - name: create
82 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040083 - name: create
84 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010085 - name: push
86 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040087 - name: push
88 group: Administrators
89 force: true
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010090 - name: forgeCommitter
91 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040092 - name: forgeCommitter
93 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010094 - name: forgeAuthor
95 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040096 - name: forgeAuthor
97 group: Administrators
98 - name: forgeServerAsCommitter
99 group: Administrators