Add .gitreview and .zuul.yaml files

Disables one func test because of need for hardware

Change-Id: Ib27b75b09fae3ad36b73d9d2109261edde892248
This commit is contained in:
Gustavo Sanchez
2022-01-18 12:15:52 -04:00
parent 85c0739df1
commit 35c5b97a01
7 changed files with 23 additions and 9 deletions

4
.gitreview Normal file
View File

@@ -0,0 +1,4 @@
[gerrit]
host=review.opendev.org
port=29418
project=openstack/charm-cinder-nimblestorage.git

4
.zuul.yaml Normal file
View File

@@ -0,0 +1,4 @@
- project:
templates:
- openstack-python3-ussuri-jobs
- openstack-cover-jobs

View File

@@ -1,4 +1,6 @@
series: bionic
variables:
openstack-origin: &openstack-origin cloud:bionic-rocky
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
@@ -18,19 +20,18 @@ applications:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: cloud:bionic-rocky
openstack-origin: *openstack-origin
to:
- '1'
cinder:
charm: cs:~openstack-charmers-next/cinder
num_units: 1
options:
openstack-origin: cloud:bionic-rocky
openstack-origin: *openstack-origin
to:
- '2'
cinder-nimblestorage:
series: bionic
charm: cinder-nimblestorage
charm: ../../cinder-nimblestorage
options:
volume-driver: 'iscsi'
volume-backend-name: 'nimble-storage-iscsi'

View File

@@ -58,7 +58,7 @@ applications:
charm: cs:~openstack-charmers-next/mysql-router
cinder-nimblestorage:
charm: cinder-nimblestorage
charm: ../../cinder-nimblestorage
options:
volume-driver: 'iscsi'
volume-backend-name: 'nimble-storage-iscsi'

View File

@@ -1,4 +1,6 @@
series: xenial
variables:
openstack-origin: &openstack-origin cloud:xenial-ocata
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
@@ -18,19 +20,19 @@ applications:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
openstack-origin: cloud:xenial-ocata
openstack-origin: *openstack-origin
to:
- '1'
cinder:
charm: cs:~openstack-charmers-next/cinder
num_units: 1
options:
openstack-origin: cloud:xenial-ocata
openstack-origin: *openstack-origin
to:
- '2'
cinder-nimblestorage:
series: xenial
charm: cinder-nimblestorage
charm: ../../cinder-nimblestorage
options:
volume-driver: 'iscsi'
volume-backend-name: 'nimble-storage-iscsi'

View File

@@ -4,6 +4,8 @@ tests:
configure:
- zaza.openstack.charm_tests.keystone.setup.add_demo_user
gate_bundles:
- xenial-ocata
- bionic-rocky
- focal-ussuri
smoke_bundles:
- focal-ussuri

View File

@@ -66,7 +66,8 @@ class CinderNimblestorageTest(test_utils.OpenStackBaseTest):
model_name=self.model_name,
timeout=2)
def test_create_volume(self):
# Disabled while there is no hardware Nimblestorage appliance
def _disabled_test_create_volume(self):
test_vol_name = "zaza{}".format(uuid.uuid1().fields[0])
vol_new = self.cinder_client.volumes.create(
name=test_vol_name,