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:
Dmitry Tantsur 2021-11-19 14:29:27 +01:00
parent 2ddd8ef2ca
commit 028448afe4
2 changed files with 26 additions and 0 deletions

View File

@ -1043,3 +1043,27 @@
EBTABLES_RACE_FIX: True
LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
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 }}"

View File

@ -11,6 +11,8 @@
check:
jobs:
- ironic-tox-unit-with-driver-libs
- ironic-cross-sushy:
voting: false
- ironic-tempest-functional-python3
- ironic-tempest-functional-rbac-scope-enforced
- ironic-grenade