blob: 6ff90e7ff5291ed1d55138454334a05f134aa81d [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
Denis Egorenko39e0e7e2019-06-05 15:10:20 +040022 protocol: https
Ales Komarekfebf26c2016-12-01 11:44:57 +010023 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
Ivan Berezovskiy70348a92019-06-24 16:55:04 +040042 - name: read
43 group: Anonymous Users
44 deny: true
Ales Komarekfebf26c2016-12-01 11:44:57 +010045 "refs/heads/*":
46 actions:
47 - name: abandon
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010048 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010049 - name: create
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010050 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010051 labels:
Alexander Noskovd9457c92017-09-21 15:55:18 +040052 - name: Code-Review
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010053 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010054 score: -2..+2
Alexander Noskovd9457c92017-09-21 15:55:18 +040055 - name: Code-Review
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: Verified
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: Workflow
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010062 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010063 score: -1..+1
64 "refs/tags/*":
65 actions:
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040066 - name: pushTag
67 group: Administrators
68 force: true
69 - name: pushTag
70 group: Project Owners
71 force: true
Ales Komarekfebf26c2016-12-01 11:44:57 +010072 - name: pushSignedTag
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010073 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040074 - name: pushSignedTag
75 group: Administrators
76 - name: pushSignedTag
77 group: Project Owners
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010078 - name: create
79 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040080 - name: create
81 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010082 - name: push
83 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040084 - name: push
85 group: Administrators
86 force: true
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010087 - name: forgeCommitter
88 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040089 - name: forgeCommitter
90 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010091 - name: forgeAuthor
92 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040093 - name: forgeAuthor
94 group: Administrators
95 - name: forgeServerAsCommitter
96 group: Administrators