Commit Graph

797 Commits

Author SHA1 Message Date
OpenStack Proposal Bot b9648e6ce2 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id96f9e5f90b22db8b013a200afb37b3d37dec924
2024-03-07 04:06:30 +00:00
OpenStack Release Bot 2c8eea887c reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I85654f6075a7749e096ca67cb8dc3ec20b179aa5
2024-02-06 13:38:48 +00:00
Pham Le Gia Dai 5c215832cd Adding CACERT and NO_VERIFY option on senlinclient
When deploy openstack with selfsigned CA cert, the senlin-dashboard unable to fetch required data.
Adding `cacert = settings.OPENSTACK_SSL_CACERT` and `insecure = settings.OPENSTACK_SSL_NO_VERIFY` to build ks_session.Session suitable for current environment and fix SSL Error issue

Closes-Bug: #2047622
Change-Id: I949871801d147a14b53696d3ebad79f0b4c8d3a7
2023-12-28 13:53:04 +07:00
OpenStack Proposal Bot b393d7a5dc Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If445ce96893612ff982394b5b20eee9f79623cc6
2023-09-21 03:58:10 +00:00
OpenStack Release Bot 19c3777f45 Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

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

Sem-Ver: feature
Change-Id: I9812c156183f3d8507760d5c8ad421d2aff5cdbd
2023-09-15 13:54:35 +00:00
OpenStack Proposal Bot a2e6e8b89f Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I118705deeab56957112fd5625d9279eb1041475b
2023-05-09 04:10:21 +00:00
OpenStack Release Bot aa4d9f7f02 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

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

Sem-Ver: feature
Change-Id: I101b08a188f3b0b6a2d315cf71b273dcb6a92691
2023-03-03 13:23:03 +00:00
Zuul 26b75a2cc5 Merge "Address RemovedInDjango40Warning" 2023-02-13 20:09:54 +00:00
Zuul e800806869 Merge "Adjust tox.ini for tox4" 2023-01-31 06:47:21 +00:00
manchandavishal faf9bf4514 Adjust tox.ini for tox4
OpenStack CI now uses tox4 by default.

- Drop "skipsdist = True".
  When skipsdist=True is specified, a target application is not
  installed into a tox env, but there seems no reason to do so.
  In various other OpenStack projects, a target applicatin needs
  to be installed into a tox vnev, for example, in docs and/or
  linter jobs and it causes failures with tox4. So dropping it
  would avoid potential future failures.
- Add ignore_basepython_conflict = True to tox.ini
  With latest tox (>4.0.15) python version conflicted with base
  python. Adding ignore_basepython_conflict = True solves this
  issue.
- Replace deprecated whitelist_externals with allowlist_externals.

Change-Id: Iead95c0779f9705cf096d1ac3038a16aa62f1678
2023-01-31 01:22:51 +05:30
manchandavishal 63a3abfa00 Address RemovedInDjango40Warning
django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(),
ungettext(), and ungettext_lazy() are deprecated in favor of the
functions that they’re aliases for: django.utils.translation.gettext(),
gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy().
For more info. please refer [1].

https://docs.djangoproject.com/en/4.0/releases/3.0/#id3

[1] https://review.opendev.org/c/openstack/horizon/+/827092

Change-Id: I6a95be7d1272c41b18d402cc76f33224c083823e
2023-01-20 11:48:35 +05:30
OpenStack Proposal Bot 4adf3f13d8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic61e1085750bf0a8ee083c18ee7106eba59eb77a
2022-09-24 02:33:30 +00:00
OpenStack Release Bot edf68de4fb 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: I4f5f1f2cecc3dfdb0d28c3ac9353bba26a6f2862
2022-09-15 15:59:06 +00:00
OpenStack Release Bot 2d4fd80260 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: Id04a5a1a0f00e4968b08f1e448582f693ebef299
2022-09-15 15:59:02 +00:00
Zuul 7fde5a5ffa Merge "remove unicode from code" 2022-09-14 16:57:36 +00:00
liyou01 6cc9c831e2 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

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

Change-Id: I9fe64b5705d81a08d28f9941bfb67b3e477e4a9a
2022-09-12 15:10:11 +08:00
liyou01 f7cf39d612 remove unicode from code
Change-Id: I892fada1727b804bc1dbb7c2e4971d2976f1f546
2022-09-12 15:04:38 +08:00
Zuul cecde61b17 Merge "Imported Translations from Zanata" 2022-08-09 08:13:09 +00:00
Zuul f9f5ee3ce5 Merge "Use Horizon project template for nodejs jobs" 2022-08-09 07:45:09 +00:00
manchandavishal 5a132173fe Migrate to AngularJS v1.8.2
This patch aligns current code with AngularJS v1.8.2 requirements.
It also updates zun-ui to use the Firefox browser instead of phantomjs
browser to fix "nodjs-run-test" job because phantomjs browser has some
issue with backticks.

Change-Id: I1d7c703bee067951efc8393ad04ed6d968e83066
2022-08-08 19:51:14 +00:00
OpenStack Proposal Bot 96859448dd Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I9225b624907d20e09364aed9e266a59b5c6b623a
2022-06-21 04:16:16 +00:00
manchandavishal 3a1879f7c8 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: Ie121bb449831e9d3d06487a7c272d126b63a7d62
2022-05-11 00:27:17 +05:30
manchandavishal 834286c79b Address RemovedInDjango40Warning
In Django 3.1, django.conf.urls.url() is deprecated
in favor of django.urls.re_path(). For more info see [1]
These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
[2] https://review.opendev.org/c/openstack/horizon/+/827093

Change-Id: I03b0468dda8c4791530fa0510c2a23993f496a62
2022-04-29 18:24:50 +05:30
Zuul 11085355f5 Merge "Add Python3 zed unit tests" 2022-03-30 06:36:46 +00:00
manchandavishal 47d883bfc6 Fixed Unit test for senlin-dashboard
After 7052b7f065 merged in openstack/horizon a new Unit
test class introduced in horizon i.e. RestAPITestCase.
This patch updates senlin-dashboard to import RestAPITestCase
class instead of TestCase. For more info. see [1]

[1] https://review.opendev.org/c/openstack/horizon/+/827097/2/openstack_dashboard/test/helpers.py#485

Change-Id: Idf85ffdf40c32ab8e579cd110d35d2e99edf24bc
2022-03-29 20:26:31 +05:30
OpenStack Release Bot 26a25bf831 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: I1d0199e29f60f106bc91bc654b74daed92ade8b6
2022-03-11 12:47:53 +00:00
OpenStack Release Bot 8dbef7ca60 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: I29820d1f908f6bb90e2c78b6c52b429b24abf378
2022-03-11 12:47:49 +00:00
manchandavishal 7f5258c3d8 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: Id25da22aed14c6f024198e5bc77b5cb69e8a3a8a
2022-01-28 19:16:55 +05:30
OpenStack Release Bot 6b42d7638f 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: If0d7dc531c23b02659e55b6f6cbfd65c0830845b
2022-01-27 11:34:13 +05:30
OpenStack Release Bot cf1749396e 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: I93e83000a29e9860caf03f0f4b17bef1ddac3f6f
2022-01-27 11:32:30 +05:30
Zuul 933864a6b8 Merge "Dropping lower constraints testing" 2022-01-27 05:24:51 +00:00
zhangboye b2049f2a0b 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: Ic7f53ea8486a19478821d8b226fc3d188ecb6025
2022-01-18 19:19:53 +00:00
zhangboye 15eea7314d Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I7e1df4ce39153b292fa3b2c0304c46d017c9b479
2021-12-27 06:51:39 +00:00
manchandavishal fef54bb8bd 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: I5bcf9a3c4f1481a43fd610a80dc03b4f456d373c
2021-05-19 21:45:36 +05:30
manchandavishal 1c4a055b60 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
OpenStack Release Bot de1817a136 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: I223dbfff4ab237e14266536f5b9810c0de0f8f24
2021-03-26 11:38:44 +00:00
OpenStack Release Bot ba63dc7f76 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: I5e99ed259ac0d50e3dff0719bb1143229688bb04
2021-03-26 11:38:07 +00:00
OpenStack Proposal Bot 65a29cbbe2 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I602cd2b5985f7fd7eb0d83bc4fbb68fc032dfabe
2021-03-03 08:20:01 +00:00
manchandavishal 851c78503a 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].

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

Change-Id: I956f55f4c95c7ec892430a7fd0bfda4a6819aba9
2021-02-16 05:46:20 +00:00
OpenStack Proposal Bot eed67d5e8b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If3301d88763b8d0ac201f430ccc40880289d47cd
2020-10-05 09:15:22 +00:00
OpenStack Release Bot 6b5d0daf19 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: I449908954ab5fae647ac2947ab8e0ef4ff6fa495
2020-09-25 08:46:10 +00:00
OpenStack Release Bot ba46b27d89 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: I4ab44cbafc9744c83c14355f7077a8349f9f565a
Sem-Ver: feature
2020-09-25 08:46:08 +00:00
Zuul 8d47de13c1 Merge "Imported Translations from Zanata" 2020-09-23 09:23:27 +00:00
Zuul 6c92fdaf9f Merge "Remove the unused coding style modules" 2020-09-23 09:19:57 +00:00
OpenStack Proposal Bot 7b5a906de2 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I0d697ac4ea94f94df08c686760f4731717592794
2020-09-16 09:27:46 +00:00
Zuul 79860cde77 Merge "Cleanup for Refactor-error-messages" 2020-09-16 08:49:31 +00:00
manchandavishal e7ba4396b5 [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).

Bump the lower constraints for required deps which added
python3.8 support in their later version.
Story: #2007865
Task: #40218

If we move horizon jobs to focal then  senlin-dashboard 'nodejs-test'
job fails. This patch adds libfontconfig1 in bindep.txt as phantomjs
requires libfontconfig[2] to fix failed nodejs job.

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
[2] https://www.npmjs.com/package/phantomjs-prebuilt#linux-note

Change-Id: If95f8005d31ce340f2dec1c3fe0d732ecb5a06ca
Co-Author: Ghanshyam Mann <gmann@ghanshyammann.com>
2020-09-10 14:15:26 +00:00
manchandavishal d50a9d89d9 Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .

Depends-On: https://review.opendev.org/#/c/708069/
Change-Id: I3e0c652ce5a43d615cd2b08b5a51c0420acb0564
2020-08-28 18:59:55 +00:00
wu.chunyang b8bdff4e84 Remove the unused coding style modules
Python modules related to coding style checks (listed in blacklist.txt in
openstack/requirements repo) are dropped from lower-constraints.txt
they are not needed during installation.

Change-Id: Ic8f4a4aad2d64395c633722ac1a3b414f411a40d
2020-08-18 23:28:08 +08:00
OpenStack Proposal Bot c8f5139ed8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2649e86a9cb5640efa89a5be88fb2f6db3cc81ac
2020-07-06 08:58:29 +00:00