339 Commits

Author SHA1 Message Date
Zuul
a938631fed Merge "Switch to 2023.1 Python3 unit tests and generic template name" 14.0.0.0b1 2022-09-17 06:56:36 +00:00
Zuul
807cd42a7a Merge "Django 4.x: Replace removed features" 2022-09-16 06:07:31 +00:00
ffdff754cc Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ia0f07bb81133cd4b0ee8f3cbcb38de9a6eb2562e
2022-09-15 16:01:44 +00:00
e134b14a8b Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I524dcbfce0e9d4a25468a922aad53ddc2e94b5b4
2022-09-15 16:01:42 +00:00
Zuul
9b2623ca3a Merge "Use Horizon project template for nodejs jobs" 13.0.0 13.0.0.0rc1 2022-07-21 09:12:18 +00:00
Zuul
453a73d2b6 Merge "Migrate to AngularJS v1.8.2" 2022-07-21 09:12:17 +00:00
Corey Bryant
ecce6298bf Django 4.x: Replace removed features
ugettext_lazy() and django.urls.url() are removed in 4.0.
https: //docs.djangoproject.com/en/4.0/releases/4.0/

Change-Id: I58c20b15468dfe746956e131c09e63818ff8c45d
2022-07-19 15:58:17 -04:00
manchandavishal
598b3d5c7b Migrate to AngularJS v1.8.2
This patch aligns current code with AngularJS v1.8.2 requirements.

Change-Id: I6ec4eaac5096564393f1cd388e28c15a20bb4033
2022-06-28 23:07:09 +05:30
OpenStack Proposal Bot
293615c1a4 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I15f66d3ca7b84545746dd548ce262d17b4b09759
2022-06-21 04:32:42 +00:00
manchandavishal
efee2163c7 Use Horizon project template for nodejs jobs
Horizon defined a project template 'horizon-nodejs-jobs'
for nodejs jobs. This patch updates ``.zuul.yaml`` to
use that template to run nodejs jobs here.

Depends-On: https://review.opendev.org/c/openstack/horizon/+/831929
Change-Id: I2812afb4ec02fdcadb0284db2c95651ce8e8dbf3
2022-05-11 00:27:15 +05:30
32398c815a 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: Id920edf25d2d1664c5ac4b678454d5b2f1403a99
2022-03-11 11:54:25 +00:00
fc5b5e3947 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I96c9874800bf3bff4b75fa24b285f241c07338e2
2022-03-11 11:54:24 +00:00
Takashi Kajinami
d0dbfd41bd setup.cfg: Replace dashes by underscores
Since setuptools v54.1.0[1], the parmeters with dash have been
deprecated in favor of the new parameters with underscore.

This change updates the parameters accordingly to avoid the warnings
like the example below.

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I802b0e4b017d8a9b7501ee1bcfaa444a08aeea1b
12.0.0 12.0.0.0rc1
2022-02-05 17:09:09 +00:00
manchandavishal
a1b8c7dbe6 Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I189ac002fcd7b1950ed15626e04cdf8e941aa690
2022-01-31 10:42:21 +05:30
Zuul
bae3359ef2 Merge "Add Python3 yoga unit tests" 2021-12-09 11:11:45 +00:00
Zuul
20d1f4348e Merge "Update master for stable/xena" 2021-12-09 11:11:43 +00:00
Zuul
6610bbc601 Merge "Dropping lower constraints testing" 2021-09-29 08:03:15 +00:00
3db2cd1eb0 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: Ic5ce1b8646a6dd082af94caf03bafc5f305831aa
2021-09-15 17:08:37 +00:00
b85e3d914e Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I41155224878e8e63bf5a2bba548203d265b794b5
2021-09-15 17:08:36 +00:00
manchandavishal
98d0021d8a Drop horizon-nodejs10-jobs template
As we already added horizon-nodejs14-jobs template in this plugin
and nodejs14 jobs running fine. So let's drop horizon-nodejs10-jobs
template because nodejs10 is already EOL.

Change-Id: I11176ef54ca25b130bc2c1c86b8458cbf960312f
xena-em 11.0.0 11.0.0.0rc1
2021-05-19 21:45:36 +05:30
zhangboye
126e8e2414 Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: I16f5e1dd04ce1d863912dab11e765efb8c85c724
2021-05-03 09:04:21 +08:00
manchandavishal
747b91a710 Add horizon-nodejs14-job template.
Depends-On: https://review.opendev.org/c/openstack/horizon/+/784062
Change-Id: I6fb8e2cd8a67032ae31becf336aac56554ee824a
2021-04-27 18:21:51 +05:30
d6eea008ad 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: I26a978be53eeddc4c607528c2aa78a07ba8c6cde
2021-03-26 11:42:34 +00:00
77bdd8519f Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/wallaby.

Sem-Ver: feature
Change-Id: Ia0ffbb6ea25155088d320e5f456d259871fad601
2021-03-26 11:42:26 +00:00
OpenStack Proposal Bot
6da23dd284 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I8e6d2b6ad228a98805bc1a4d7a171e8e6b76c312
wallaby-em 10.0.0 10.0.0.0rc1
2021-03-03 08:37:03 +00:00
manchandavishal
b419a23ce1 Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated.
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
For more info. please refer [1]. It also import ugettext_lazy
in zaqar_ui/api/rest/zaqar.py file to fix pep8 issue.

[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file

Change-Id: I4e0c00b6d01470f59a6fa5799eaa10d3e5e94f61
2021-02-16 06:12:39 +00:00
Zuul
bbf27033bf Merge "Add py38 package metadata" 2020-12-25 00:23:11 +00:00
manchandavishal
109ac0679b Add py38 package metadata
Now that we are running the Wallaby tests that include a
voting py38 job from victoria release, we can now add the
Python 3.8 metadata to the package information to reflect
that support.

Change-Id: I809222e118d2526d7428c8abb59c03f19e36ca92
2020-12-24 13:54:27 +00:00
manchandavishal
046cb42279 Run npm nodejs job with Firefox browser
This patch update browser from Chrome to Firefox
in karma.conf.js because nodejs fails with Chrome
browser as not able to access some URL.
So let's switch to Firefox browser now then we can
use Chrome browser in future once this issue is resolved.

It also updates few packages in 'lower-constraints.txt'
to fix lower-constraints job.

Change-Id: I1467fd00f3746c5c84233f31c8d41609d0345303
2020-12-23 08:04:36 +00:00
OpenStack Proposal Bot
e01bbd408f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I24e0102832cb4ab85ca2ed4c555b990caff83dec
2020-10-04 08:36:52 +00:00
4f726a1e42 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: Ia14c42309a0da434219d243cd0570f92a7cb548b
2020-09-23 13:17:48 +00:00
227b766e7e Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I56d8507c2adbeec650be496f4b16b1efc0963a54
Sem-Ver: feature
2020-09-23 13:17:46 +00:00
Ghanshyam Mann
a5816d9b87 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
- bug#1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40229

Change-Id: Ia8f69313be9b5b329773ce4a77168cbd44dc300b
victoria-em 9.0.0 9.0.0.0rc1
2020-08-16 17:42:28 +00:00
manchandavishal
36ee7f75ea Fix npm jobs
horizon is doing frequent releases, the install from source is not
working as is anymore. Remove it.

Change-Id: Ia843b9b9d97dc101cd0cad7b8d9e854070c68d9c
2020-07-14 05:47:26 +00:00
OpenStack Proposal Bot
48580799e8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic48238794261929ff9582db1a6815e2e4632d224
2020-06-17 11:11:33 +00:00
Hervé Beraud
60f3442e13 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ia50cc4538bf4e148f3870dafb414109d4ca9ccc1
2020-06-09 12:20:48 +02:00
Zuul
74aeeab542 Merge "Stop to use the __future__ module." 2020-06-09 00:08:25 +00:00
Hervé Beraud
ca34d0b0dc Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I8a697a5f4e53fe973076d40a1da2622f9c494d2d
2020-06-02 21:08:37 +02:00
Andreas Jaeger
ab4c0cf4e4 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I064ba67b95e217426e687b5e3055cc4e5288fb5d
2020-06-01 16:23:34 +02:00
OpenStack Proposal Bot
2365de26ee Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3bdf0a605b9eff87250c851fda120513f3d702a0
2020-04-29 10:59:42 +00:00
Zuul
10c7e389e6 Merge "Imported Translations from Zanata" 2020-04-27 00:07:16 +00:00
OpenStack Proposal Bot
f562f0289b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2b1a553bf79c30b07e7491fe081ecc0e1cb69ea5
2020-04-25 09:53:55 +00:00
c7ef2b451b Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I2fa66de2ad7655beeaeddcc3d95e3d3212bc1565
2020-04-24 18:08:59 +00:00
6220cbd6d7 Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Ieb4b6cd0206e33eab4d14c0688372448e4a373ba
Sem-Ver: feature
2020-04-24 18:08:57 +00:00
OpenStack Proposal Bot
23db4cb84c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0faa6c7cf44fd57736a66a871aaff98711fa1137
ussuri-em 8.0.0 8.0.0.0rc1
2020-04-16 10:22:45 +00:00
OpenStack Proposal Bot
0b7ba78af8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib6b074d53ce261c8fb85a0d56acb5be087f7ce75
2020-04-08 11:09:21 +00:00
manchandavishal
ad407989fb Fix pyScss version in lower-constraints.txt
Horizon requires  pyScss>=1.3.7 [1] but lower-constraints.txt
in zaqar-ui uses pyScss 1.3.4 which can cause the
failure in future. So this patch update pyScss version in
lower-constraints.txt to sync the change.

[1] https://review.opendev.org/#/c/715241/

Change-Id: I8f4ec2e969b30e3e389a891abae5c848a829bb0c
2020-04-01 18:22:05 +00:00
Zuul
3e5f601e08 Merge "Drop Django 1.11 support" 2020-01-14 01:27:03 +00:00
Zuul
187ed3ce51 Merge "Fix python36 job setup" 2020-01-14 01:27:03 +00:00
Andreas Jaeger
c5a2f576ba Fix python36 job setup
The Zuul template openstack-python3-ussuri-jobs-horizon includes
python36 job as voting in both check and gate.

Remove the ancient overwrite of non-voting in check queue. The job is
running fine and can be voting - as it's voting in gate already thanks
to the template.

Change-Id: I20fcc434c71fe0de681343a34ae59824474ba132
2020-01-11 17:04:53 +01:00