- Bump base image to python:3.8-alpine3.15
- Add Rust compiler and its dependency Cairo
- Bump librdkafka to v1.8.0
- Removed env variable CRYPTOGRAPHY_DONT_BUILD_RUST=1 since
new Cryptography requires Rust.
Change-Id: Iacb7d3b5eeb1540647c189d76cf5aa3dee9706b5
The default nodeset was just changed to focal [1], which in the absence
of the python-is-python3 package doesn't provide a python binary.
[1] https://review.opendev.org/c/opendev/base-jobs/+/789098
Change-Id: I43e86ff631034bc6b35fedbc30b72282b5d3b7c8
Building wheel from cryptography>=3.4 uses by default rust compiler
but version 3.4.x keeps compatibility with C compiler by setting
the env variable CRYPTOGRAPHY_DONT_BUILD_RUST=1 [1]
[1] https://mail.python.org/pipermail/cryptography-dev/2020-December/000998.html
Change-Id: I41f47e02aef73bd9ebf6d6a46e8c212b9a268d73
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Remove hacking and friends from lower-constraints, they are not needed
for installation.
Change-Id: Ia16e8cbccf7b38be8909aa94e66c04b99f200b89
The purpose of this change is to build Docker image for StatsD.
Building Docker image for StatsD is moved to Monasca-Agent.
Change-Id: Ic134eed058fbc21f3e91029c0049d99762a1bdc3
Story: 2001694
Task: 36259
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
5 min was copy/paste from official docs. After reading more about health
checks in real world usage most examples was using duration around
5 seconds for interval. By default docker will show if service is
unhealthy after 3 intervals return error. So in previous timing service
would be taken out of poll (by e.g. docker swarm) after 15 min. For all
this time it would be returning errors for any communication to it. Now
it will be removed from poll of running services after 15 seconds.
Regarding timeout more examples was using something shorter. For all
services we are using if anything respond longer than 2 seconds then
something is wrong with this service. Monasca is not web service but
back-end service that should have high throughput.
Change-Id: I4486c4974de38dea33739fdc470f38fd99d428fa