Use native v3 publishing for project-team-guide
Create new job publish-openstack-sphinx-docs-direct that does not handle branches and use it for project-team-guide. Needed-By: Ia5ea64e7ab0483cb37bdd38045bbc9fb4528ac80 Change-Id: I0e0c12bba3a27c8ac7d5cb9d24ede342a616a28d
This commit is contained in:
parent
5fca975f05
commit
20a2c591b7
7
playbooks/python-docs/post-direct.yaml
Normal file
7
playbooks/python-docs/post-direct.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- fetch-tox-output
|
||||
- role: fetch-sphinx-output
|
||||
sphinx_output_src: "src/{{ zuul.project.canonical_name }}/doc/build/html/"
|
||||
zuul_executor_dest: "{{ zuul.executor.work_root }}/artifacts"
|
||||
when: zuul_success | bool
|
@ -190,8 +190,11 @@
|
||||
- job:
|
||||
name: publish-openstack-sphinx-docs
|
||||
description: |
|
||||
Publish the results of the buld-openstack-sphinx-docs job to
|
||||
/afs/.openstack.org/docs/{{ zuul.project.short_name }}
|
||||
Publish the results of the build-openstack-sphinx-docs job to
|
||||
/afs/.openstack.org/docs/{{ zuul.project.short_name }}.
|
||||
|
||||
Publishes depending on branch to latest/ (for master), or the
|
||||
basename of the branch like pike (for stable/pike).
|
||||
final: true
|
||||
pre-run: playbooks/python-docs/pre.yaml
|
||||
run: playbooks/python-docs/run.yaml
|
||||
@ -209,6 +212,32 @@
|
||||
- secret: afsdocs_secret
|
||||
name: afs
|
||||
|
||||
- job:
|
||||
name: publish-openstack-sphinx-docs-direct
|
||||
description: |
|
||||
Publish the results of the build-openstack-sphinx-docs job to
|
||||
/afs/.openstack.org/docs/{{ zuul.project.short_name }}
|
||||
|
||||
Publishing is done from master branch directly without using /latest.
|
||||
final: true
|
||||
pre-run: playbooks/python-docs/pre.yaml
|
||||
run: playbooks/python-docs/run.yaml
|
||||
post-run:
|
||||
- playbooks/python-docs/post-direct.yaml
|
||||
- playbooks/publish/openstack-afs.yaml
|
||||
required-projects:
|
||||
- name: openstack/requirements
|
||||
roles:
|
||||
- zuul: openstack-infra/zuul-jobs
|
||||
- zuul: openstack-infra/openstack-zuul-jobs
|
||||
vars:
|
||||
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
|
||||
branches:
|
||||
- master
|
||||
secrets:
|
||||
- secret: afsdocs_secret
|
||||
name: afs
|
||||
|
||||
- job:
|
||||
name: publish-openstack-contributor-guide
|
||||
description: |
|
||||
|
@ -21353,13 +21353,13 @@
|
||||
- system-required
|
||||
check:
|
||||
jobs:
|
||||
- build-openstack-sphinx-docs: {}
|
||||
- build-openstack-sphinx-docs
|
||||
gate:
|
||||
jobs:
|
||||
- build-openstack-sphinx-docs: {}
|
||||
- build-openstack-sphinx-docs
|
||||
post:
|
||||
jobs:
|
||||
- legacy-project-team-guide-publish
|
||||
- publish-openstack-sphinx-docs-direct
|
||||
|
||||
- project:
|
||||
name: openstack/proliantutils
|
||||
|
Loading…
x
Reference in New Issue
Block a user