diff --git a/gerrit/acls/openstack-infra/project-config.config b/gerrit/acls/openstack-infra/project-config.config new file mode 100644 index 0000000000..b7606f72ec --- /dev/null +++ b/gerrit/acls/openstack-infra/project-config.config @@ -0,0 +1,10 @@ +[access "refs/heads/*"] +abandon = group project-config-core +label-Code-Review = -2..+2 group project-config-core +label-Workflow = -1..+1 group project-config-core + +[receive] +requireChangeId = true + +[submit] +mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index 5b14093388..0b14908224 100644 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -168,6 +168,11 @@ - openstack-ci description: log analyzer tools for logs.openstack.org upstream: git://github.com/sdague/os_loganalyze.git +- project: openstack-infra/project-config + groups: + - openstack-ci + description: configuration files for project CI systems + upstream: git://github.com/anteaya/project-config.git - project: openstack-infra/publications groups: - openstack-ci diff --git a/gerritbot/channels.yaml b/gerritbot/channels.yaml index 03f1eab7ea..51b587c57e 100644 --- a/gerritbot/channels.yaml +++ b/gerritbot/channels.yaml @@ -31,6 +31,7 @@ openstack-infra: - openstack-infra/nose-html-output - openstack-infra/odsreg - openstack-infra/os-loganalyze + - openstack-infra/project-config - openstack-infra/publications - openstack-infra/puppet-apparmor - openstack-infra/puppet-dashboard @@ -758,6 +759,7 @@ openstack-merges: - openstack-infra/odsreg - openstack-infra/openstackid - openstack-infra/os-loganalyze + - openstack-infra/project-config - openstack-infra/publications - openstack-infra/puppet-apparmor - openstack-infra/puppet-dashboard diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 0ed67f6a6e..9e27a32f58 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -543,6 +543,14 @@ jobs: - python-jobs +- project: + name: project-config + node: 'bare-precise || bare-trusty' + + jobs: + - gate-{name}-pep8 + - gate-{name}-bashate + - project: name: gerrit-powered-agenda node: 'bare-precise || bare-trusty' diff --git a/zuul/layout.yaml b/zuul/layout.yaml index fc833b0af4..42d0574b15 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -3295,6 +3295,22 @@ projects: - gate-os-loganalyze-pep8 - gate-os-loganalyze-python27 + - name: openstack-infra/project-config + template: + - name: merge-check + check: + - config-compare-xml + - gate-config-layout + - gate-project-config-pep8 + - gate-project-config-bashate + - gate-config-irc-access + - gate-config-projects-yaml + gate: + - gate-config-layout + - gate-project-config-pep8 + - gate-config-irc-access + - gate-config-projects-yaml + - name: openstack-infra/publications template: - name: merge-check