Rework api-site publishing

Publishing is now only done on developer.openstack.org and not anymore
on docs.openstack.org:
* Remove api-site-tox-doc-publishdocs
* Create new job openstack-api-ref-publish-lang to publish translated
  documents to developer.o.o.
* Remove api-site-tox-doc-publishlang job (published translated
  documents to docs.o.o). For this, we need to replace the
  openstack-doc-translation template with individual jobs.

Change-Id: Id9d9c378c29e5601fe994b46ede19ddae61cfb53
This commit is contained in:
Andreas Jaeger 2015-10-09 10:15:58 +02:00
parent 69a4b62ad6
commit 1f0c37654a
2 changed files with 27 additions and 1 deletions

View File

@ -38,6 +38,24 @@
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- job:
name: openstack-api-ref-publish-lang
node: 'bare-precise || bare-trusty'
builders:
- revoke-sudo
- gerrit-git-prep
- tox:
envlist: 'publishlang-api'
publishers:
- console-log
- upload-doc-build-results
- ftp:
site: developer.openstack.org
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
# in zuul/layout.yaml specified to only run against master branch.
# this copies static files from www

View File

@ -5667,10 +5667,18 @@ projects:
- name: merge-check
- name: openstack-doc-gate
- name: openstack-doc-translation
check:
- gate-api-site-tox-checklang
gate:
- gate-api-site-tox-checklang
post:
- api-site-upstream-translation-update
post:
- api-site-tox-doc-publishdocs
- openstack-api-site
- openstack-api-ref
- openstack-api-ref-publish-lang
periodic:
- api-site-propose-translation-update
- name: openstack/docs-specs
template: