diff --git a/zuul.d/project-templates.yaml b/zuul.d/project-templates.yaml index d6b32a8..d06c251 100644 --- a/zuul.d/project-templates.yaml +++ b/zuul.d/project-templates.yaml @@ -26,3 +26,34 @@ promote: jobs: - opendev-promote-docs + +- project-template: + name: build-opendev-nox-docs + description: | + Build documentation with "nox". + check: + jobs: + - opendev-nox-docs + gate: + jobs: + - opendev-nox-docs + +- project-template: + name: publish-opendev-nox-docs + description: | + Build and publish documentation with "nox". + + 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-nox-docs + gate: + jobs: + - opendev-nox-docs + promote: + jobs: + - opendev-promote-docs: + vars: + download_artifact_job: opendev-nox-docs