From 4cb6f73a5a54f7f3784fe722b85e3251da9ae323 Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Thu, 8 Aug 2013 12:03:54 +0200 Subject: [PATCH] Add tuskar and tuskarclient to stackforge This is just a minimal viable setup according to the guide [1]. Gate tests will be added subsequently. [1] http://ci.openstack.org/stackforge.html Change-Id: I7f79634a06fddd4b7aa47938a006365204c38c4e --- .../gerritbot/files/gerritbot_channel_config.yaml | 11 +++++++++++ .../acls/stackforge/python-tuskarclient.config | 12 ++++++++++++ .../files/gerrit/acls/stackforge/tuskar.config | 12 ++++++++++++ modules/openstack_project/files/zuul/layout.yaml | 12 ++++++++++++ .../templates/review.projects.yaml.erb | 6 ++++++ 5 files changed, 53 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/python-tuskarclient.config create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/tuskar.config diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index 0eb0e929ce..43d40f03b9 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -332,3 +332,14 @@ openstack-glance: - openstack/python-glanceclient branches: - master + +tuskar: + events: + - patchset-created + - change-merged + - x-vrif-minus-2 + projects: + - stackforge/tuskar + - stackforge/python-tuskarclient + branches: + - master diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/python-tuskarclient.config b/modules/openstack_project/files/gerrit/acls/stackforge/python-tuskarclient.config new file mode 100644 index 0000000000..ad3a1dbd3d --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/stackforge/python-tuskarclient.config @@ -0,0 +1,12 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group tuskar-core + label-Approved = +0..+1 group tuskar-core + workInProgress = group tuskar-core +[access "refs/tags/*"] + create = group tuskar-core + pushTag = group tuskar-core +[receive] + requireChangeId = true + requireContributorAgreement = true +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/tuskar.config b/modules/openstack_project/files/gerrit/acls/stackforge/tuskar.config new file mode 100644 index 0000000000..ad3a1dbd3d --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/stackforge/tuskar.config @@ -0,0 +1,12 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group tuskar-core + label-Approved = +0..+1 group tuskar-core + workInProgress = group tuskar-core +[access "refs/tags/*"] + create = group tuskar-core + pushTag = group tuskar-core +[receive] + requireChangeId = true + requireContributorAgreement = true +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 8f93cae51f..a8d49b54ce 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -2664,3 +2664,15 @@ projects: - post-mirror-python26 - post-mirror-python27 - post-mirror-python33 + + - name: stackforge/tuskar + check: + - gate-noop + gate: + - gate-noop + + - name: stackforge/python-tuskarclient + check: + - gate-noop + gate: + - gate-noop diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 968e38308b..da49d924f8 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -357,3 +357,9 @@ upstream: git://git.code.sf.net/p/xcat/python-ipmi - project: stackforge/pycadf description: CADF Python module +- project: stackforge/tuskar + description: "A service for managing OpenStack deployments" + upstream: git://github.com/tuskar/tuskar.git +- project: stackforge/python-tuskarclient + description: "Python bindings and CLI to Tuskar." + upstream: git://github.com/tuskar/python-tuskarclient.git