d679cf6e01
JJB already has a tox module[1]. Defining a macro with the same name is confusing and may cause problems when attempting to use this macro elsewhere. Renaming it to something else should clear things up. This is the warning from JJB: $ jenkins-jobs test -o out ../project-config/jenkins/jobs WARNING:jenkins_jobs.registry:You have a macro ('tox') defined for 'builder' component type that is masking an inbuilt definition [1] http://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.tox Change-Id: I6946229f6e94a5f4c10d6a5fc3b7049adeacacb1
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
# Grenade does not support "python setup.py publish_sphinx", thus
|
|
# we cannot use the normal docs jobs.
|
|
- job:
|
|
name: grenade-publish-docs
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- run-tox:
|
|
envlist: 'docs'
|
|
- add-docs-root-marker:
|
|
docsrootdir: doc/build/html
|
|
|
|
publishers:
|
|
- ftp:
|
|
site: 'docs.openstack.org'
|
|
source: 'doc/build/html/**'
|
|
target: 'developer/grenade'
|
|
remove-prefix: 'doc/build/html'
|
|
excludes: ''
|
|
- afs:
|
|
site: afs-docs
|
|
source: 'doc/build/html/**'
|
|
target: 'developer/grenade'
|
|
remove-prefix: 'doc/build/html'
|
|
- console-log
|
|
|
|
- job:
|
|
name: gate-grenade-publish-docs
|
|
node: ubuntu-trusty
|
|
|
|
builders:
|
|
- zuul-git-prep-upper-constraints
|
|
- install-distro-packages
|
|
- revoke-sudo
|
|
- run-tox:
|
|
envlist: 'docs'
|
|
|
|
publishers:
|
|
- upload-sphinx-draft
|
|
- console-log
|