25 Commits

Author SHA1 Message Date
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