Commit Graph

305 Commits

Author SHA1 Message Date
Witek Bedyk
0e502cc463 [GateFix] Ignore false positive bandit B105 test failure
Bandit B105 hardcoded_password_string[1] is causing gate failure,
which is false positive.
Added a # nosec comment to skip Bandit testing of that line.

[1] https://bandit.readthedocs.io/en/latest/plugins/b105_hardcoded_password_string.html

Add local bindep.txt to include PostgreSQL dependendencies for testing.

Story: 2006058
Task: 34771

Change-Id: I579754a0e093e192366ad2783bd766473227e761
2019-06-27 17:57:12 +02:00
Arseni Lipinski
f708d32bf1 Change repository links usage in Dockerfile and build image
Used to be: git.openstack.org/openstack/monasca-persister?h=stable/pike
Now : opendev.org/openstack/monasca-persister/src/branch/stable/pike

Since the way links to specific branches changed, usage of
those links has to be changed as well.
CONSTRAINTS_BRANCH variable was removed because CONSTRAINTS_FILE
contains link to the upper-requirements file with specified branch.

Story: 2005666
Task: 30970
Change-Id: I704cd025d6ccf7e9769a276d6094c4e2f3fb69ef
2019-05-29 09:24:14 +00:00
Doug Szumski
36bf8595c4 Fix loading of notification plugins
Inconsistent naming of plugins can cause an import error. This
commit standardises the naming so that all imports are parsed
correctly.

Story: 2005545
Task: 30689

Change-Id: Ife27fed83d28d47cc99ee07c4a8c0c4dac32c2da
2019-05-16 09:54:05 +00:00
zhangjianweibj
7e65b1a023 Fix statsd enable option in docker env
Fix statsd enable option be covered.This option be covered by
the previously commit (https://review.opendev.org/#/c/651763/).

Change-Id: Ic0fc81f3616c9c616bf6822a0191c7c214142c2d
2019-05-16 07:05:16 +00:00
Witek Bedyk
1837192534 Blacklist bandit and update sphinx requirement
The change blacklists the buggy version of bandit (1.6.0) and syncs
sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I21c8a7ef793874a5ab7a4d277c9c3eb13896503d
Story: 2005676
Task: 30990
2019-05-15 15:56:49 +02:00
OpenDev Sysadmins
ac837fa3cc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:29:46 +00:00
Zuul
49bbc6e6f1 Merge "Fix docker mysql env variables" 2019-04-17 13:53:37 +00:00
Zuul
33c6eb1329 Merge "Push Docker image to Docker Hub" 2019-04-17 13:21:25 +00:00
Zuul
a4f1c9b9ad Merge "Dropping the py35 testing" 2019-04-17 09:02:12 +00:00
Dobroslaw Zybort
34c75eb2c7 Push Docker image to Docker Hub
Change-Id: Iaf4045e62e3de92b874dbfbc22b8708f577990ef
Story: 2001694
Task: 30513
2019-04-15 15:10:54 +02:00
Zuul
e23814772c Merge "Add Python Jira module to requirements" 2019-04-15 12:09:09 +00:00
Dobroslaw Zybort
9bab3d7243 Fix docker mysql env variables
Make mysql env variables consistent with rest images. Fix README.

Change-Id: I2470db46c07bc991278276fad74ba9c5e267ae2b
2019-04-15 14:03:38 +02:00
Ghanshyam Mann
2d129b3499 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I579dea229152bde1178f06eab75bc19a44c474fd
2019-04-14 23:49:39 +00:00
Doug Szumski
77328b74f4 Add Python Jira module to requirements
The Jira module is now available in global-requirements:
https://review.openstack.org/#/c/562151/

Since the Jira module is now loaded by default, it always
needs to be installed. If a future change prevents loading
of the Jira module unless the Jira plugin is enabled then
this change can be reverted.

Change-Id: I3fea82e681cd49aab5cd6afc29c60302af7b63b7
Story: 2005400
Task: 30394
2019-04-12 11:33:13 +01:00
Zuul
efdb16fd1f Merge "Use proper naming for docker service image zuul job" 2019-04-10 13:23:36 +00:00
Dobroslaw Zybort
dde32a8993 Use proper naming for docker service image zuul job
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: I2d69ba43834b720dc24508ce146729a83c2bc49b
Depends-On: https://review.openstack.org/#/c/650011
2019-04-09 10:52:58 +02:00
zhangjianweibj
8db26df094 Docker support statsd disabled
Support statsd disabled in docker environment.

Change-Id: I96b7f257b03142245653c4914834d47df1612ef4
2019-04-08 11:56:06 +00:00
Dobroslaw Zybort
bcc64929f3 Add missing jira lib installation in docker
Change-Id: I1828ce5c2954870bb21454a715bb563a701b8ff5
2019-04-08 08:42:54 +00:00
Dobroslaw Zybort
85d7d6520d Bump psycopg2 lowest version
There is a bug in 2.6 line of psycopg2 that does not properly detect
Postgresql 10 versions.

https://github.com/psycopg/psycopg2/issues/489

Change-Id: If5f773fb9e1ee2cb4e3fff71cd65539caa065e10
2019-04-08 09:12:48 +02:00
5248096546 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.

Change-Id: I19dc372b5083371d99be538bad633852564e084c
Sem-Ver: feature
2019-04-01 12:53:07 +00:00
Zuul
65a40ad899 Merge "Use global job for building docker image" 2019-03-04 13:37:26 +00:00
Dobroslaw Zybort
e35d32ad8d Use global job for building docker image
Change-Id: Iaa832b5de5f7e8a0f6bcd44513f675195d4a897e
Story: 2001694
Task: 23214
2019-02-18 11:13:45 +01:00
ZhongShengping
8c63ee13d3 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I843daa0fa11b68c68a4d4f86b1c429fc94d72a3b
2019-02-18 15:43:10 +08:00
Zuul
5f21b325ba Merge "Replace notification.conf with monasca-notification.conf" 2019-02-13 15:59:23 +00:00
Zuul
8fb62bf11f Merge "Configure releasenotes job" 2019-02-13 15:51:28 +00:00
Zuul
93574c6bf1 Merge "Includes missing configuration options" 2019-02-12 23:14:40 +00:00
Zuul
7d43228214 Merge "Update hacking version to latest" 2019-02-11 13:20:31 +00:00
melissaml
226a070b4a Update hacking version to latest
Story: 2004930
Task: 29317

Change-Id: I8d7ad198599943fc23a8a55d25eab672c096725d
2019-02-08 15:49:23 +01:00
Thomas Bechtold
47b807eeb8 Replace notification.conf with monasca-notification.conf
notification.conf is the deprecated path for the configuration file.
The new path is /etc/monasca/monasca-notification.conf .

Note: devstack is still using the deprecated configuration file. This
will be change in another changeset (against openstack/monasca-api).

Change-Id: I9ef1d7149308893544ad4d6fef4f3281da676171
Story: 2004862
Task: 29103
2019-02-01 10:13:25 +00:00
Witek Bedyk
0f316afc87 Configure releasenotes job
Change-Id: Iedd229fa9669d0b6d6d59eb111a44bdf1d0bc80e
2019-02-01 09:40:26 +01:00
Zuul
e6f2f2b6fe Merge "Bug Fix: Parses notifier configuration options" 2019-01-31 18:07:18 +00:00
Charana Nandasena
00cc2527e3 Includes missing configuration options
Includes missing configuration options for notifiers
in generated config file.

Change-Id: I06e6d51bca3b180768bc8c71ff10c9f6e69c5e8b
Story: #2003793
Task: #26506
2019-01-25 11:54:54 +01:00
Charana Nandasena
2bc16e7834 Bug Fix: Parses notifier configuration options
Successfully parses configuration options for enabled notifiers.
IMPORTANT: This requires the built-in notifiers be "enabled"
in the configuration.

This patch is compliant with `https://review.openstack.org/#/c/435136/`
that in summary makes every notifier pluggable as apposed distinguished
built-in and pluggable notifiers.

Change-Id: I818212344268de5e90e72c5493a8632476ba254b
Story: #2003794
Task: #26507
2019-01-25 11:54:54 +01:00
Thomas Bechtold
e20131f177 Fix help text for [kafka]url option
The "url" is for the kafka cluster, not the zookeeper cluster.

Change-Id: I29c898b4e39fd25f54572248c0cf8638afcc7f92
2019-01-25 10:46:37 +01:00
Joe Keen
1d680f1739 Make default notifiers pluggable
Erasing distinction between plugins that are an inherent part of the
notification engine and plugins that can be specified via the config file.
Fixing broken tests.

Story: 2003801
Task: 26532
Change-Id: I360cc2ad0782f209606706bf1869570fdae2260d
2019-01-17 11:58:45 +01:00
Zuul
cedb42da75 Merge "Update Zuul tempest test job names" 2019-01-11 14:10:25 +00:00
Witek Bedyk
8628a32e43 Update Zuul tempest test job names
Change-Id: I8a35b1e25fcfb6dc54776b6cf683df81e3c339e8
2019-01-09 17:38:30 +01:00
Doug Szumski
9fb6663395 Update documentation
* Remove old yaml config file
* Provide instructions on how to run monasca-notification

Change-Id: If764e666209acbefe80be4de8743d54e371cca58
2019-01-07 09:47:23 +00:00
Adrian Czarnecki
4ffa8dee1d Update claassifiers in setup.cfg
Story: 2000975
Task: 28479
Change-Id: Ibff09456a2dcedf81f3f3799478730e8d958c771
2018-12-12 14:12:11 +01:00
melissaml
ea9061d9b9 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Idb178424305c9a7e85c528a7b4d066ca30ec9bee
2018-12-05 01:32:41 +08:00
Nguyen Hai Truong
c9ef9d9d02 trivial fix: Correct some spelling errors
Small modification to correct spelling mistake.

Change-Id: Ic7f145291dc5829cf6955b8714c87dba96e04bde
2018-11-08 01:08:05 -08:00
Nguyen Hai Truong
cf0d349b56 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ie416bb7ae6876e29f4ec2d376df09710a4a454ae
2018-11-06 01:28:18 -08:00
Sean McGinnis
9facd77247 Remove setup.py check from pep8 job
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.

Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.

More details can be found in this mailing list post:

http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html

Change-Id: If6b6ce5a6ad26c5a9bdc7ec819a1993411b848a4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-30 10:10:00 -05:00
Witold Bedyk
9bc2d7bd52 Fix team and repository tags in README.rst
Change-Id: I61a940ca1044fb03db0498cbd776e6debae5c033
2018-10-16 14:09:00 +02:00
Christian Brandstetter
392b325a73 Add tooling for building Docker image
Change-Id: If1023b4c2d19b21feb4de05424af203f89507468
Story: 2001694
Task: 23181
2018-10-05 15:42:57 +02:00
Dobroslaw Zybort
c8b9b81f61 Py3: Fix encoding of message in RetryEngine
Change-Id: I07b96fb8ed486d620f9911827a1f3182fe0e9b84
2018-09-12 11:45:59 +00:00
Zuul
be267e3c10 Merge "Fix loading yaml file warning in Python 3" 2018-09-12 06:59:45 +00:00
Andreas Jaeger
524b27f87d Use templates for cover and lower-constraints
Use openstack-tox-cover template, this runs the cover job
in the check queue only.

Use openstack-lower-constraints-jobs template.

Remove jobs that are part of the templates.

Change-Id: I11c2d51bda39fa4d1cb89322c9f9bd132d61f11b
2018-09-08 16:17:59 +02:00
Dobroslaw Zybort
dca2fa82ef Fix loading yaml file warning in Python 3
Change-Id: I226850967632b87b5a84c053ea6d6d7ad081f9ab
2018-09-07 10:31:48 +02:00
Doug Hellmann
b09885bc28 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I987ea1413e86d6ce99aa085986cced20bb43860c
Story: #2002586
Task: #24312
2018-08-22 18:51:59 -04:00