project-config/zuul.d/zuul-jobs.yaml
James E. Blair b317aa7fe5 Allow zuul-website-media to publish to the zuul website
This repo will be publishing content under a subdirectory of the
zuul website, and so needs to use this job.

Also fix a typo.

Change-Id: I1e5e290186b9ef4441ddfbeaa7b933f481e743eb
2018-04-16 13:08:59 -07:00

45 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 Sphinx with Python3.
# 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/sphinx/pre.yaml
run: playbooks/sphinx/run.yaml
post-run:
- 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 }}"
sphinx_python: python3