base-jobs/zuul.d/project-templates.yaml
Andreas Jaeger 3ea745fc46 Add docs templates
Add project-templates for:
* Building documents
* Building documents and publishing them after each change

Use the new publish project-template for this repo, put the config in a
separate file to find it easier.

Update description of opendev-promote-docs.

Change-Id: Id76a751feb152afe8fca0893d9e0013440c51401
2019-10-02 20:23:14 +02:00

29 lines
645 B
YAML

- project-template:
name: build-opendev-tox-docs
description: |
Build documentation with "tox".
check:
jobs:
- opendev-tox-docs
gate:
jobs:
- opendev-tox-docs
- project-template:
name: publish-opendev-tox-docs
description: |
Build and publish documentation with "tox".
The documents that are build in the "gate" pipeline
are published via a promote job to
https://docs.opendev.org/{{ zuul.project.name }}.
check:
jobs:
- opendev-tox-docs
gate:
jobs:
- opendev-tox-docs
promote:
jobs:
- opendev-promote-docs