Add .gitreview and .zuul.yaml

Adds zOSCI config
Disables one func test because of need for hardware

Change-Id: I6353afbe068838ccc60b268c21d9e2d2473891be
This commit is contained in:
Gustavo Sanchez 2022-01-18 12:16:07 -04:00
parent d6194069f8
commit 4b69589843
No known key found for this signature in database
GPG Key ID: CB6FDA23F1075685
5 changed files with 23 additions and 7 deletions

4
.gitreview Normal file
View File

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

4
.zuul.yaml Normal file
View File

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

9
osci.yaml Normal file
View File

@ -0,0 +1,9 @@
- project:
templates:
- charm-unit-jobs
check:
jobs:
- focal-ussuri
vars:
needs_charm_build: true
charm_build_name: cinder-solidfire

View File

@ -53,17 +53,15 @@ applications:
overwrite: "true"
to:
- '5'
# SUBORDINATES
cinder-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
# src charm
cinder-solidfire:
charm: cs:~gustavosr98/cinder-solidfire
charm: ../../cinder-solidfire
options:
san-ip: 10.0.0.5
san-login: username
san-login: username
san-password: password
relations:

View File

@ -54,7 +54,8 @@ class CinderSolidfireTest(test_utils.OpenStackBaseTest):
model_name=self.model_name,
timeout=2)
def test_create_volume(self):
# Disabled while there is no hardware Solidfire 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,