Add gerrit and zuul bits

Update first supported release to be from UCA bionic-train / eoan.

Change-Id: I77d4209fc56b4b9bb2a5f8d3666316f77e64289d
This commit is contained in:
Frode Nordahl 2019-10-18 06:48:08 +02:00
parent 0487906694
commit 1e60877bc2
No known key found for this signature in database
GPG Key ID: 6A5D59A3BA48373F
8 changed files with 25 additions and 9 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.opendev.org
port=29418
project=x/charm-ovn-central.git

4
.zuul.yaml Normal file
View File

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

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import collections
import os
import subprocess
@ -48,7 +49,14 @@ def ovn_ca_cert(cls):
class OVNCentralCharm(charms_openstack.charm.OpenStackCharm):
release = 'stein'
# OpenvSwitch and OVN is distributed as part of the Ubuntu Cloud Archive
# Pockets get their name from OpenStack releases
release = 'train'
package_codenames = {
'ovn-central': collections.OrderedDict([
('2.12', 'train'),
]),
}
name = 'ovn-central'
packages = ['ovn-central']
services = ['ovn-central']

View File

@ -25,7 +25,7 @@ tags:
- networking
series:
- bionic
- disco
- eoan
subordinate: false
provides:
ovsdb:

View File

@ -8,4 +8,4 @@ flake8>=2.2.4,<=2.4.1
stestr>=2.2.0
requests>=2.18.4
git+https://github.com/openstack-charmers/zaza.git#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git@add-ovn#egg=zaza.openstack
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack

View File

@ -16,4 +16,4 @@ applications:
charm: cs:~openstack-charmers-next/ovn-central
num_units: 3
options:
source: cloud:bionic-stein
source: cloud:bionic-train

View File

@ -1,4 +1,4 @@
series: disco
series: eoan
relations:
- - vault:shared-db
- mysql:shared-db
@ -6,12 +6,12 @@ relations:
- vault:certificates
applications:
mysql:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
vault:
charm: cs:~openstack-charmers-next/vault
num_units: 1
ovn-central:
series: disco
series: eoan
charm: cs:~openstack-charmers-next/ovn-central
num_units: 3

View File

@ -1,6 +1,6 @@
charm_name: ovn-central
gate_bundles:
- disco
- eoan
- bionic
smoke_bundles:
- bionic