Changes api-programming-guide job to:

publish to api.openstack.org
source from openstack/api-site

Re-orders the jobs in the api-jobs.yaml file.
Rebases against master.

Change-Id: I82f45e88a2b4f6bcd48cc4dff0c5678400107d37
Reviewed-on: https://review.openstack.org/15143
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Jeremy Stanley 2012-11-02 15:13:51 +00:00 committed by Jenkins
parent 4abafa57fb
commit ebb86f159a
3 changed files with 68 additions and 64 deletions

View File

@ -3,27 +3,77 @@
jobs: jobs:
- gate-{name}-merge - gate-{name}-merge
# in zuul/layout.yaml specified to only run against master branch. # this moves the openstack-api-programming job from manuals.yaml and adjusts target
# this copies static files from www # and publishers accordingly
- job: - job:
name: openstack-api-site name: openstack-api-programming
project-type: maven
concurrent: true
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul-post
prebuilders:
- gerrit-git-prep
- markdown-docbook:
filename: "openstack-api-programming"
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: openstack-api-programming/pom.xml
goals: 'clean generate-sources'
publishers:
- console-log-post
- ftp:
site: api.openstack.org
source: 'doc/target/docbkx/webhelp/openstack-api-programming/**'
target: 'openstack-compute/programmer/'
remove-prefix: 'doc/target/docbkx/webhelp/openstack-api-programming/'
excludes: '**/*.xml,**/null*'
# this replaces the old openstack-api-quick-start job
- job:
name: openstack-api-quick-start
project-type: maven
concurrent: false concurrent: false
node: precise node: precise
triggers: triggers:
- zuul-post - zuul-post
builders: prebuilders:
- gerrit-git-prep - gerrit-git-prep
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: api-quick-start/pom.xml
goals: 'clean generate-sources'
publishers: publishers:
- console-log-post
- ftp: - ftp:
site: api.openstack.org site: api.openstack.org
source: 'www/**' source: 'doc/target/docbkx/webhelp/api-quick-start-onepager/**'
target: '' target: ''
remove-prefix: 'www/' remove-prefix: 'doc/target/docbkx/webhelp/api-quick-start-onepager/'
excludes: '' excludes: '**/*.xml,**/null*'
- console-log-post remote-directory: 'api/quick-start'
# this replaces the old openstack-api-site job in Jenkins # this replaces the old openstack-api-site job in Jenkins
- job: - job:
@ -55,35 +105,28 @@
excludes: '**/*.xml,**/null*' excludes: '**/*.xml,**/null*'
remote-directory: '' remote-directory: ''
# this replaces the old openstack-api-quick-start job
# in zuul/layout.yaml specified to only run against master branch.
# this copies static files from www
- job: - job:
name: openstack-api-quick-start name: openstack-api-site
project-type: maven
concurrent: false concurrent: false
node: precise node: precise
triggers: triggers:
- zuul-post - zuul-post
prebuilders: builders:
- gerrit-git-prep - gerrit-git-prep
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: api-quick-start/pom.xml
goals: 'clean generate-sources'
publishers: publishers:
- console-log-post
- ftp: - ftp:
site: api.openstack.org site: api.openstack.org
source: 'doc/target/docbkx/webhelp/api-quick-start-onepager/**' source: 'www/**'
target: '' target: ''
remove-prefix: 'doc/target/docbkx/webhelp/api-quick-start-onepager/' remove-prefix: 'www/'
excludes: '**/*.xml,**/null*' excludes: ''
remote-directory: 'api/quick-start' - console-log-post
# this replaces the old openstack-netconn-api-doc job # this replaces the old openstack-netconn-api-doc job
- job: - job:

View File

@ -125,46 +125,6 @@
remove-prefix: 'doc/target/docbkx/webhelp/images-api-2.0/' remove-prefix: 'doc/target/docbkx/webhelp/images-api-2.0/'
excludes: '**/*.xml,**/null*' excludes: '**/*.xml,**/null*'
- job:
name: openstackapi-programming
project-type: maven
concurrent: true
node: precise
wrappers:
- timeout:
timeout: 40
fail: true
triggers:
- zuul-post
prebuilders:
- gerrit-git-prep
- markdown-docbook:
filename: "openstackapi-programming"
properties:
- inject:
script-file: /usr/local/jenkins/slave_scripts/docbook-properties.sh
properties-file: gerrit-doc.properties
maven:
root-module:
group-id: org.openstack.docs
artifact-id: openstack-guide
root-pom: doc/src/docbkx/openstack-api-programming/pom.xml
goals: 'clean generate-sources'
publishers:
- console-log-post
- ftp:
site: docs.openstack.org
source: 'doc/target/docbkx/webhelp/openstack-api-programming/**'
target: 'api/openstack-compute/programmer/'
remove-prefix: 'doc/target/docbkx/webhelp/openstack-api-programming/'
excludes: '**/*.xml,**/null*'
- job: - job:
name: openstack-glossary name: openstack-glossary
project-type: maven project-type: maven

View File

@ -762,6 +762,7 @@ projects:
- openstack-api-quick-start - openstack-api-quick-start
- openstack-api-site - openstack-api-site
- openstack-api-ref - openstack-api-ref
- openstack-api-programming
- name: openstack/compute-api - name: openstack/compute-api
check: check: