Fix murano firstapp draft docs

Create a custom job for building and uploading the draft docs of the
firstapp document and use it. We cannot use the normal tox job since the
results are not uploaded to docs-draft for these.

Change-Id: I58236cc6d42f977d9c4798618500218bad79a4e6
This commit is contained in:
Andreas Jaeger 2016-10-14 15:24:47 +02:00
parent 0c7b6ded9b
commit 6356f843f1
3 changed files with 26 additions and 7 deletions

View File

@ -240,3 +240,26 @@
remove-prefix: 'doc/build/murano-firstapp/html/'
- test-results
- console-log
- job:
name: gate-murano-firstapp-docs
description: Build and publish draft of the Murano Firstapp docs.
node: ubuntu-xenial
builders:
- gerrit-git-prep
- install-distro-packages
- revoke-sudo
- tox:
envlist: 'murano-firstapp'
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH'
source: 'doc/build/murano-firstapp/html/**'
keep-hierarchy: true
copy-after-failure: true
- test-results
- console-log

View File

@ -6740,10 +6740,6 @@
envlist: py27-mitaka
node:
- ubuntu-xenial
- 'gate-{name}-tox-{envlist}-{node}':
envlist: murano-firstapp
node:
- ubuntu-xenial
- gate-{name}-pylint
- pypi-jobs
- openstack-publish-jobs

View File

@ -2499,7 +2499,7 @@ jobs:
branch: ^(?!stable/(liberty|mitaka)).*$
- name: gate-murano-tox-murano-firstapp-ubuntu-xenial
- name: gate-murano-firstapp-docs
# Only publish from master
branch: master
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/doc/build/murano-firstapp/html/
@ -11247,11 +11247,11 @@ projects:
- gate-tempest-dsvm-murano-api
- gate-tempest-dsvm-murano-cfapi
- gate-tempest-dsvm-murano-glare-backend
- gate-murano-tox-murano-firstapp-ubuntu-xenial
- gate-murano-firstapp-docs
gate:
- gate-tempest-dsvm-murano-api
- gate-murano-devstack-dsvm
- gate-murano-tox-murano-firstapp-ubuntu-xenial
- gate-murano-firstapp-docs
post:
- murano-coverage-db-ubuntu-trusty
- murano-coverage-db-ubuntu-xenial