Merge "Add promote-openstack-tox-docs"

This commit is contained in:
Zuul 2019-08-19 15:44:40 +00:00 committed by Gerrit Code Review
commit e017172c24
2 changed files with 44 additions and 1 deletions

View File

@ -288,7 +288,7 @@
Publishes depending on branch to latest/ (for master), or the
basename of the branch like pike (for stable/pike).
This is the publication job for ``build-openstack-tox-docs``.
This is the publication job for ``openstack-tox-docs``.
final: true
post-run:
- playbooks/sphinx/post.yaml
@ -297,6 +297,28 @@
vars:
tox_constraints_file: '{{ ansible_user_dir }}/src/opendev.org/openstack/requirements/upper-constraints.txt'
- job:
name: promote-openstack-tox-docs
parent: opendev-promote-docs-base
description: |
Promote content from openstack-tox-docs job for projects that
run tox using the docs environment following OpenStack PTI.
Publish the results of the docs tox 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).
This is the promote job for ``openstack-tox-docs``.
final: true
vars:
download_artifact_job: openstack-tox-docs
secrets:
- secret: afsdocs_secret-tox-docs
name: afs
pass-to-parent: true
- job:
name: publish-openstack-tox-docs-direct
parent: publish-openstack-tox-docs-base

View File

@ -39,6 +39,27 @@
docs_master_path: "/afs/.openstack.org/docs"
docs_branch_path: "/afs/.openstack.org/docs"
- secret:
name: afsdocs_secret-tox-docs
data:
keytab: !encrypted/pkcs1-oaep
- n+axpDtVoZKfH8i1LgIcBtIAse9eYKCthb+I8d5Jw6SnoN3/TZyu/fDKeteeHIroAUacV
syO2zQQG6aTOKP6kFILz1DzTcujIrjIQnYLZDrLLL0d384r/Opz2+A6mdM7B2tsgGbtI9
rgsh1TjBrcJinGaJZRcLKI+ZRWjkN1+0AwPYJYSsP20xNDa4jeKKnPKrEn8KphpFJe4y8
aYwvLpwV/4li/pko6MII7rCwmU3lcmTFKXVIwq2RHozLNcsxoFeT4182ye8gPOjmmuin9
RHaZ7UJA55JkgwmxJwR9cG+CTH5N2678cCzLuXyve0fRDrDTCsEDxxwh2Xm3F8PQAlbPR
OWMFvXcjlXYaMJ1Ne7yMOq1diFF9ZsqgnwNlGhju3EMCxKOZ0GBVp96DwFGj6rgaOVsSu
BczPoy7W5BCXuWQsZBxhReFEMs3muaWVPqya5fRZXylZlMnOI6xh3Yij3uZV5Nxrg0uJK
sDBrgIZFKQNWfvzFqaxjZPMsRRNmXZVeHpEy1WlkT5PN4jJn7+B6qo4iudPnCmMySzk4X
eTxHgwr8HS4uBvqLoKRZGMDXwl2abB2vEkIrlW41HVqpHOqGXLniGf7tEDIKb1pmrPe/P
OR1+bLumZ6acM1HpNjwqdAxCLRx0ZMswzK9ZHfnHhp52GMPo3rkpNk9pEOT4I0=
path: /afs/.openstack.org/docs
# TODO(pabelanger): Update AFS credentials to say zuul-executor.
service_name: service/zuul-launcher@OPENSTACK.ORG
docs_master_path: "/afs/.openstack.org/docs/{{ zuul.project.name }}/latest"
docs_branch_path: "/afs/.openstack.org/docs/{{ zuul.project.name }}/{{ zuul.branch | default('_error') }}"
docs_tag_path: "/afs/.openstack.org/docs/{{ zuul.project.name }}/{{ zuul.tag | default('_error') }}"
- secret:
name: afsdeveloper_secret
# Same secrete as afsdocs_secret but uses path for publishing to