607b2db8c7
The existing ci-docs job is a one off job that was configured by hand. Define the ci-docs job as a Jenkins Job Builder job using the existing project-docs utilities. To make the existing utilities work within the puppet repo the doc files have been moved to doc/source, setup.cfg added to build docs in the new dir, setup.py builds openstack-ci-puppet (instead of nova), tox now has a venv virtualenv, and the .gitignore has been updated appropriately. Change-Id: Ic0f291af181b4ef8eff62c5ec7cf3ccfa5b79800 Reviewed-on: https://review.openstack.org/13729 Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
27 lines
786 B
Python
27 lines
786 B
Python
import datetime
|
|
from setuptools import setup
|
|
|
|
ci_cmdclass = {}
|
|
|
|
try:
|
|
from sphinx.setup_command import BuildDoc
|
|
|
|
class local_BuildDoc(BuildDoc):
|
|
def run(self):
|
|
for builder in ['html', 'man']:
|
|
self.builder = builder
|
|
self.finalize_options()
|
|
BuildDoc.run(self)
|
|
ci_cmdclass['build_sphinx'] = local_BuildDoc
|
|
except Exception:
|
|
pass
|
|
|
|
setup(name='openstack-ci-puppet',
|
|
version="%d.%02d" % (datetime.datetime.now().year,
|
|
datetime.datetime.now().month),
|
|
description="OpenStack Continuous Integration Scripts",
|
|
author="OpenStack CI Team",
|
|
author_email="openstack-ci@lists.launchpad.net",
|
|
url="http://launchpad.net/openstack-ci",
|
|
cmdclass=ci_cmdclass)
|