diff --git a/zuul.d/ironic-jobs.yaml b/zuul.d/ironic-jobs.yaml index ee25c61b62..b4c4533a0e 100644 --- a/zuul.d/ironic-jobs.yaml +++ b/zuul.d/ironic-jobs.yaml @@ -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 }}" diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index a6a8f35bd2..869144ba3b 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -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