Martin Chacon Piza
ffce75af6c
Update Monasca Base Image
...
- 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
2022-01-25 18:30:14 +01:00
Martin Chacon Piza
d6ebd62a6d
Bump librdkafka dependencies
...
libressl3.4-libcrypto
libressl3.4-libssl
These libraries were bumped in [1] on 11.12.2021
[1] http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/
Change-Id: I135d909b38b3907df124a86234fabb0525713d2c
2022-01-18 17:25:07 +01:00
Martin Chacon Piza
f5abe9d82e
Bump librdkafka dependencies
...
libressl3.3-libcrypto
libressl3.3-libssl
These libraries were bumped in [1] on 07.06.2021
[1] http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/
Change-Id: I7242ecc4518683571d3553c1cc8dfbbf93de369c
2021-06-08 16:19:41 +02:00
Martin Chacon Piza
db200fd98b
Bump sublibraries
...
libressl3.2-libcrypto
libressl3.2-libssl
These libraries were bumped in [1] on 19.03.2021
[1] http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/
Change-Id: I361d5137336f6833d4ed9033b4a7f818a1cd80b5
2021-03-24 12:37:24 +01:00
Martin Chacon Piza
ccae320767
Use C compiler to build cryptography
...
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
2021-02-23 20:53:57 +01:00
Martin Chacon Piza
f59a2f296e
Bump librdkafka to 1.6.0
...
Package confluent-kafka-python v1.6.0 requires librdkafka >= 1.6.0
Change-Id: Iea1d4fa42159984efff262d459292e5c6f941504
2021-02-09 16:46:24 +01:00
Martin Chacon Piza
5390345146
Bump sublibraries
...
libressl3.1-libcrypto
libressl3.1-libssl
Change-Id: If2207d29dfe114beb6787bd891c0d4e92a917101
2020-05-26 12:06:16 +02:00
Martin Chacon Piza
1c20a58b22
Bump librdkafka to 1.4.0
...
Package confluent-kafka-python v1.4.1 requires librdkafka >= 1.4.0 [1]
Bump sublibraries libressl3.0-libcrypto libressl3.0-libssl
[1] https://github.com/confluentinc/confluent-kafka-python/tree/v1.4.1#prerequisites
Change-Id: I005c16dc2c2c11548d4cdce023599fb9be03a52f
2020-05-04 18:42:14 +02:00
Dobroslaw Zybort
dd4b19ad46
Fix building librdkafka from source in Docker
...
Change-Id: If7f6eb1d8fc3dd12fdb57e5cd9554f554bd9b958
2019-08-21 15:11:22 +02:00
zhangjianweibj
e9efa3be0e
Install librdkafka from source code
...
apk install librdkafka-dev success,but loading shared library
librdkafka.so.1 failed.
Change-Id: I3bf24002aab3d708d045704214a66f5f47863d5d
Task: 36048
Story: 2006317
2019-08-20 08:42:51 +08:00
Michał Piotrowski
eca3199ede
Create Docker image for StatsD
...
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
2019-08-12 09:40:51 +02:00
Zuul
14e9401201
Merge "Remove one unnecessary env var form Docker images"
2019-06-19 16:31:55 +00:00
Zuul
2d75f900b0
Merge "Upgrade Alpine version"
2019-06-03 13:36:19 +00:00
Arseni Lipinski
e9d3b95ea3
Upgrade Alpine version
...
Change-Id: I2537cca50803c9d711e1b9b590467e6798214c2f
Depends-On: https://review.opendev.org/#/c/659567/
2019-05-31 07:24:08 +00:00
Dobroslaw Zybort
d5b3692e9b
Remove one unnecessary env var form Docker images
...
CONSTRAINTS_BRANCH is now included in CONSTRAINTS_FILE string.
Change-Id: I0ee61b6903d6e9e55f75c8a7c10bbec2e3039d36
2019-05-29 14:07:24 +02:00
Arseni Lipinski
807ebf0331
Change links usage
...
Story: 2005666
Task: 33510
Change-Id: Ic6e0cc1f6e70d8ad496104843831f737c4708dbe
2019-05-28 08:41:08 +00:00
Arseni Lipinski
3d824b7ed2
Upgrade Python version
...
Change-Id: If121aa807d80eb254b39b4e370418c0b22be8d75
2019-05-16 15:51:36 +02:00
Dobroslaw Zybort
ffbe2a1056
Don't remove tempest tests from installation folder
...
Change-Id: I44155371b8a09a84db1a023d5dfc18068d311a64
2019-03-13 13:39:46 +01: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
Dobroslaw Zybort
82fcfd3b18
Add missing build dependencies for agent in docker
...
Change-Id: I19e4f0133bdce9eb9065503ef8781e2ec1ac1c37
2018-12-19 09:46:38 +00:00
Zuul
02719dbfdd
Merge "Decrease amount of Docker image layers"
2018-12-07 15:23:58 +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
d2d085c84d
Remove Linux apps pinning from Dockerfile
...
Alpine repositories remove older version of packages really fast and
stop images from building.
Change-Id: I80011d19204117d0ce7d8fe7d847432cd31ce99c
2018-11-09 10:39:37 +01:00
Dobroslaw Zybort
15c761a6af
Allow to build image with common from Gerrit
...
Story: 2001694
Task: 24226
Change-Id: I356c9fdde670433bef1f3c70e02f2f760521ee0a
2018-09-07 14:05:13 +02:00
Zuul
a82dcb1f46
Merge "Implement MySQL check script for Docker"
2018-07-31 11:23:22 +00:00
Dobroslaw Zybort
dcea427a62
Implement MySQL check script for Docker
...
Story: 2001694
Task: 23321
Change-Id: I103c864832cd85ec528080cb7d49393c09127c60
2018-07-31 08:54:51 +00:00
Dobroslaw Zybort
2c1a2ed225
Make health checks more frequent in Docker
...
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
2018-07-26 14:00:32 +02:00
Dobroslaw Zybort
6f97685454
Build Docker image in zuul
...
Story: 2001694
Task: 23054
Change-Id: I554e1efdfb7b996d805748a7930a76e2124e060b
2018-07-19 10:02:47 +02:00
Witold Bedyk
31f92092b5
Minor language changes and added license headers
...
Additionally:
* Move comment outside of `rm` command.
Story: 2001694
Task: 22889
Change-Id: I9dd334c05bf9e209427db1b987f475e031d11d80
2018-07-10 15:08:55 +02:00
Dobroslaw Zybort
2ce968d052
Add base Dockerfile and supporting scripts
...
Story: 2001694
Task: 12491
Change-Id: I81e0d0ecbb431ed7e26fcbcb4d347ac164c66736
2018-07-09 13:49:19 +02:00