Add a tempest job for python-ironic-inspector-client
We're migrating away from our old bash-based jobs to proper tempest ones. This change adds a non-voting tempest job to python-ironic-inspector-client. As the only potential point of failure is ironic - ironic-inspector interaction, this job only runs a shorter smoke test instead of our full one. Change-Id: I522fe18e063051acdf7b21af8dc453533838df7f
This commit is contained in:
parent
e713077224
commit
948a291925
@ -136,6 +136,14 @@
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_NODE_NOT_FOUND_HOOK=enroll"
|
||||
fi
|
||||
|
||||
- builder:
|
||||
name: ironic-inspector-client-from-source
|
||||
builders:
|
||||
- ironic-extra-vars:
|
||||
script: |
|
||||
export PROJECTS="openstack/python-ironic-inspector-client $PROJECTS"
|
||||
export DEVSTACK_PROJECT_FROM_GIT="python-ironic-inspector-client,$DEVSTACK_PROJECT_FROM_GIT"
|
||||
|
||||
- builder:
|
||||
name: ironic-postgres-enabled
|
||||
builders:
|
||||
@ -882,6 +890,39 @@
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-tempest-dsvm-python-ironic-inspector-client{job-suffix}'
|
||||
node: '{node}'
|
||||
|
||||
wrappers:
|
||||
- build-timeout:
|
||||
timeout: 180
|
||||
- timestamps
|
||||
|
||||
builders:
|
||||
- print-template-name:
|
||||
template-name: "{template-name}"
|
||||
- link-logs
|
||||
- net-info
|
||||
- devstack-checkout
|
||||
- ironic-deploy-with-IPA:
|
||||
ramdisk-type: 'tinyipa'
|
||||
- ironic-tempest-regex:
|
||||
tempest-regex: InspectorSmokeTest
|
||||
- ironic-inspector-enabled:
|
||||
inspector-auto-discovery: 0
|
||||
- devstack-virtual-ironic:
|
||||
build-ramdisk: ''
|
||||
deploy_driver: agent_ssh
|
||||
image-type: wholedisk
|
||||
branch-override: '{branch-override}'
|
||||
bm-vm-count: 1
|
||||
- ironic-inspector-client-from-source
|
||||
|
||||
publishers:
|
||||
- devstack-logs
|
||||
- console-log
|
||||
|
||||
- job-template:
|
||||
name: '{pipeline}-tempest-dsvm-ironic-inspector-discovery{job-suffix}'
|
||||
node: '{node}'
|
||||
|
@ -10947,6 +10947,11 @@
|
||||
node: ubuntu-trusty
|
||||
job-suffix: ''
|
||||
branch-override: default
|
||||
- '{pipeline}-tempest-dsvm-python-ironic-inspector-client{job-suffix}':
|
||||
pipeline: gate
|
||||
node: ubuntu-trusty
|
||||
job-suffix: '-nv'
|
||||
branch-override: default
|
||||
|
||||
- project:
|
||||
name: python-ironicclient
|
||||
|
@ -3059,6 +3059,9 @@ jobs:
|
||||
- name: ^gate-tempest-dsvm-ironic-inspector-discovery-nv$
|
||||
branch: ^(?!stable/liberty).*$
|
||||
|
||||
- name: ^gate-tempest-dsvm-python-ironic-inspector-client.*$
|
||||
branch: ^(?!stable/(liberty|mitaka)).*$
|
||||
|
||||
# NOTE(jlvilla): Ironic and Inspector Grenade do not work until after mitaka
|
||||
- name: ^gate-grenade-dsvm-ironic.*$
|
||||
branch: ^(?!stable/(liberty|mitaka)).*$
|
||||
@ -13605,6 +13608,7 @@ projects:
|
||||
- gate-python-ironic-inspector-client-tox-func-ubuntu-trusty
|
||||
- gate-python-ironic-inspector-client-tox-func-ubuntu-xenial
|
||||
- gate-python-ironic-inspector-client-dsvm
|
||||
- gate-tempest-dsvm-python-ironic-inspector-client-nv
|
||||
gate:
|
||||
- gate-python-ironic-inspector-client-pep8-ubuntu-trusty
|
||||
- gate-python-ironic-inspector-client-python27-ubuntu-trusty
|
||||
|
Loading…
Reference in New Issue
Block a user