From 4b52c55b2129acaf2637429f7bd2c8c5e4c59d3e Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 23 Oct 2013 12:03:23 +0200 Subject: [PATCH] Add sphinxcontrib-docbookrestapi Change-Id: I44fb2ca13ff8b185e59a4058418e5ba303ded523 --- .../stackforge/sphinxcontrib-docbookrestapi.config | 12 ++++++++++++ .../files/jenkins_job_builder/config/projects.yaml | 11 +++++++++++ modules/openstack_project/files/zuul/layout.yaml | 13 +++++++++++++ .../templates/review.projects.yaml.erb | 3 +++ 4 files changed, 39 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/stackforge/sphinxcontrib-docbookrestapi.config diff --git a/modules/openstack_project/files/gerrit/acls/stackforge/sphinxcontrib-docbookrestapi.config b/modules/openstack_project/files/gerrit/acls/stackforge/sphinxcontrib-docbookrestapi.config new file mode 100644 index 0000000000..006b96ddee --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/stackforge/sphinxcontrib-docbookrestapi.config @@ -0,0 +1,12 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group sphinxcontrib-docbookrestapi-core + label-Approved = +0..+1 group sphinxcontrib-docbookrestapi-core + workInProgress = group sphinxcontrib-docbookrestapi-core +[access "refs/tags/*"] + create = group sphinxcontrib-docbookrestapi-core + pushTag = group sphinxcontrib-docbookrestapi-core +[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 fdec9bef56..f5c4612200 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -1677,3 +1677,14 @@ jobs: - python-jobs + +- project: + name: sphinxcontrib-docbookrestapi + github-org: stackforge + node: precise + tarball-site: tarballs.openstack.org + + jobs: + - 'gate-{name}-pep8' + - '{name}-tarball' + - pypi-jobs diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index a56ba119ef..7e92d1ef88 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -3661,3 +3661,16 @@ projects: # - gate-solum-docs post: - solum-coverage + - name: stackforge/sphinxcontrib-docbookrestapi + check: + - gate-sphinxcontrib-docbookrestapi-pep8 + gate: + - gate-sphinxcontrib-docbookrestapi-pep8 + pre-release: + - sphinxcontrib-docbookrestapi-tarball + release: + - sphinxcontrib-docbookrestapi-tarball: + - sphinxcontrib-docbookrestapi-pypi-upload: + - post-mirror-python26 + - post-mirror-python27 + - post-mirror-python33 diff --git a/modules/openstack_project/templates/review.projects.yaml.erb b/modules/openstack_project/templates/review.projects.yaml.erb index 7d8f314c8a..0fc67a8b72 100644 --- a/modules/openstack_project/templates/review.projects.yaml.erb +++ b/modules/openstack_project/templates/review.projects.yaml.erb @@ -468,3 +468,6 @@ description: Congress upstream: git://github.com/pballand/congress.git acl-config: /home/gerrit2/acls/stackforge/congress.config +- project: stackforge/sphinxcontrib-docbookrestapi + description: "Sphinx extension that generates documentation for api-site from RST files." + upstream: git://github.com/enovance/sphinxcontrib-docbookrestapi.git