Add promote job for starlingx/docs
The docs repo publishes to / not to /docs, add a new promote job. Change-Id: I07b27a97f7281af60ac64948dd69a5266c8f6114
This commit is contained in:
parent
415f773b65
commit
e8011a79ea
@ -222,6 +222,26 @@
|
||||
docs_master_path: "/afs/.openstack.org/project/starlingx.io/www/{{ zuul.project.short_name }}"
|
||||
docs_branch_path: "/afs/.openstack.org/project/starlingx.io/www/{{ zuul.project.short_name }}/{{ zuul.branch | default('_error') }}"
|
||||
|
||||
- secret:
|
||||
name: afsdocs_secret-stx-tox-docs-site
|
||||
data:
|
||||
# Same secret as afsdocs but different path, used for promote-stx-tox-docs-site
|
||||
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/project/starlingx.io/www/"
|
||||
|
||||
- secret:
|
||||
name: testpypi_secret
|
||||
data:
|
||||
|
@ -81,6 +81,30 @@
|
||||
name: afs
|
||||
pass-to-parent: true
|
||||
|
||||
- job:
|
||||
name: promote-stx-tox-docs-site
|
||||
parent: opendev-promote-docs-base
|
||||
description: |
|
||||
Promote content from openstack-tox-docs job for
|
||||
starlingx/doc repository only.
|
||||
|
||||
Publish the results of a sphinx build to
|
||||
/afs/.openstack.org/project/starlingx.io/www
|
||||
|
||||
Publishes depending to / for master only.
|
||||
final: true
|
||||
vars:
|
||||
download_artifact_job: openstack-tox-docs
|
||||
# starlingx/doc has only master branch, anything else
|
||||
# does not make sense for website top-level
|
||||
branches: master
|
||||
allowed-projects:
|
||||
- starlingx/docs
|
||||
secrets:
|
||||
- secret: afsdocs_secret-stx-tox-docs-site
|
||||
name: afs
|
||||
pass-to-parent: true
|
||||
|
||||
- job:
|
||||
name: publish-stx-api-ref
|
||||
parent: publish-stx-tox-base
|
||||
|
Loading…
Reference in New Issue
Block a user