986f65738d
When we publish new service-types.json files we need to update the builtin fallback data for os-service-types. Add a proposal script update and job. Only trigger the job after the publish job runs, since the proposal script fetches the json file from the publication site. Change-Id: I139235e4e4644700e4197737c5ce62ba32b86b07
72 lines
1.7 KiB
YAML
72 lines
1.7 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
|
|
|
|
- job:
|
|
name: propose-service-types-update
|
|
description: Update os-service-types from Service Types Authority
|
|
node: proposal
|
|
|
|
builders:
|
|
- proposal-slave-cleanup
|
|
- revoke-sudo
|
|
- link-logs
|
|
- net-info
|
|
- zuul-git-prep
|
|
- shell: /usr/local/jenkins/slave_scripts/propose_update.sh os-service-types
|
|
|
|
publishers:
|
|
- console-log
|