heat-dashboard/.zuul.yaml
manchandavishal 68f5d8c494 Fixed Unit test for Heat-dashboard
After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates heat-dashboard to import RestAPITestCase
class instead of TestCase. For more info. see [1]

It also update few packages version in lower-constraints.txt and
other files to fix lower-constraints job.

[1] https://review.opendev.org/c/openstack/horizon/+/827097/2/openstack_dashboard/test/helpers.py#485

NOTE: py36 support has been dropped for Zed, so py36 UT no longer works
with upper-constraints for Zed. Thus, the zuul job template is updated
for Zed in this commit together. This commit also needs to be backported
to stable/yoga to fix the UT. When backported, make sure not to include
the zuul template change for Zed.

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I81241b2225f1e8b7b38f8f03928d5b4c0b4c8094
2022-05-24 00:42:38 +09:00

37 lines
1019 B
YAML

- job:
name: heat-dashboard-integration-tests
parent: horizon-integration-tests
required-projects:
- name: openstack/horizon
- name: openstack/heat
- name: openstack/python-heatclient
- name: openstack/heat-dashboard
roles:
- zuul: openstack-infra/devstack
- zuul: openstack/horizon
irrelevant-files:
- ^.*\.rst$
- ^doc/.*$
- ^releasenotes/.*$
vars:
devstack_plugins:
heat: https://opendev.org/openstack/heat
heat-dashboard: https://opendev.org/openstack/heat-dashboard
devstack_services:
horizon: true
tox_envlist: integration
- project:
templates:
- check-requirements
- horizon-non-primary-django-jobs
- horizon-nodejs14-jobs
- openstack-lower-constraints-jobs
- openstack-python3-zed-jobs-horizon
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- heat-dashboard-integration-tests:
voting: false