blob: 16e4231cb089ced7cb616ca957356da90e08c52d [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
Richard Felkl716b1b52018-06-06 15:40:02 +02006 gerrit_server_host: ${_param:cluster_vip_address}
Ales Komarekfebf26c2016-12-01 11:44:57 +01007 gerrit:
8 client:
9 enabled: True
Filip Pytloun17f20f22017-03-28 19:04:15 +020010 try_login: ${_param:gerrit_try_login}
Ales Komarekfebf26c2016-12-01 11:44:57 +010011 dir:
12 git: /srv/volumes/gerrit/git
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010013 gerrit_config: /srv/volumes/gerrit/etc/gerrit.config
14 gerrit_secure_config: /srv/volumes/gerrit/etc/secure.config
Ales Komarekfebf26c2016-12-01 11:44:57 +010015 server:
Richard Felkl716b1b52018-06-06 15:40:02 +020016 host: ${_param:gerrit_server_host}
Ales Komarekfebf26c2016-12-01 11:44:57 +010017 user: admin
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010018 email: ${_param:gerrit_admin_email}
Filip Pytlound93b64b2017-03-28 10:50:23 +020019 auth_method: basic
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010020 http_port: 8080
Ales Komarekfebf26c2016-12-01 11:44:57 +010021 ssh_port: 29418
22 protocol: http
23 password: ${_param:gerrit_admin_password}
24 key: ${_param:gerrit_admin_private_key}
Filip Pytlounc67b9812017-03-28 12:08:50 +020025 user:
26 admin:
Filip Pytlounc67b9812017-03-28 12:08:50 +020027 ssh_key: ${_param:gerrit_admin_public_key}
Ales Komarekfebf26c2016-12-01 11:44:57 +010028 group:
29 Event Streaming Users:
30 description: Event Streaming Users
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010031 devops-core:
Ales Komarekfebf26c2016-12-01 11:44:57 +010032 description: Core maintainers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010033 devops-release:
Ales Komarekfebf26c2016-12-01 11:44:57 +010034 description: Release engineers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010035 devops-contrib:
Ales Komarekfebf26c2016-12-01 11:44:57 +010036 description: Service developers
Ales Komarekfebf26c2016-12-01 11:44:57 +010037 default_access:
38 "refs/*":
39 actions:
40 - name: read
41 group: Non-Interactive Users
42 "refs/heads/*":
43 actions:
44 - name: abandon
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010045 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010046 - name: create
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010047 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010048 labels:
Alexander Noskovd9457c92017-09-21 15:55:18 +040049 - name: Code-Review
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010050 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010051 score: -2..+2
Alexander Noskovd9457c92017-09-21 15:55:18 +040052 - name: Code-Review
Ales Komarekfebf26c2016-12-01 11:44:57 +010053 group: Non-Interactive Users
54 score: -1..+1
Alexander Noskovd9457c92017-09-21 15:55:18 +040055 - name: Verified
Ales Komarekfebf26c2016-12-01 11:44:57 +010056 group: Non-Interactive Users
57 score: -1..+1
Alexander Noskovd9457c92017-09-21 15:55:18 +040058 - name: Workflow
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010059 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010060 score: -1..+1
61 "refs/tags/*":
62 actions:
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040063 - name: pushTag
64 group: Administrators
65 force: true
66 - name: pushTag
67 group: Project Owners
68 force: true
Ales Komarekfebf26c2016-12-01 11:44:57 +010069 - name: pushSignedTag
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010070 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040071 - name: pushSignedTag
72 group: Administrators
73 - name: pushSignedTag
74 group: Project Owners
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010075 - name: create
76 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040077 - name: create
78 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010079 - name: push
80 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040081 - name: push
82 group: Administrators
83 force: true
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010084 - name: forgeCommitter
85 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040086 - name: forgeCommitter
87 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010088 - name: forgeAuthor
89 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040090 - name: forgeAuthor
91 group: Administrators
92 - name: forgeServerAsCommitter
93 group: Administrators