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
`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
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
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>
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
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
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
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
This change allows to pass `test-release-openstack` Zuul job and
effectively create a delivery.
Change-Id: I7c8ce92901ba851b59aa763ae5634cb8c3f5840e
Story: 2004559
Task: 28319
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
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