Commit Graph

37 Commits

Author SHA1 Message Date
Hasan Acar 2f71e5688d Adding docker publish as a periodic job
Change-Id: I593d0f10b24bc17d3a65927bdb4ae81b2c0acb8a
2024-02-22 12:54:51 +00:00
Hasan Acar fe601fa51b fix: Upgrade librdkafka
fix: libressl3.4 packages removed

fix: publish docker image jobs added

Change-Id: Ia8fccfb28b1c95d8ffdb8ca40fba9cc586e5ce7d
2024-02-08 16:12:23 +00:00
Dr. Jens Harbott cdc03f9ae5 Fix zuul config error
Drop non-existing jobs:

- monasca-tempest-java-cassandra
- monascalog-tempest

Change-Id: Ia82ba875fe47bd6ce43035ca0d3352c5115dd988
2023-08-12 22:46:54 +02:00
Elod Illes 1ca4152373 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
2023-02-17 20:20:16 +01:00
Ghanshyam Mann f290882658 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
2022-05-03 11:26:13 +00:00
Martin Chacon Piza 43c5cdeab9 Remove temporarily docker Zuul-jobs
- build-monasca-common-docker-base-image
- publish-monasca-common-docker-base-image

Change-Id: I6aa0a059dde848dea5010c68af43bbfe1b8c338b
2022-05-02 17:28:12 +02:00
OpenStack Release Bot 90c9b2d130 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
2022-04-06 09:19:38 +00: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
OpenStack Release Bot c3a3f23005 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
2021-09-10 14:32:01 +00:00
OpenStack Release Bot 76826b4025 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
2021-03-18 11:14:00 +00:00
OpenStack Release Bot e4861ac15b 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
2020-10-15 11:36:09 +00:00
Andreas Jaeger 5b8da9870d 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
2020-05-09 14:18:19 +02:00
Ghanshyam Mann b70afb9bf6 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-common is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ibf95dffdebe47c8ea4a8a8a666ac6f66d9b4c774
2019-11-16 16:54:42 +00:00
Witek Bedyk e306922ec8 Disable monasca-tempest-java-influxdb job
The job has been failing for a long time. Java implementation of
InfluxDB persister is not maintained.

Change-Id: I6b5960daccbcfee640cd120db23a09921f0617bb
2019-07-10 18:23:05 +02:00
Corey Bryant 08c06df69e Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Id4099c1e2384fd431a0b3f3d831c2437d7761e1e
Story: #2005924
Task: #34223
2019-07-05 13:07:50 -04: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
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
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 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
Witek Bedyk ca3f42aa60 Add tempest tests jobs
Change-Id: I9e2439aaae77b39cb526206fbc65dc571c9a7168
2019-01-31 19:16:50 +01: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 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
Witold Bedyk ffa84f7097 Add running tempest tests for logs-pipeline
monasca-common is used also by monasca-log-api. Therefore each change in
the library should be also tested with integration tests for logs
pipeline.

Change-Id: I50737e658507f7ec320d7a30c9996a2c6b020baa
2018-10-24 10:07:32 +00:00
Witold Bedyk 1017229c39 Fix coverage job for Python 3
* add coverage check job to Zuul
* migrate to stestr as described in PTI [1]
* unmock OffsetOutOfRangeError to correctly recognize it as Exception
and not a mock. Otherwise TypeError exception is thrown [2].

[1] https://governance.openstack.org/tc/reference/pti/python.html#coverage-jobs
[2] http://logs.openstack.org/60/606660/2/check/openstack-tox-cover/b3c1492/testr_results.html.gz

Change-Id: Idcb8b11778ce02596c1c02417ee6c88a33c7da03
Story: 2003240
Task: 26900
2018-10-05 10:09:06 +02:00
Doug Hellmann 6e9396736b add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I69c3590a06ed74e120785525eeef978ff824346e
Story: #2002586
Task: #24312
2018-08-26 08:37:26 +02:00
Doug Hellmann fc35e69059 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I7d718f96fb1a545afbfb07d40a77ccde5c3841a6
Story: #2002586
Task: #24312
2018-08-26 08:36:22 +02:00
Dobroslaw Zybort 9fd9a01e74 Build and push images only on relevant changes
Story: 2001694
Task: 24225

Change-Id: Ibbfe9d80abf5cdba7040fb46a14e60fa6c31f1fc
2018-08-02 09:34:43 +00:00
Dobroslaw Zybort de60383266 Improve Zuul jobs with Docker names
Change-Id: I05efee28a1df1ef3e5780d64b72ede9d314339aa
2018-07-20 13:45:23 +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
Doug Hellmann 9c426e867f add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I0ef8ed50f55fa905b6090805a3088fc5ab56906c
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 15:47:51 -04:00
Witold Bedyk 915aa3f4c6 Remove PostgreSQL tempest jobs from Zuul
* remove monasca-tempest-*-postgresql jobs
* rename monasca-tempest-*-mysql -> monasca-tempest-*-influxdb jobs

Story: 2001650
Task: 6671

Change-Id: Ifb713e0fe03ad6c6fd171ee80e7940e3e00938b3
Depends-On: https://review.openstack.org/550795
Depends-On: https://review.openstack.org/550874
2018-03-08 16:35:24 +01:00
Witold Bedyk e27d6048d8 Enable gate jobs
Change-Id: I2893031ba403591647ebec6eb82b2a4807988e04
2018-02-12 15:25:33 +01:00
Witold Bedyk 35c69b0f3d Enable tempest tests as voting
Change-Id: Ieb81272e2288b04a53fd50c74f908288a03592b5
2018-02-01 14:48:48 +01:00
James E. Blair 1322d3efdc Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Id02c0cf873b8e59707267ed1f980767823704ee8
2018-01-27 23:40:05 -08:00
Witold Bedyk b21dc03ddc Add Cassandra tempest tests
Change-Id: Ib09ba0f1e9fbfc72022870f268527cde1f05d565
Story: 2001231
Task: 6097
2017-12-18 10:00:33 +01:00
Adrian Czarnecki 55ffc4d334 Add .zuul.yaml file
Change-Id: I3684ebc203d95c5c19ab4fb129a299e8aca031f3
Depends-On: I263b1a92a9ec7b5e38d9c1dc8b02e214102a92c2
2017-10-24 09:06:29 +02:00