Add AFS publishers to all docs jobs

This adds an equivalent AFS publisher everywhere we currently have
an FTP publisher.

Change-Id: Ie0bdedfeab7f7e7d831acbabd347ef5b26dfcc8b
This commit is contained in:
James E. Blair 2016-09-30 08:31:56 -07:00
parent 1d3e2a057f
commit 6dcebba9f8
8 changed files with 75 additions and 0 deletions

View File

@ -16,6 +16,11 @@
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- afs:
site: afs-developer-docs
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- test-results
- console-log
@ -37,6 +42,11 @@
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- afs:
site: afs-developer-docs
source: 'publish-docs/api-ref/**'
target: '/'
remove-prefix: 'publish-docs/api-ref/'
- test-results
- console-log
@ -77,6 +87,11 @@
source: 'api-guide/build/html/**'
target: 'api-guide/{service}'
remove-prefix: 'api-guide/build/html/'
- afs:
site: afs-developer-docs
source: 'api-guide/build/html/**'
target: 'api-guide/{service}'
remove-prefix: 'api-guide/build/html/'
- test-results
- console-log
@ -148,6 +163,11 @@
source: 'api-ref/build/html/**'
target: 'api-ref/{service}'
remove-prefix: 'api-ref/build/html/'
- afs:
site: afs-developer-docs
source: 'api-ref/build/html/**'
target: 'api-ref/{service}'
remove-prefix: 'api-ref/build/html/'
- test-results
- console-log
@ -184,5 +204,10 @@
target: 'sdks/python/openstacksdk'
remove-prefix: 'doc/build/html/'
excludes: ''
- afs:
site: afs-developer-docs
source: 'doc/build/html/**'
target: 'sdks/python/openstacksdk'
remove-prefix: 'doc/build/html/'
- test-results
- console-log

View File

@ -15,4 +15,9 @@
target: 'infra/elastic-recheck/'
remove-prefix: 'doc/build/html'
excludes: ''
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'infra/elastic-recheck/'
remove-prefix: 'doc/build/html'
- console-log

View File

@ -20,6 +20,11 @@
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:

View File

@ -27,6 +27,11 @@
target: 'infra/publications/'
remove-prefix: '_out/'
excludes: ''
- afs:
site: afs-docs
source: '_out/**'
target: 'infra/publications/'
remove-prefix: '_out/'
- console-log
- job:
@ -55,4 +60,9 @@
target: 'infra/publications/'
remove-prefix: 'output/'
excludes: ''
- afs:
site: afs-docs
source: 'output/**'
target: 'infra/publications/'
remove-prefix: 'output/'
- console-log

View File

@ -1306,6 +1306,11 @@
source: 'publish-docs/**'
target: '/'
remove-prefix: 'publish-docs/'
- afs:
site: afs-docs
source: 'publish-docs/**'
target: '/'
remove-prefix: 'publish-docs/'
- publisher:
name: upload-doc-build-results

View File

@ -112,6 +112,11 @@
source: 'install-guide/build/html/**'
target: 'project-install-guide/{service}'
remove-prefix: 'install-guide/build/html/'
- afs:
site: afs-docs
source: 'install-guide/build/html/**'
target: 'project-install-guide/{service}'
remove-prefix: 'install-guide/build/html/'
- console-log
# Be aware that the variable "service" needs to be set when this job

View File

@ -17,6 +17,11 @@
target: 'developer/{name}'
remove-prefix: 'doc/build/html'
excludes: ''
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'developer/{name}'
remove-prefix: 'doc/build/html'
- console-log
@ -41,6 +46,11 @@
target: 'developer/{name}'
remove-prefix: 'doc/build/html'
excludes: ''
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'developer/{name}'
remove-prefix: 'doc/build/html'
- console-log
@ -84,6 +94,11 @@
target: 'releasenotes/{name}'
remove-prefix: 'releasenotes/build/html'
excludes: ''
- afs:
site: afs-docs
source: 'releasenotes/build/html/**'
target: 'releasenotes/{name}'
remove-prefix: 'releasenotes/build/html'
- console-log

View File

@ -15,4 +15,9 @@
target: 'project-team-guide'
remove-prefix: 'doc/build/html'
excludes: ''
- afs:
site: afs-docs
source: 'doc/build/html/**'
target: 'project-team-guide'
remove-prefix: 'doc/build/html'
- console-log