fc6d7bcfa4
Fix wrong parent of job publish-openstack-tox-docs-direct. Fix description for zuul-docs-publish. Move common post-run playbook to parent for publish-openstack-tox-docs. Change contributor-guide publishing to tox-docs. Remove publish-sphinx-docs-base, it's unused. Fold it into its only user. Remove build-sphinx-docs from jenkins-job-builder, we switched to tox-docs and the job passes, so no need to make it non-voting in check only but voting in gate. For log-classify: Use build-tox-docs instead of sphinx - the repo has no content, so let's use the proper job directly. Change-Id: I0b06818e26773560df13ae6eb2d9964d5e6bf43a
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
- job:
|
|
name: publish-zuul-website
|
|
description: |
|
|
Publishes content in artifacts/ to the Zuul website.
|
|
allowed-projects:
|
|
- openstack-infra/zuul-website
|
|
- openstack-infra/zuul-website-media
|
|
post-run:
|
|
- playbooks/publish/zuul-afs.yaml
|
|
roles:
|
|
- zuul: openstack-infra/zuul-jobs
|
|
secrets:
|
|
- secret: afsdocs_secret
|
|
name: afs
|
|
|
|
- job:
|
|
name: publish-zuul-docs
|
|
description: |
|
|
Publish the results of a sphinx build to
|
|
/afs/.openstack.org/project/zuul-ci.org/www/docs/{{ zuul.project.short_name }}
|
|
|
|
Builds the docs using ``tox -e docs``.
|
|
# Set final to avoid override of afs_subpath variable.
|
|
final: true
|
|
allowed-projects:
|
|
- openstack-infra/nodepool
|
|
- openstack-infra/zuul
|
|
- openstack-infra/zuul-jobs
|
|
- openstack-infra/zuul-base-jobs
|
|
- openstack-infra/zuul-sphinx
|
|
pre-run: playbooks/project-config/pre-tox.yaml
|
|
run: playbooks/project-config/run-tox.yaml
|
|
post-run:
|
|
- playbooks/project-config/post-tox.yaml
|
|
- playbooks/sphinx/post-infra.yaml
|
|
- playbooks/publish/zuul-afs.yaml
|
|
roles:
|
|
- zuul: openstack-infra/zuul-jobs
|
|
- zuul: openstack-infra/openstack-zuul-jobs
|
|
secrets:
|
|
- secret: afsdocs_secret
|
|
name: afs
|
|
vars:
|
|
afs_subpath: "/docs/{{ zuul.project.short_name }}"
|
|
tox_envlist: docs
|