2014-04-21 17:02:54 -04:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-infra-docs'
|
2017-04-22 19:45:37 +02:00
|
|
|
node: ubuntu-xenial
|
2014-04-21 17:02:54 -04:00
|
|
|
|
|
|
|
builders:
|
2015-11-25 20:39:22 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-08 11:01:53 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2014-06-27 23:37:48 -07:00
|
|
|
- docs
|
2014-04-21 17:02:54 -04:00
|
|
|
|
|
|
|
publishers:
|
2016-09-27 10:22:37 -07:00
|
|
|
- afs:
|
|
|
|
site: 'afs-docs'
|
|
|
|
source: 'doc/build/html/**'
|
|
|
|
target: 'infra/{doc-publisher-folder}'
|
2016-09-29 10:15:11 -07:00
|
|
|
remove-prefix: 'doc/build/html'
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|
2014-04-21 17:02:54 -04:00
|
|
|
|
2016-06-29 20:47:16 +02:00
|
|
|
- job-template:
|
|
|
|
name: '{name}-infra-docs-tags-only'
|
|
|
|
description: Publish infra documents, use when only publish on tag
|
2016-12-06 14:47:08 -08:00
|
|
|
node: ubuntu-xenial
|
2016-06-29 20:47:16 +02:00
|
|
|
|
|
|
|
builders:
|
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-06-29 20:47:16 +02:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
|
|
|
- docs-tags-only-env:
|
|
|
|
env: venv
|
|
|
|
|
|
|
|
publishers:
|
2016-09-27 10:22:37 -07:00
|
|
|
- afs:
|
|
|
|
site: 'afs-docs'
|
|
|
|
source: 'doc/build/html/**'
|
|
|
|
target: 'infra/{doc-publisher-folder}'
|
2016-09-29 10:15:11 -07:00
|
|
|
remove-prefix: 'doc/build/html'
|
2016-06-29 20:47:16 +02:00
|
|
|
- console-log
|
|
|
|
|
2015-04-16 17:05:04 +00:00
|
|
|
- job:
|
|
|
|
name: publish-infra-docs-index
|
|
|
|
description: Render and publish the infra docs index.
|
2016-12-06 14:47:08 -08:00
|
|
|
node: ubuntu-xenial
|
2015-04-16 17:05:04 +00:00
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 17:38:30 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-04-16 17:05:04 +00:00
|
|
|
envlist: infra-docs
|
2017-01-12 21:15:47 +01:00
|
|
|
- add-docs-root-marker:
|
|
|
|
docsrootdir: docs-site/output/
|
2015-04-16 17:05:04 +00:00
|
|
|
|
|
|
|
publishers:
|
2016-09-27 10:22:37 -07:00
|
|
|
- afs:
|
|
|
|
site: 'afs-docs'
|
2017-01-13 07:25:02 +01:00
|
|
|
source: 'docs-site/output/**'
|
2016-09-27 10:22:37 -07:00
|
|
|
target: 'infra/'
|
2016-09-29 10:15:11 -07:00
|
|
|
remove-prefix: 'docs-site/output/'
|
2015-04-16 17:05:04 +00:00
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job:
|
2015-07-13 19:37:56 +02:00
|
|
|
name: gate-infra-docs-index
|
2015-04-16 17:05:04 +00:00
|
|
|
description: Render the infra docs index without publishing it.
|
2016-12-06 14:47:08 -08:00
|
|
|
node: ubuntu-xenial
|
2015-04-16 17:05:04 +00:00
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 17:38:30 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-04-16 17:05:04 +00:00
|
|
|
envlist: infra-docs
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
2014-04-21 17:02:54 -04:00
|
|
|
- job-group:
|
|
|
|
name: infra-publish-jobs
|
|
|
|
jobs:
|
|
|
|
- '{name}-infra-docs'
|
2016-06-29 20:47:16 +02:00
|
|
|
- '{name}-infra-docs-tags-only'
|