d76f051d22
Manage project creation via yaml files. Also, Modify the manage_projects scripts to configure Gerrit project ACLs. This change expects the project yaml to exist. The change will clone the project for the localhost Gerrit install. It will then checkout the meta/config ref, copy the ACL config file into the repo, commit, and push to the origin. The ACL config location should be specified in the projects.yaml file with the acl_config key. For this to work the ACLs will need to be copied by Puppet from Puppet to the Gerrit host. Add the file resource to do this as well. Change-Id: I15a1ec13b381dce3c115c01c21f404ab79e72cc4 Reviewed-on: https://review.openstack.org/15352 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
20 lines
581 B
Plaintext
20 lines
581 B
Plaintext
[access "refs/*"]
|
|
owner = group Administrators
|
|
[access "refs/heads/*"]
|
|
label-Code-Review = -2..+2 group openstack-ci-admins
|
|
label-Approved = +0..+1 group openstack-ci-admins
|
|
workInProgress = group openstack-ci-admins
|
|
[receive]
|
|
requireChangeId = true
|
|
requireShortMessage = true
|
|
[submit]
|
|
mergeContent = true
|
|
action = cherry pick
|
|
[project]
|
|
state = active
|
|
[access "refs/meta/config"]
|
|
label-Approved = +0..+1 group openstack-ci-admins
|
|
label-Code-Review = -2..+2 group openstack-ci-admins
|
|
label-Verified = -2..+2 group openstack-ci-admins
|
|
submit = group openstack-ci-admins
|