blob: ed4b1d6264064a6d61370004f0c375ef189c2397 [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}
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010010 source:
11 engine: pip
Ales Komarekfebf26c2016-12-01 11:44:57 +010012 dir:
13 git: /srv/volumes/gerrit/git
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010014 gerrit_config: /srv/volumes/gerrit/etc/gerrit.config
15 gerrit_secure_config: /srv/volumes/gerrit/etc/secure.config
Ales Komarekfebf26c2016-12-01 11:44:57 +010016 server:
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010017 host: ${_param:cluster_vip_address}
Ales Komarekfebf26c2016-12-01 11:44:57 +010018 user: admin
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010019 email: ${_param:gerrit_admin_email}
Filip Pytlound93b64b2017-03-28 10:50:23 +020020 auth_method: basic
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010021 http_port: 8080
Ales Komarekfebf26c2016-12-01 11:44:57 +010022 ssh_port: 29418
23 protocol: http
24 password: ${_param:gerrit_admin_password}
25 key: ${_param:gerrit_admin_private_key}
Filip Pytlounc67b9812017-03-28 12:08:50 +020026 user:
27 admin:
28 fullname: Administrator
29 ssh_key: ${_param:gerrit_admin_public_key}
Ales Komarekfebf26c2016-12-01 11:44:57 +010030 group:
31 Event Streaming Users:
32 description: Event Streaming Users
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010033 devops-core:
Ales Komarekfebf26c2016-12-01 11:44:57 +010034 description: Core maintainers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010035 devops-release:
Ales Komarekfebf26c2016-12-01 11:44:57 +010036 description: Release engineers
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010037 devops-contrib:
Ales Komarekfebf26c2016-12-01 11:44:57 +010038 description: Service developers
Ales Komarekfebf26c2016-12-01 11:44:57 +010039 default_access:
40 "refs/*":
41 actions:
42 - name: read
43 group: Non-Interactive Users
44 "refs/heads/*":
45 actions:
46 - name: abandon
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010047 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010048 - name: create
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010049 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010050 labels:
51 - name: label-Code-Review
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010052 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010053 score: -2..+2
54 - name: label-Code-Review
55 group: Non-Interactive Users
56 score: -1..+1
57 - name: label-Verified
58 group: Non-Interactive Users
59 score: -1..+1
60 - name: label-Workflow
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010061 group: devops-core
Ales Komarekfebf26c2016-12-01 11:44:57 +010062 score: -1..+1
63 "refs/tags/*":
64 actions:
65 - name: pushSignedTag
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010066 group: devops-core
67 - name: create
68 group: devops-core
69 - name: push
70 group: devops-core
71 - name: forgeCommitter
72 group: devops-core
73 - name: forgeAuthor
74 group: devops-core