project-config/zuul.d/zuul-jobs.yaml
Andreas Jaeger fc63a57ff8 Set bindep profile for tox-docs publish jobs
tox-docs uses the bindep profiles "doc compute", use them also for
publishing using tox-docs.

Change-Id: I38456a5e620930d1b4a1695e513c9feb62642e88
2018-09-12 19:53:49 +02:00

47 lines
1.4 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
bindep_profile: compile doc