Merge "Adds deploy guide gate jobs"

This commit is contained in:
Jenkins 2016-11-18 07:42:23 +00:00 committed by Gerrit Code Review
commit 4bc19e32da
4 changed files with 91 additions and 0 deletions

View File

@ -93,6 +93,28 @@
copy-after-failure: true
- console-log
- job-template:
name: gate-{name}-deploy-guide
description: Build and draft Deployment Guides from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell:
!include-raw-escape: include-run-deploy-guide.sh
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'docs-draft/$LOG_PATH'
source: 'deploy-guide/build/html/**'
keep-hierarchy: true
copy-after-failure: true
- console-log
- job-template:
name: '{name}-install-guide'
description: Build and publish the Install Guide from source.
@ -119,6 +141,33 @@
remove-prefix: 'install-guide/build/html/'
- console-log
- job-template:
name: '{name}-deploy-guide'
description: Build and publish the Deploy Guide from source.
node: ubuntu-xenial
builders:
- zuul-git-prep-upper-constraints
- install-distro-packages
- revoke-sudo
- shell:
!include-raw-escape: include-run-deploy-guide.sh
- add-docs-root-marker:
docsrootdir: deploy-guide/build/html/
publishers:
- ftp:
site: docs.openstack.org
source: 'deploy-guide/build/html/**'
target: 'project-deploy-guide/{service}'
remove-prefix: 'deploy-guide/build/html/'
- afs:
site: afs-docs
source: 'deploy-guide/build/html/**'
target: 'project-deploy-guide/{service}'
remove-prefix: 'deploy-guide/build/html/'
- console-log
# Be aware that the variable "service" needs to be set when this job
# group is used.
# The "service" variable comes from the service catalog, which is
@ -132,3 +181,17 @@
jobs:
- gate-{name}-install-guide
- '{name}-install-guide'
# Be aware that the variable "service" needs to be set when this job
# group is used.
# The "service" variable comes from the service catalog, which is
# based on the openstack/service-types-authority project as a
# canonical reference for names. When your project has spaces in the
# service entry, use dashes for the spaces, such as "object-storage"
# (the service is not swift).
- job-group:
name: deploy-guide-jobs
jobs:
- gate-{name}-deploy-guide
- '{name}-deploy-guide'

View File

@ -8554,6 +8554,8 @@
- gate-{name}-requirements
- openstack-publish-jobs
- openstack-releasenotes-jobs
- deploy-guide-jobs:
service: OpenStack-Ansible
- 'gate-{name}-openstack-ansible-{scenario}-{node}{job-suffix}':
job-suffix: ''
node: ubuntu-trusty

View File

@ -627,6 +627,14 @@ project-templates:
post:
- '{name}-api-guide'
- name: deploy-guide-jobs
check:
- gate-{name}-deploy-guide
gate:
- gate-{name}-deploy-guide
post:
- '{name}-deploy-guide'
- name: install-guide-jobs
check:
- gate-{name}-install-guide
@ -2512,6 +2520,16 @@ jobs:
- 'bindep.txt'
- other-requirements.txt
- name: ^gate-.*-deploy-guide$
success-pattern: http://docs-draft.openstack.org/{build.parameters[LOG_PATH]}/deploy-guide/build/html/
# This is only available in Ocata.
branch: ^(?!stable/(mitaka|newton)).*$
files:
- '^tox.ini$'
- '^deploy-guide/.*'
- 'bindep.txt'
- other-requirements.txt
- name: ^(?!gate-).*-api-guide$
# Only publish from master
branch: master
@ -2523,6 +2541,8 @@ jobs:
- name: ^(?!gate-).*-install-guide$
branch: ^(?!stable/(liberty|mitaka)).*$
- name: ^(?!gate-).*-deploy-guide$
branch: ^(?!stable/(mitaka|newton)).*$
- name: gate-murano-firstapp-docs
# Only publish from master
@ -3240,6 +3260,7 @@ jobs:
- project: ^openstack/openstack-ansible(?!-specs).*$
all-files-match-any:
- ^.*\.rst$
- ^deploy-guide/.*
- ^doc/.*
- ^releasenotes/.*
@ -3275,6 +3296,10 @@ jobs:
- name: ^gate-openstack-ansible-os_(?!(keystone|glance|cinder)).*-ansible-.*-centos-7.*$
branch: ^(?!(liberty|stable/(mitaka|newton))).*$
# Skip any deploy guide publish jobs for any branch other than master
- name: ^gate-openstack-ansible-deploy-guide$
branch: ^(?!(liberty|stable/(mitaka/newton))).*$
# Ignore requirements on the keystoneclient/keystoneauth integration branch
- name: gate-python-keystoneclient-requirements
branch: ^(?!feature/keystoneauth_integration).*$
@ -12635,6 +12660,7 @@ projects:
- name: check-requirements
- name: openstack-server-publish-jobs
- name: release-notes-jobs
- name: deploy-guide-jobs
check:
- gate-openstack-ansible-docs-ubuntu-trusty
- gate-openstack-ansible-docs-ubuntu-xenial