project-config/zuul.d/zuul-jobs.yaml
James E. Blair 2d1f8c5182 Remove final from publish-zuul-website
The zuul-website repo inherits from this job.  Since the job is
post-review (due to secrets), and only allowed by zuul-website,
it should be safe enough to permit this.

Change-Id: If405beae9463401c0a4b157878fdd506a147e7fe
2018-03-26 16:40:12 -07:00

44 lines
1.2 KiB
YAML

- job:
name: publish-zuul-website
description: |
Publishes content in artifacts/ to the Zuul website.
allowed-projects:
- openstack-infra/zuul-website
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 sphink 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