From d92c5cf90e8d14c282374500938b179db366548a Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 5 Apr 2013 07:59:30 -0700 Subject: [PATCH] Add Gear. Change-Id: I968c9af68a3447fa92a23f10e356b2e5d6da8d15 Reviewed-on: https://review.openstack.org/26231 Reviewed-by: Jeremy Stanley Approved: James E. Blair Tested-by: Jenkins --- .../gerritbot/files/gerritbot_channel_config.yaml | 3 ++- .../files/gerrit/acls/openstack-infra/gear.config | 11 +++++++++++ .../files/jenkins_job_builder/config/projects.yaml | 12 ++++++++++++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++++ .../templates/review.projects.yaml.erb | 2 ++ 5 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack-infra/gear.config diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index 9e2d7861a7..1d33aed498 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -7,6 +7,8 @@ openstack-infra: - openstack-infra/askbot-theme - openstack-infra/config - openstack-infra/devstack-gate + - openstack-infra/gear + - openstack-infra/gearman-plugin - openstack-infra/gerrit - openstack-infra/gerrit-trigger-plugin - openstack-infra/gerritbot @@ -20,7 +22,6 @@ openstack-infra: - openstack-infra/reviewday - openstack-infra/statusbot - openstack-infra/zuul - - openstack-infra/gearman-plugin - openstack/requirements branches: - master diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/gear.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/gear.config new file mode 100644 index 0000000000..ef1a04813b --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/gear.config @@ -0,0 +1,11 @@ +[access "refs/heads/*"] + label-Approved = +0..+1 group openstack-ci-core + label-Code-Review = -2..+2 group openstack-ci-core + workInProgress = group openstack-ci-core +[access "refs/tags/*"] + create = group openstack-ci-core + pushTag = group openstack-ci-core +[receive] + requireChangeId = true +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index 3ccd038176..df517f4fba 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -155,6 +155,18 @@ - pypi-jobs +- project: + name: gear + github-org: openstack-infra + node: quantal + tarball-site: tarballs.openstack.org + + jobs: + - gate-{name}-pep8 + - '{name}-tarball' + - pypi-jobs + + - project: name: gearman-plugin github-org: openstack-infra diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 4696209f98..e570348ee1 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -1381,6 +1381,12 @@ projects: gate: - gate-kwapi-pep8 + - name: openstack-infra/gear + check: + - gate-noop + gate: + - gate-noop + - name: openstack-infra/gearman-plugin check: - gate-gearman-plugin-build diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 5443d3a4b9..036355cf82 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -18,6 +18,8 @@ description: Theme for ask.openstack.org. upstream: https://bitbucket.org/askbot/openstack-theme - project: openstack-infra/devstack-gate +- project: openstack-infra/gear + description: Pure-Python asynchronous interface to Gearman - project: openstack-infra/gerrit description: Fork of Gerrit used by OpenStack remote: https://gerrit.googlesource.com/gerrit