ci: add Zuul configuration
Add basic check tasks for Zuul. Add git review configuration. Pull in PEP8 related fixes, Co-Authored-By: Nikolay Vinogradov <nikolay.vinogradov@canonical.com> Change-Id: If40926f8c71541d954056a5b275e1283c5ce85ae
This commit is contained in:
parent
e9decc84f0
commit
83d39f258a
5
.gitreview
Normal file
5
.gitreview
Normal file
@ -0,0 +1,5 @@
|
||||
[gerrit]
|
||||
host=review.opendev.org
|
||||
port=29418
|
||||
project=openstack/charm-cinder-infinidat.git
|
||||
defaultbranch=main
|
4
.zuul.yaml
Normal file
4
.zuul.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-python3-charm-yoga-jobs
|
||||
- openstack-cover-jobs
|
@ -16,18 +16,15 @@
|
||||
|
||||
"""Encapsulate cinder-infinidat testing."""
|
||||
|
||||
import zaza.charm_lifecycle.utils as lifecycle_utils
|
||||
import zaza.openstack.utilities.openstack as openstack
|
||||
import zaza.openstack.utilities.generic as generic
|
||||
from zaza.openstack.charm_tests.cinder_backend.tests import CinderBackendTest
|
||||
|
||||
from zaza.openstack.charm_tests.cinder.tests import CinderTests
|
||||
|
||||
|
||||
import zaza.model as zaza_model
|
||||
import cinderclient.exceptions as cinder_exceptions
|
||||
|
||||
BACKEND_NAME = 'cinder-infinidat'
|
||||
|
||||
|
||||
def configure_default_volume_type():
|
||||
|
||||
session = openstack.get_overcloud_keystone_session()
|
||||
@ -43,6 +40,7 @@ def configure_default_volume_type():
|
||||
except cinder_exceptions.NotFound:
|
||||
raise
|
||||
|
||||
|
||||
class CinderInfinidatBackendTest(CinderBackendTest):
|
||||
"""Encapsulate Infinidat tests."""
|
||||
|
||||
@ -59,6 +57,7 @@ class CinderInfinidatBackendTest(CinderBackendTest):
|
||||
def test_create_volume(self):
|
||||
return super().test_create_volume()
|
||||
|
||||
|
||||
class CinderInfinidatTest(CinderTests):
|
||||
"""
|
||||
Re-use most relevant existing Cinder tests,
|
||||
@ -70,5 +69,3 @@ class CinderInfinidatTest(CinderTests):
|
||||
|
||||
def test_900_restart_on_config_change(self):
|
||||
return
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user