Add publication job for service-types-authority data
Change the validate job to use the publish environment, since that actually runs the full generation and local publication. Update that to copy the generated files to the log server for examination, both whatever is generated, and whatever publish thinks should be published. Add a job that publishes those results to the service-types directory on static.openstack.org so that the service-types.openstack.org VHOST can serve them. Change-Id: I89e909f552afe967af9875799f599088957870cc
This commit is contained in:
parent
62ec53a776
commit
ff065a8e30
|
@ -14280,10 +14280,6 @@
|
|||
- specs-jobs
|
||||
- 'gate-{name}-pep8-{node}':
|
||||
node: ubuntu-xenial
|
||||
- 'gate-{name}-tox-{envlist}-{node}':
|
||||
envlist:
|
||||
- validate
|
||||
node: ubuntu-xenial
|
||||
|
||||
- project:
|
||||
name: shade
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
- job:
|
||||
name: gate-service-types-authority-validate
|
||||
description: Validates service-types-authority data
|
||||
node: ubuntu-xenial
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 40
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- zuul-git-prep
|
||||
- install-distro-packages
|
||||
- extra-test-setup
|
||||
- revoke-sudo
|
||||
- run-tox:
|
||||
envlist: publish
|
||||
- assert-no-extra-files
|
||||
|
||||
publishers:
|
||||
- test-results
|
||||
- scp:
|
||||
site: 'static.openstack.org'
|
||||
files:
|
||||
- target: 'logs/$LOG_PATH'
|
||||
source: 'publish'
|
||||
keep-hierarchy: true
|
||||
copy-after-failure: true
|
||||
- target: 'logs/$LOG_PATH'
|
||||
source: 'service-types.json*'
|
||||
keep-hierarchy: true
|
||||
copy-after-failure: true
|
||||
- console-log
|
||||
|
||||
- job:
|
||||
name: publish-service-types-authority
|
||||
description: Publish service-types data
|
||||
node: ubuntu-xenial
|
||||
|
||||
builders:
|
||||
- zuul-git-branch-prep
|
||||
- install-distro-packages
|
||||
- revoke-sudo
|
||||
- run-tox:
|
||||
envlist: publish
|
||||
|
||||
publishers:
|
||||
- scp:
|
||||
site: 'static.openstack.org'
|
||||
files:
|
||||
- target: 'service-types'
|
||||
source: 'publish'
|
||||
keep-hierarchy: false
|
||||
copy-after-failure: false
|
||||
- console-log
|
|
@ -17788,10 +17788,12 @@ projects:
|
|||
- name: openstack-specs-jobs
|
||||
check:
|
||||
- gate-service-types-authority-pep8-ubuntu-xenial
|
||||
- gate-service-types-authority-tox-validate-ubuntu-xenial
|
||||
- gate-service-types-authority-validate
|
||||
gate:
|
||||
- gate-service-types-authority-pep8-ubuntu-xenial
|
||||
- gate-service-types-authority-tox-validate-ubuntu-xenial
|
||||
- gate-service-types-authority-validate
|
||||
post:
|
||||
- publish-service-types-authority
|
||||
|
||||
- name: openstack/shaker
|
||||
template:
|
||||
|
|
Loading…
Reference in New Issue