474 Commits

Author SHA1 Message Date
Arseni Lipinski
807ebf0331 Change links usage
Story: 2005666
Task: 33510

Change-Id: Ic6e0cc1f6e70d8ad496104843831f737c4708dbe
2019-05-28 08:41:08 +00:00
Zuul
b6e1bb5a01 Merge "Upgrade Python version" 2019-05-22 09:01:03 +00:00
Zuul
04e98b5c9f Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-17 08:26:59 +00:00
Arseni Lipinski
3d824b7ed2 Upgrade Python version
Change-Id: If121aa807d80eb254b39b4e370418c0b22be8d75
2019-05-16 15:51:36 +02:00
Zuul
8b1e2ce35c Merge "Dropping the py35 testing" 2019-05-16 09:46:37 +00:00
Witek Bedyk
40b808647e Blacklist bandit 1.6.0
There's a regression[0] in bandit 1.6.0 which causes bandit to stop
respecting excluded directories, and our tests throw a bunch of
violations. Blacklist this version, but allow newer versions as there is
already a pull request[1] to fix it, and it is expected to be included
in the next release.

[0] https://github.com/PyCQA/bandit/issues/488
[1] https://github.com/PyCQA/bandit/pull/489

Change-Id: If2e5f82279981ced89da6fc134a238105be60d8b
Story: 2005676
Task: 30988
2019-05-14 16:55:01 +02:00
zhulingjie
16923fd947 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I52c17b2fcf73decfd1b0afd60ad82a030279570d
2019-04-25 01:08:20 +08:00
Ghanshyam Mann
625ed07491 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: If9c46ca5a80128bb8c6a9bd9863c4c3305bae54c
2019-04-23 04:32:17 +00:00
OpenDev Sysadmins
61e2e00454 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:43:04 +00:00
Zuul
bda421c4c6 Merge "Use proper naming for docker services image zuul jobs" 2019-04-10 09:33:08 +00:00
Dobroslaw Zybort
34fd0fc873 Use proper naming for docker services image zuul jobs
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: I8000d90ba597693f3e1d34bba8c97c0e37d309eb
2019-04-09 10:48:31 +02:00
Witek Bedyk
58c7922e8f Use full branch name as build_image.sh argument
`build_image.sh` expects full branch name as argument like e.g.
`stable/stein`. This change fixes Zuul playbook to pass the right
argument.

Depends-On: https://review.openstack.org/649538
Change-Id: Ie132389a21ed74cec4e7e22ecdcb9254964b9d3c
2019-04-03 10:47:13 +02:00
Zuul
a45625936f Merge "Catch the case when no new messages are available" 2019-03-29 15:27:21 +00:00
Witek Bedyk
5bdd98662b Catch the case when no new messages are available
Confluent Kafka client throws the KafkaError._PARTITION_EOF exception
when no new messages are available in a given partitiion. We should
catch this case and continue consuming after a short sleep.

Story: 2003705
Task: 30116
Change-Id: I44add24df764bbc4e718358a8af75903e035f3f0
2019-03-20 12:48:46 +01:00
Dobroslaw Zybort
7fb362200b Convert mysql port to int in wait script
Change-Id: I02361fd1de5d541e2c8e175c2fe1886724670522
2019-03-14 13:57:04 +01:00
Zuul
a9110d815c Merge "Don't remove tempest tests from installation folder" 2019-03-13 14:52:31 +00:00
Dobroslaw Zybort
ffbe2a1056 Don't remove tempest tests from installation folder
Change-Id: I44155371b8a09a84db1a023d5dfc18068d311a64
2019-03-13 13:39:46 +01:00
Dobroslaw Zybort
4c077af2f6 Support full links in Docker wait script
Remove http(s) and trailing slash.

Change-Id: Ia7a471e73ebd23a2005a78d71419b52a9720b6bb
2019-03-12 14:00:56 +01:00
Dobroslaw Zybort
5cfcbda66c Use proper naming for docker base image zuul jobs
https://docs.openstack.org/infra/manual/drivers.html#consistent-naming-for-jobs-with-zuul-v3

Change-Id: I504919a13a6c9380a8b41e29c21d9171239f0d27
2019-03-04 13:28:10 +01:00
Zuul
62e9fa5cfe Merge "Fix monasca-common for building Docker image" 2019-03-01 14:34:02 +00:00
Sean McGinnis
24aef15057 Remove duplicate target name from README
Duplicate targets in the README cause validation failures that would
cause pypi uploads to fail. This removes a defined target that
conflicted with one of the title implicit targets and was not referred
to.

Change-Id: Ife742651b68cd94d67d5af6f9d13d236c032e46e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
stein-em 2.13.0
2019-02-28 19:18:36 -06:00
Zuul
70d9aff4ca Merge "Add wrapper for Confluent Kafka client consumer" 2019-02-28 22:18:01 +00:00
Zuul
dda9a87e50 Merge "Add the metric name to the Exception message when validation fails" 2019-02-28 16:30:20 +00:00
Michał Piotrowski
4f70a6405d Fix monasca-common for building Docker image
Change-Id: I5075450ac7c7019971016203ab81ee9108cd1182
Story: 2001694
Task: 29754
2019-02-28 14:55:54 +01:00
Zuul
15f00e54f1 Merge "Improve coverage" 2019-02-28 13:30:01 +00:00
Witek Bedyk
c542d908f1 Add wrapper for Confluent Kafka client consumer
This change provides a wrapper around a high-level Kafka consumer which
can be used in all Monasca components, in particular in
monasca-persister and monasca-notification.

Story: 2003705
Task: 29711
Change-Id: Iee317c3016f9868616022389209e36994cf185cf
2019-02-28 12:48:38 +01:00
Joseph Davis
5c6dddfc6e Add the metric name to the Exception message when validation fails
In the general validate_metric case, when possible add the metric
name to the exception message. This makes it much easier to
track down what metric failed.

Also, fixing code where an exception could be thrown but then
immediately ignored and another exception fo the same type
with a different message would be thrown.

Change-Id: I8b8f04bb98a65b6904894dc00af88ea367a350f8
Story: 2004185
Task: 27675
2019-02-28 10:37:10 +00:00
Martin Chacon Piza
0a1822a088 Improve coverage
Change-Id: I556791fc240e6f5fb8e0b5ddf9238294835a5015
Story: 2003881
Task: 29453
2019-02-18 09:41:59 +01:00
Zuul
52bb757314 Merge "Prepare one zuul docker job for all services" 2019-02-13 19:19:50 +00:00
Dobroslaw Zybort
cb38433e4c Prepare one zuul docker job for all services
We want to have one flow for building Docker images of all Monasca
components. Every component should have `docker` folder and in this
folder file with name `build_image.sh` should be placed. By having one
global Zuul we could force this convention. Also this is good for
avoiding code duplication. Remove timeouts. They was unnecessary big.

Story: 2001694
Task: 28994
Change-Id: Iee7de1d8e873817a3b6f72e7ecc815bd8d6eb705
2019-02-11 15:48:58 +01:00
Zuul
5946f650b9 Merge "Add tempest tests jobs" 2019-02-06 10:06:37 +00:00
Witek Bedyk
ca3f42aa60 Add tempest tests jobs
Change-Id: I9e2439aaae77b39cb526206fbc65dc571c9a7168
2019-01-31 19:16:50 +01:00
melissaml
841041c932 Update hacking version to latest
Change-Id: Ib3b21290c0c2f60dde3260eff2b344984eaf1461
2019-01-06 17:37:01 +08:00
Zuul
6f7f46cf0c Merge "Use template for lower-constraints" 2019-01-02 14:49:22 +00:00
Zuul
13f1f42130 Merge "Change openstack-dev to openstack-discuss" 2019-01-02 12:59:43 +00:00
Zuul
8733268ed8 Merge "Add missing build dependencies for agent in docker" 2019-01-01 17:58:32 +00:00
Andreas Jaeger
a0cbe3f1e9 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: I08349e13587b16f91f0433c6f559bd7089517784
Needed-By: https://review.openstack.org/623229
2018-12-20 21:10:33 +01:00
Dobroslaw Zybort
82fcfd3b18 Add missing build dependencies for agent in docker
Change-Id: I19e4f0133bdce9eb9065503ef8781e2ec1ac1c37
2018-12-19 09:46:38 +00:00
Adrian Czarnecki
00bc2d4ccd Add python3.5 classifier to setup.cfg
Story: 2000975
Task: 28477

Change-Id: I85e547b3ad4a7f3362081efa213b0ca5b862e5df
2018-12-19 09:44:21 +00:00
Zuul
ae2bd9d740 Merge "Add description-file field to setup.cfg" 2018-12-19 01:01:55 +00:00
Zuul
635fb1d58b Merge "Add py36 tox environment" 2018-12-18 12:00:31 +00:00
melissaml
cda277938b Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: Ib91f5473492fd7ab54b2a7cd4107db6918e30efa
2018-12-16 17:10:32 +08:00
Zuul
02719dbfdd Merge "Decrease amount of Docker image layers" 2018-12-07 15:23:58 +00:00
Witold Bedyk
5b8be9bf38 Add description-file field to setup.cfg
This change allows to pass `test-release-openstack` Zuul job and
effectively create a delivery.

Change-Id: I7c8ce92901ba851b59aa763ae5634cb8c3f5840e
Story: 2004559
Task: 28319
2018-12-06 12:46:29 +00:00
Dobroslaw Zybort
81348d9030 Decrease amount of Docker image layers
Change-Id: I452ba835dee42121c889a1c955333440366f000f
2018-12-05 15:38:21 +01:00
Dobroslaw Zybort
e0398d32db Bump Alpine to 3.8 in docker
pyca/cryptography was updated to version supporting LibreSSL 2.7
in upper constrains.
Also bump Python to next minor release (3.5.6).

Change-Id: Ic3d7c2b75e2439813c2b9e02b11514ccee112624
2018-12-05 13:37:55 +00:00
Dobroslaw Zybort
dcc26703fa Push monasca/base image on commit, periodicaly and on release
Remove docker `files` check.
This check works only in `check` and `gate` steps, but is not
functioning properly in `post` step and always fail resulting
in not pushed images of monasca/base.

Change-Id: Id960e831948ee87e078688e43b864b22a6ee11ae
2018-12-03 14:03:54 +01:00
Zuul
abe9453e1a Merge "Add wrapper for Confluent Kafka async Producer" 2018-11-28 22:55:24 +00:00
Witold Bedyk
ee42448e73 Add py36 tox environment
Change-Id: I40d383db83dca77445b411eba87a19d8d1457be1
Story: 2004148
Task: 28119
2018-11-28 10:01:35 +01:00
Witold Bedyk
a8b68cbc19 Add wrapper for Confluent Kafka async Producer
Story: 2003705
Task: 27630
Change-Id: I5981e40ecf62cd123ff1969109a8b4b0b9ec204d
2018-11-28 09:56:34 +01:00