Add gitreview, zuul config, fix coverage, fix lint
Partial-bug: #1838578 Change-Id: I3326067da7f36779462e951447ad61d2a8ccdd3c
This commit is contained in:
parent
f42749a083
commit
5a66794cca
|
@ -0,0 +1,4 @@
|
|||
[gerrit]
|
||||
host=review.opendev.org
|
||||
port=29418
|
||||
project=openstack/charm-masakari-monitors.git
|
|
@ -0,0 +1,4 @@
|
|||
- project:
|
||||
templates:
|
||||
- python35-charm-jobs
|
||||
- openstack-cover-jobs
|
|
@ -1,4 +1,7 @@
|
|||
# Requirements to build the charm
|
||||
charm-tools
|
||||
# This file is managed centrally. If you find the need to modify this as a
|
||||
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
||||
# requirements management in charms via bot-control. Thank you.
|
||||
#
|
||||
# Build requirements
|
||||
charm-tools>=2.4.4
|
||||
simplejson
|
||||
flake8
|
|
@ -59,6 +59,6 @@ class MasakariMonitorsCharm(charms_openstack.charm.OpenStackCharm):
|
|||
project='services')
|
||||
|
||||
def install(self):
|
||||
#charmhelpers.fetch.add_source('ppa:corey.bryant/bionic-stein')
|
||||
# TODO: Stop using the PPA; https://bugs.launchpad.net/bugs/1838578
|
||||
charmhelpers.fetch.add_source('ppa:gnuoy/bionic-stein')
|
||||
super(MasakariMonitorsCharm, self).install()
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
# Unit test requirements
|
||||
# This file is managed centrally. If you find the need to modify this as a
|
||||
# one-off, please don't. Intead, consult #openstack-charms and ask about
|
||||
# requirements management in charms via bot-control. Thank you.
|
||||
#
|
||||
# Lint and unit test requirements
|
||||
flake8>=2.2.4,<=2.4.1
|
||||
os-testr>=0.4.1
|
||||
stestr>=2.2.0
|
||||
requests>=2.18.4
|
||||
charms.reactive
|
||||
mock>=1.2
|
||||
nose>=1.3.7
|
||||
coverage>=3.6
|
||||
git+https://github.com/openstack/charms.openstack#egg=charms.openstack
|
||||
git+https://github.com/openstack/charms.openstack.git#egg=charms.openstack
|
||||
|
|
Loading…
Reference in New Issue