openstack-manuals/.zuul.yaml
Doug Hellmann f76dc6224f restore stable/mitaka build
Remove obsolete niceness checking tools from tox settings
(doc8 throws an encoding error on one of the old files and
openstack-doc-test doesn't seem to exist at all any more).

Restore the builds for all guides, but place the output under the
mitaka directory. This effectively makes these mitaka-specific
versions of the guides. Links to the guides on the /mitaka landing
page need to be updated separately on master.

Change remote include directives from stable/mitaka to mitaka-eol.

Add .zuul.yaml, copied from stable/newton, and the required playbook for
running the builds in tox.

Add "linters" alias environment in tox.ini since that is now what the
test jobs expect.

Change-Id: Ifc667dd46d2282c8f843600d10ae988a8a281041
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-11-21 13:49:02 -05:00

50 lines
1.3 KiB
YAML

# Shared Zuul v3 definitions for OpenStack CI.
# These jobs are used in api-site, openstack-manuals, and security-doc
# repositories.
- job:
name: build-tox-manuals
description: |
Base job to build manual related documents. These build jobs
invoke a tox command and expect the published content to be in
publish-docs directory. This content is published on the root of
the website.
Note that this build job does not create a root-marker file,
this has to be done by scripts called from tox.
parent: openstack-tox
success-url: publish-docs/
post-run: playbooks/build-manuals-tox/post.yaml
roles:
- zuul: openstack-infra/zuul-jobs
- job:
name: build-tox-manuals-checkbuild
parent: build-tox-manuals
vars:
tox_envlist: checkbuild
# Templates to easily group jobs.
- project-template:
name: openstack-manuals-jobs
description: |
Runs jobs for non-translated documents.
check:
jobs:
- openstack-tox-linters
- build-tox-manuals-checkbuild
gate:
jobs:
- openstack-tox-linters
- build-tox-manuals-checkbuild
post:
jobs:
- publish-openstack-manuals
# Configuration for this repository, determines which jobs to run.
- project:
name: openstack/openstack-manuals
templates:
- openstack-manuals-jobs