e04970cc53
Zuul internally merges or cherry-picks changes before running jobs and gerrit-git-prep now uses the output of that. Therefore, merge jobs are redundant. However, some projects have no gate tests, so create a noop job for those projects so Zuul has something to run. As long as it doesn't actually do anything with a git repo, it can be shared by all projects. * Remove definitions of merge jobs in jjb. * Add a new singleton 'gate-noop' job. * Remove invocations of -merge jobs in zuul, replacing them with -noop jobs if they are the only jobs for a pipeline. * Update new job documentation to mention gate-noop, and lack of need to update projects.yaml if not using python-jobs. Change-Id: I56d3f0f99b2f05780fc82222854db4f1c8f68b57 Reviewed-on: https://review.openstack.org/18246 Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
286 lines
6.9 KiB
YAML
286 lines
6.9 KiB
YAML
# this moves the openstack-api-programming job from manuals.yaml and adjusts target
|
|
# and publishers accordingly
|
|
- job:
|
|
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: docs.openstack.org
|
|
source: 'openstack-api-programming/target/docbkx/webhelp/api/openstack-compute/programmer/**'
|
|
target: '/'
|
|
remove-prefix: 'openstack-api-programming/target/docbkx/webhelp/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
# this replaces the old openstack-api-quick-start job
|
|
- job:
|
|
name: openstack-api-quick-start
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- 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:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'api-quick-start/target/docbkx/webhelp/api-quick-start-onepager/**'
|
|
target: 'api/quick-start/'
|
|
remove-prefix: 'api-quick-start/target/docbkx/webhelp/api-quick-start-onepager/'
|
|
excludes: '**/*.xml,**/null*'
|
|
remote-directory: 'api/quick-start'
|
|
|
|
# this replaces the old openstack-api-site job in Jenkins
|
|
- job:
|
|
name: openstack-api-ref
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: api-ref/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: api.openstack.org
|
|
source: 'api-ref/target/docbkx/html/**'
|
|
target: ''
|
|
remove-prefix: 'api-ref/target/docbkx/html/'
|
|
excludes: '**/*.xml,**/null*'
|
|
remote-directory: ''
|
|
|
|
|
|
# in zuul/layout.yaml specified to only run against master branch.
|
|
# this copies static files from www
|
|
- job:
|
|
name: openstack-api-site
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: api.openstack.org
|
|
source: 'www/**'
|
|
target: ''
|
|
remove-prefix: 'www/'
|
|
excludes: ''
|
|
- console-log-post
|
|
|
|
# this replaces the old openstack-netconn-api-doc job
|
|
- job:
|
|
name: network-api-v10
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: doc/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'doc/target/docbkx/webhelp/api/openstack-network/1.0/**'
|
|
target: ''
|
|
remove-prefix: 'doc/target/docbkx/webhelp'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: openstack-object-api-doc
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-object-api-guide
|
|
root-pom: openstack-object-storage-dev/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'openstack-object-storage-dev/target/docbkx/webhelp/**'
|
|
target: ''
|
|
remove-prefix: 'openstack-object-storage-dev/target/docbkx/webhelp/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: openstack-compute-api-doc
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: openstack-compute-api-2/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'openstack-compute-api-2/target/docbkx/webhelp/api/openstack-compute/2/**'
|
|
target: ''
|
|
remove-prefix: 'openstack-compute-api-2/target/docbkx/webhelp'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
- job:
|
|
name: openstack-compute-api-v20-wadl
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
builders:
|
|
- gerrit-git-prep
|
|
- shell: /usr/local/jenkins/slave_scripts/run-xmllint.sh openstack-compute-api-2/src/os-compute-2.wadl
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'target/**'
|
|
target: 'api/openstack-compute/2/wadl/'
|
|
remove-prefix: 'target/'
|
|
excludes: '**/*.xml,**/null*'
|
|
- console-log-post
|
|
|
|
# this replaces the old openstack-identity-api-doc job
|
|
- job:
|
|
name: identity-api-v20
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
prebuilders:
|
|
- gerrit-git-prep
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.identity
|
|
artifact-id: docs
|
|
root-pom: openstack-identity-api/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'openstack-identity-api/target/docbkx/webhelp/api/openstack-identity-service/2.0/**'
|
|
target: ''
|
|
remove-prefix: 'openstack-identity-api/target/docbkx/webhelp/'
|
|
excludes: '**/*.xml,**/null*'
|
|
|
|
# this replaces the old openstack-image-api-doc job
|
|
- job:
|
|
name: image-api-v11
|
|
project-type: maven
|
|
concurrent: false
|
|
node: precise
|
|
|
|
triggers:
|
|
- zuul-post
|
|
|
|
maven:
|
|
root-module:
|
|
group-id: org.openstack.docs
|
|
artifact-id: openstack-guide
|
|
root-pom: openstack-image-service-api/pom.xml
|
|
goals: 'clean generate-sources'
|
|
|
|
publishers:
|
|
- console-log-post
|
|
- ftp:
|
|
site: docs.openstack.org
|
|
source: 'openstack-image-service-api/target/docbkx/webhelp/api/openstack-image-service/1.1/**'
|
|
target: ''
|
|
remove-prefix: 'openstack-image-service-api/target/docbkx/webhelp'
|
|
excludes: '**/*.xml,**/null*'
|