From 5db28088903b9a22621b2a7eba286e69356d67ad Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Fri, 28 Jun 2013 09:28:12 -0400 Subject: [PATCH] Add oslo.sphinx git repository Add a project for the sphinx theme and other tools for OpenStack project documentation. blueprint oslo.sphinx Signed-off-by: Doug Hellmann Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8 Reviewed-on: https://review.openstack.org/34881 Reviewed-by: Jeremy Stanley Reviewed-by: Clark Boylan Approved: Jeremy Stanley Tested-by: Jenkins --- .../gerritbot/files/gerritbot_channel_config.yaml | 1 + .../gerrit/acls/openstack/oslo.sphinx.config | 13 +++++++++++++ .../jenkins_job_builder/config/projects.yaml | 13 +++++++++++++ modules/openstack_project/files/zuul/layout.yaml | 15 +++++++++++++++ .../templates/review.projects.yaml.erb | 2 ++ 5 files changed, 44 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack/oslo.sphinx.config diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index 605979d5cf..50ca2cf5a0 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -47,6 +47,7 @@ openstack-dev: - openstack/oslo-incubator - openstack/oslo.config - openstack/oslo.messaging + - openstack/oslo.sphinx - openstack/python-cinderclient - openstack/python-glanceclient - openstack/python-keystoneclient diff --git a/modules/openstack_project/files/gerrit/acls/openstack/oslo.sphinx.config b/modules/openstack_project/files/gerrit/acls/openstack/oslo.sphinx.config new file mode 100644 index 0000000000..bce50762ca --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack/oslo.sphinx.config @@ -0,0 +1,13 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group oslo-core + label-Approved = +0..+1 group oslo-core +[access "refs/heads/milestone-proposed"] + label-Code-Review = -2..+2 group oslo-milestone + label-Approved = +0..+1 group oslo-milestone +[project] + state = active +[receive] + requireChangeId = true + requireContributorAgreement = 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 0084172c81..7641ac8ba1 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -490,6 +490,19 @@ - pypi-jobs - gate-{name}-pyflakes +- project: + name: oslo.sphinx + github-org: openstack + node: precise + tarball-site: tarballs.openstack.org + doc-publisher-site: docs.openstack.org + + jobs: + - python-jobs + - openstack-publish-jobs + - pypi-jobs + - gate-{name}-pyflakes + - project: name: oslo-incubator diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index ceb1d34188..37d8182e2e 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -600,6 +600,21 @@ projects: - oslo.messaging-pypi-upload - oslo.messaging-docs + - name: openstack/oslo.sphinx + check: + - gate-oslo.sphinx-requirements + - gate-oslo.sphinx-pep8 + gate: + - gate-oslo.sphinx-requirements + - gate-oslo.sphinx-pep8 + post: + - oslo.sphinx-branch-tarball + pre-release: + - oslo.sphinx-tarball + release: + - oslo.sphinx-tarball: + - oslo.sphinx-pypi-upload + - name: openstack/quantum check: - gate-quantum-requirements diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 313e3c768f..5a83e912d5 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -99,6 +99,8 @@ - project: openstack/oslo.config - project: openstack/oslo.messaging upstream: git://github.com/markmc/oslo.messaging.git +- project: openstack/oslo.sphinx + description: "Theme and utilities for Sphinx documentation tool" - project: openstack/python-ceilometerclient upstream: git://github.com/asalkeld/python-ceilometerclient.git - project: openstack/python-cinderclient