project-config/jenkins/jobs/service-types.yaml
Monty Taylor c6013cd88b
Use zuul-git-prep for service-types publication
zuul-branch-git-prep doesn't work in post jobs. service-types-authority
is also branchless.

Change-Id: I106cb88dd220b92c3cc9c9a31b2a4f821675044a
2017-07-06 14:43:31 -05:00

56 lines
1.3 KiB
YAML

- 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-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