blob: 5d719d4686f4b775d7138bd406acc82fff84911b [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
Ales Komarekfebf26c2016-12-01 11:44:57 +01006 gerrit:
7 client:
8 enabled: True
Filip Pytloun17f20f22017-03-28 19:04:15 +02009 try_login: ${_param:gerrit_try_login}
Ales Komarekfebf26c2016-12-01 11:44:57 +010010 dir:
11 git: /srv/volumes/gerrit/git
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010012 gerrit_config: /srv/volumes/gerrit/etc/gerrit.config
13 gerrit_secure_config: /srv/volumes/gerrit/etc/secure.config
Ales Komarekfebf26c2016-12-01 11:44:57 +010014 server:
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010015 host: ${_param:cluster_vip_address}
Ales Komarekfebf26c2016-12-01 11:44:57 +010016 user: admin
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010017 email: ${_param:gerrit_admin_email}
Filip Pytlound93b64b2017-03-28 10:50:23 +020018 auth_method: basic
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010019 http_port: 8080
Ales Komarekfebf26c2016-12-01 11:44:57 +010020 ssh_port: 29418
21 protocol: http
22 password: ${_param:gerrit_admin_password}
23 key: ${_param:gerrit_admin_private_key}
Filip Pytlounc67b9812017-03-28 12:08:50 +020024 user:
25 admin:
Filip Pytlounc67b9812017-03-28 12:08:50 +020026 ssh_key: ${_param:gerrit_admin_public_key}
Ales Komarekfebf26c2016-12-01 11:44:57 +010027 group:
28 Event Streaming Users:
29 description: Event Streaming Users
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010030 devops-core:
Ales Komarekfebf26c2016-12-01 11:44:57 +010031 description: Core maintainers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010032 devops-release:
Ales Komarekfebf26c2016-12-01 11:44:57 +010033 description: Release engineers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010034 devops-contrib:
Ales Komarekfebf26c2016-12-01 11:44:57 +010035 description: Service developers
Ales Komarekfebf26c2016-12-01 11:44:57 +010036 default_access:
37 "refs/*":
38 actions:
39 - name: read
40 group: Non-Interactive Users
41 "refs/heads/*":
42 actions:
43 - name: abandon
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010044 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010045 - name: create
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010046 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010047 labels:
Alexander Noskovd9457c92017-09-21 15:55:18 +040048 - name: Code-Review
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010049 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010050 score: -2..+2
Alexander Noskovd9457c92017-09-21 15:55:18 +040051 - name: Code-Review
Ales Komarekfebf26c2016-12-01 11:44:57 +010052 group: Non-Interactive Users
53 score: -1..+1
Alexander Noskovd9457c92017-09-21 15:55:18 +040054 - name: Verified
Ales Komarekfebf26c2016-12-01 11:44:57 +010055 group: Non-Interactive Users
56 score: -1..+1
Alexander Noskovd9457c92017-09-21 15:55:18 +040057 - name: Workflow
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010058 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010059 score: -1..+1
60 "refs/tags/*":
61 actions:
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040062 - name: pushTag
63 group: Administrators
64 force: true
65 - name: pushTag
66 group: Project Owners
67 force: true
Ales Komarekfebf26c2016-12-01 11:44:57 +010068 - name: pushSignedTag
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010069 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040070 - name: pushSignedTag
71 group: Administrators
72 - name: pushSignedTag
73 group: Project Owners
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010074 - name: create
75 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040076 - name: create
77 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010078 - name: push
79 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040080 - name: push
81 group: Administrators
82 force: true
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010083 - name: forgeCommitter
84 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040085 - name: forgeCommitter
86 group: Administrators
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010087 - name: forgeAuthor
88 group: devops-core
Dmitry Burmistrov9f97d692018-03-21 15:15:02 +040089 - name: forgeAuthor
90 group: Administrators
91 - name: forgeServerAsCommitter
92 group: Administrators