Add a unit test job with Sushy from source
The final goal is to run it on sushy itself to make sure there are no regressions. Change-Id: I6f4bee9a3fa439b1477c41c82304652a801ea55e
This commit is contained in:
@@ -1043,3 +1043,27 @@
|
|||||||
EBTABLES_RACE_FIX: True
|
EBTABLES_RACE_FIX: True
|
||||||
LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
|
LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
|
||||||
IRONIC_VM_LOG_DIR: '/opt/stack/ironic-bm-logs'
|
IRONIC_VM_LOG_DIR: '/opt/stack/ironic-bm-logs'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: ironic-cross-sushy
|
||||||
|
description: Ironic unit tests run with Sushy from source
|
||||||
|
parent: openstack-tox
|
||||||
|
required-projects:
|
||||||
|
- opendev.org/openstack/ironic
|
||||||
|
- opendev.org/openstack/sushy
|
||||||
|
irrelevant-files:
|
||||||
|
- ^.*\.rst$
|
||||||
|
- ^api-ref/.*$
|
||||||
|
- ^devstack/.*$
|
||||||
|
- ^doc/.*$
|
||||||
|
- ^releasenotes/.*$
|
||||||
|
- ^tools/.*$
|
||||||
|
vars:
|
||||||
|
# NOTE(dtantsur): change this every release cycle if needed.
|
||||||
|
bindep_profile: test py38
|
||||||
|
tox_envlist: py38
|
||||||
|
# This variable ensures that sushy is installed from source.
|
||||||
|
tox_install_siblings: true
|
||||||
|
# NOTE(dtantsur): this job will be run on sushy as well, so it's
|
||||||
|
# important to set the working dir to the Ironic checkout.
|
||||||
|
zuul_work_dir: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/ironic'].src_dir }}"
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- ironic-tox-unit-with-driver-libs
|
- ironic-tox-unit-with-driver-libs
|
||||||
|
- ironic-cross-sushy:
|
||||||
|
voting: false
|
||||||
- ironic-tempest-functional-python3
|
- ironic-tempest-functional-python3
|
||||||
- ironic-tempest-functional-rbac-scope-enforced
|
- ironic-tempest-functional-rbac-scope-enforced
|
||||||
- ironic-grenade
|
- ironic-grenade
|
||||||
|
|||||||
Reference in New Issue
Block a user