From 9bea856865a8ebfcf0e84b09b877f563d76f906e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 17 Apr 2017 17:52:45 +0200 Subject: [PATCH] Introduce read-only ACL and start using it instead of creating a separate ACL file for each repo that is read-only, create a new read-only config file and use that. This avoids duplications and makes it easier to mark repos read-only. This change covers only the first few repos, further repos will be done in a followup. Change-Id: I7264070a085eb999167e050016fee37eab1770b7 --- gerrit/acls/openstack/cookbook-openstack-bare-metal.config | 2 -- .../openstack/cookbook-openstack-data-processing.config | 2 -- gerrit/acls/openstack/cookbook-openstack-database.config | 2 -- .../openstack/cookbook-openstack-object-storage.config | 2 -- gerrit/acls/openstack/designate-msdnsagent.config | 2 -- gerrit/acls/openstack/{cloudv.config => read-only.config} | 0 gerrit/projects.yaml | 7 ++++++- 7 files changed, 6 insertions(+), 11 deletions(-) delete mode 100644 gerrit/acls/openstack/cookbook-openstack-bare-metal.config delete mode 100644 gerrit/acls/openstack/cookbook-openstack-data-processing.config delete mode 100644 gerrit/acls/openstack/cookbook-openstack-database.config delete mode 100644 gerrit/acls/openstack/cookbook-openstack-object-storage.config delete mode 100644 gerrit/acls/openstack/designate-msdnsagent.config rename gerrit/acls/openstack/{cloudv.config => read-only.config} (100%) diff --git a/gerrit/acls/openstack/cookbook-openstack-bare-metal.config b/gerrit/acls/openstack/cookbook-openstack-bare-metal.config deleted file mode 100644 index 9e7a0f50b2..0000000000 --- a/gerrit/acls/openstack/cookbook-openstack-bare-metal.config +++ /dev/null @@ -1,2 +0,0 @@ -[project] -state = read only diff --git a/gerrit/acls/openstack/cookbook-openstack-data-processing.config b/gerrit/acls/openstack/cookbook-openstack-data-processing.config deleted file mode 100644 index 9e7a0f50b2..0000000000 --- a/gerrit/acls/openstack/cookbook-openstack-data-processing.config +++ /dev/null @@ -1,2 +0,0 @@ -[project] -state = read only diff --git a/gerrit/acls/openstack/cookbook-openstack-database.config b/gerrit/acls/openstack/cookbook-openstack-database.config deleted file mode 100644 index 9e7a0f50b2..0000000000 --- a/gerrit/acls/openstack/cookbook-openstack-database.config +++ /dev/null @@ -1,2 +0,0 @@ -[project] -state = read only diff --git a/gerrit/acls/openstack/cookbook-openstack-object-storage.config b/gerrit/acls/openstack/cookbook-openstack-object-storage.config deleted file mode 100644 index 9e7a0f50b2..0000000000 --- a/gerrit/acls/openstack/cookbook-openstack-object-storage.config +++ /dev/null @@ -1,2 +0,0 @@ -[project] -state = read only diff --git a/gerrit/acls/openstack/designate-msdnsagent.config b/gerrit/acls/openstack/designate-msdnsagent.config deleted file mode 100644 index 9e7a0f50b2..0000000000 --- a/gerrit/acls/openstack/designate-msdnsagent.config +++ /dev/null @@ -1,2 +0,0 @@ -[project] -state = read only diff --git a/gerrit/acls/openstack/cloudv.config b/gerrit/acls/openstack/read-only.config similarity index 100% rename from gerrit/acls/openstack/cloudv.config rename to gerrit/acls/openstack/read-only.config diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index 4dc14fd6b7..473d1800e7 100755 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -1349,7 +1349,7 @@ description: Automated Test Case Repository for OpenStack. Based on CloudCAFE. - project: openstack/cloudv-ostf-adapter description: Fuel-independent OSTF adapter for Cloud Validation - acl-config: /home/gerrit2/acls/openstack/cloudv.config + acl-config: /home/gerrit2/acls/openstack/read-only.config groups: - cloudv - project: openstack/cognitive @@ -1403,6 +1403,7 @@ - openstack-chef docimpact-group: openstack-chef description: Chef Cookbook - OpenStack Bare Metal + acl-config: /home/gerrit2/acls/openstack/read-only.config - project: openstack/cookbook-openstack-block-storage groups: - openstack-chef @@ -1438,11 +1439,13 @@ - openstack-chef docimpact-group: openstack-chef description: Chef Cookbook - OpenStack Data Processing Service + acl-config: /home/gerrit2/acls/openstack/read-only.config - project: openstack/cookbook-openstack-database groups: - openstack-chef docimpact-group: openstack-chef description: Chef Cookbook - OpenStack Database as a Service + acl-config: /home/gerrit2/acls/openstack/read-only.config - project: openstack/cookbook-openstack-identity groups: - openstack-chef @@ -1472,6 +1475,7 @@ - openstack-chef docimpact-group: openstack-chef description: Chef Cookbook - OpenStack Object Storage + acl-config: /home/gerrit2/acls/openstack/read-only.config - project: openstack/cookbook-openstack-ops-database groups: - openstack-chef @@ -3471,6 +3475,7 @@ docimpact-group: designate groups: - designate + acl-config: /home/gerrit2/acls/openstack/read-only.config - project: openstack/designate-specs description: OpenStack DNS As A Service (Designate) Specifications groups: