* Update monasca-common from branch 'master'
to 2f71e5688df41e40c0c57989ee1c31e5bf77d0a2
- Adding docker publish as a periodic job
Change-Id: I593d0f10b24bc17d3a65927bdb4ae81b2c0acb8a
* Update monasca-common from branch 'master'
to 1ca41523731c0f78e7322d6770a9dcdc1710b7ba
- Fix deprecated zuul queue syntax
Zuul deprecated (and now removed) declaring shared queues at a pipeline
level [1]. This patch fixes the syntax to make the gate work again for
monasca-common.
[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html
Change-Id: Id9c0956d4800f01dadfece02638bc4fcc9ef1e8a
* Update monasca-common from branch 'master'
to f290882658db757a4dfbde23c327b70cbe58f964
- Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: I011e9d6e0787dae20607040bc08e7335ff306862
* Update monasca-common from branch 'master'
to 90c9b2d130bc6d5a3102c07fb93b38a97265f5e2
- Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I0ca9152c10a8d2baffb024487b874c1177007dff
* Update monasca-common from branch 'master'
to 873cbf82f6cfc47ec618eb799351f03dd0b72683
- Rename tenant with project_id
Since oslo.context=4.0.0 Feb 3, 2022 the deprecated argument
tenant was removed [1]
- Bump docutils in lower-constraints and test-requirements
[1] f4cbe4c296
Change-Id: I703d49f5e5870bf45030fc5502749e197aae3a3b
* Update monasca-common from branch 'master'
to ffce75af6c8413ec9952c3ebfceb6d99493c83b3
- 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
* Update monasca-common from branch 'master'
to d6ebd62a6daa55a81368d2e70ded9843fa08ff54
- 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
* Update monasca-common from branch 'master'
to c3a3f23005fc6032a923b6b08c5023b2aa48553a
- Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Iac0dcd0f3c1623e4aa65e36b4ae7bf9f90aff470
* Update monasca-common from branch 'master'
to f5abe9d82e3c89cfdc4a4933cc11ca859841beda
- 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
* Update monasca-common from branch 'master'
to 844db67a91fabfcf7ca8ec55aeb3a700ab1b6168
- Fix Docker build
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
* Update monasca-common from branch 'master'
to db200fd98b8eaca5e76f4284570eed0c4169c892
- 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
* Update monasca-common from branch 'master'
to 76826b4025ab3d474a9aa329deae8f95c8df0777
- Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I7faa2bdba6191f5ae8f2570573c11f89cb260997
* Update monasca-common from branch 'master'
to 9aa47afe5d39efcfd2f8b64810ac58857b4f7997
- Fix zuul publish docker image job
Add tag to docker push command with specific branch name
Change-Id: Ie4b135c456333cd8a98cfb1d5231351786d1dd86
* Update monasca-common from branch 'master'
to ccae320767e386b9445b99e2214b1ad23e1aa6d2
- 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
* Update monasca-common from branch 'master'
to c491b34888dc4d598538381c9270b1f1dbf5ea0b
- [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc and tests.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: Ibb26169656785330e7d86a362fd110222fb63a07
* Update monasca-common from branch 'master'
- bump py37 to py38 in tox.ini
in 'victoria' cycle, we should test py38 by default.
Trivial change
Change-Id: Iaabf93603e41decbdc8350df7f76a2491c0f7813
* Update monasca-common from branch 'master'
- Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I775741e360ac90cfe00b19006bfdad81f46f3df1
* Update monasca-common from branch 'master'
- drop mock from lower-constraints
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we don't need it
in lower-constraints.
These changes will help us to drop `mock` from openstack/requirements
Change-Id: Ie7239e6651feb358cd0f00fe2709452ebeb3a811
* Update monasca-common from branch 'master'
- Merge "Remove .testr.conf"
- Remove .testr.conf
This commit removes .testr.conf since this repo already has
.stestr.conf. We just need .stestr.conf instead of .testr.conf.
Change-Id: I22570efeec854d4b26ce10c6820a96349c1b625a
* Update monasca-common from branch 'master'
- Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I931ffdb03ea55047439d019ccb8a1493b56f2569
* Update monasca-common from branch 'master'
- Switch to Victoria tests
This repo has been using train tests and thus was missed by the bot to
update from ussuri to victoria, update manually.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ibb6e2d776de1df08fd53a3e254b70728167a87bb
* Update monasca-common from branch 'master'
- Update hacking for Python3
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
* Update monasca-common from branch 'master'
- Merge "Use unittest.mock instead of third party mock"
- Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: Ie775b99cdb645f072c0a22fa1a1a47448970b103
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
* Update monasca-common from branch 'master'
- Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg:
* Wheel is not needed for python 3 only repo
* Some other sections are obsolete
- Update classifiers
Change-Id: If1bd950d159a583d912d13e73113dae7f577e8eb
* Update monasca-common from branch 'master'
- Avoid value decoding in Kafka delivery report
In Python 2 Kafka message value gets implicitly converted to unicode in
delivery_report function. In case the message value already contains
unicode characters the convertion fails with UnicodeDecodeError.
This case can be reproduced when trying to run:
u'goose: {}'.format('gęś')
This commit fixes the debug message and avoids implicit type convertion.
Change-Id: Ia9463cd4e9f92cdf18b092abd2cf676aa4966679
Story: 2006503
Task: 36481
* Update monasca-common from branch 'master'
- Merge "Add LegacyKafkaMessage and Kafka client factory"
- Add LegacyKafkaMessage and Kafka client factory
The change moves LegacyKafkaMessage object and client factory module
from the commponents commonly using it (persister, notification).
Story: 2003705
Task: 36094
Change-Id: I61ecf2cdf1dbe9a134df53c3a36614f84e8baa4e
* Update monasca-common from branch 'master'
- Merge "Create Docker image for StatsD"
- 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