Commit Graph

1923 Commits

Author SHA1 Message Date
Jeremy Stanley f6640157df Zuul: Remove references to centos-7 job nodes
OpenDev is preparing to remove centos-7 nodes on March 15[*]. This
change drops Zuul configuration references to anything directly or
indirectly relying on that label.

[*] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/message/A2YIY5L7MVYSQMTVZU3L3OM7GLVVZPLK/

Change-Id: I2d5e177ee3a89e0cedd79e564505e6d41f77b8e4
2024-03-12 22:50:05 +00:00
OpenStack Proposal Bot 42575ef131 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic8484930f3299bac9a83306eccb4f34cfb08f41f
2023-06-22 03:21:35 +00:00
OpenStack Release Bot b065ca0c3f 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: I412ef18c550881d1cea6e412c7e0d2166a9f2e2f
2023-03-07 09:33:06 +00:00
Tobias Urdin 67d3679713 tox: use allowlist_externals
Change-Id: I88c6a05d0813a685c28be9081f7a36a6a0c8711c
2023-01-25 15:30:19 +00:00
OpenStack Proposal Bot a7eb477a7a Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic7af253483ce501e603db9acfc96d9745cfaac90
2022-11-05 03:31:08 +00:00
Zuul 601e08529c Merge "Switch to 2023.1 Python3 unit tests and generic template name" 2022-10-19 01:45:47 +00:00
OpenStack Release Bot 1fb0670f00 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: I616a31d5af9d5d36a1bae4dbf96568b5ea36934c
2022-10-18 08:48:18 +00:00
OpenStack Release Bot d56c27a86a 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: If8d25af694c53bb0f8219fdbf87de194432a4e1e
2022-10-18 08:40:30 +00:00
zhurong d82f2ccde9 Fix solum ci
Change-Id: I1677f0092d9674f1643add76f42dfa47ef6dc83a
2022-10-18 07:17:37 +00:00
OpenStack Proposal Bot bdb968144c Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I80fe96019a909c675812dad7425e7316a55b8585
2022-06-21 04:19:26 +00:00
Ghanshyam Mann 6be3d0353b 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: If3e1221e62ccc9b118cf3a2db9f8c6a18d4145bc
2022-05-01 12:55:46 -05:00
zhurong 9b3e40a89b 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: I6d6832c6327e9642341b7acf904d34b22e2a225c
2022-03-30 05:30:10 +00:00
zhurong 0f652e573e Tenant to project migration for RequestContext
Change-Id: I98dfc0b5883c74d67b430eaa8348c11d74ce1518
2022-03-29 15:31:58 +00:00
OpenStack Release Bot 3e7815c4db 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: Ic1d45d1f7f3fc2492b41837a30c80228d2bbad5e
2022-03-08 12:12:43 +00:00
zhurong b56fd57651 Remove the ReleaseReporter
Change-Id: I36bf3e10de1c50879d30f2bade17f0e4ad015bce
2022-01-18 00:56:06 +00:00
zhurong bba8b67e49 Change md doc to rst
Change-Id: I963c8c35c543077d221285f7ed8fe951afbf08e2
2022-01-17 07:24:57 +00:00
Zuul bc7a1d6b07 Merge "Replace git.openstack.org URLs with opendev.org URLs" 2022-01-17 07:10:28 +00:00
zhurong fbb498d94c Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I73caa7186aa8a4752a2d742e7772237209f0a072
2022-01-17 06:45:05 +00:00
zhurong c473d253d8 Fix the wrong repo url
Change-Id: I22b05873d110c6e496c6b965a208d33a8da766f8
2022-01-17 06:28:24 +00:00
Zuul 93f8cc562d Merge "Remove the unused scripts" 2022-01-06 10:03:33 +00:00
Zuul 39be6b0429 Merge "Add tools to irrelevant-files" 2022-01-06 10:03:31 +00:00
zhurong 8b5b680f6e Fix devstack job failures
Change-Id: I716a9ccd384f24f7e39ad433ecd38d70fb978e3a
2022-01-06 07:10:08 +00:00
zhurong 80cb13cb4d Add tools to irrelevant-files
Change-Id: Idd8ff97e8d4949ff63d729a53fd502a87c0c992c
2022-01-04 09:22:14 +00:00
zhurong 11b57e191b Remove the unused scripts
Change-Id: Ia4a982cda3f3691617b2bee38f91ee6d30048e66
2022-01-04 09:12:44 +00:00
zhurong 71c002a8c3 Add py39 classifier
Change-Id: Id4f96845d6fed200de055ba8d35353bbfbe45d4d
2022-01-04 08:52:46 +00:00
OpenStack Release Bot 0a744883ca 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: I0bbbc0c7820ef9b6a54d425958e14f087961e616
2021-09-17 14:03:35 +00:00
OpenStack Release Bot daa36f047b 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: I2d10270015b38199a45755d10a2b852ea7812f82
2021-09-17 14:03:34 +00:00
Ghanshyam Mann 51b5559ae1 Moving IRC network reference to OFTC
Change-Id: I21c56147d33bca39e2a3c1c2cdced99c713525c4
2021-07-07 19:38:05 -05:00
OpenStack Release Bot 6c3bfa777f 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: I74088455971ce42ace2a4589ded26e9d51caf611
2021-03-26 18:34:22 +00:00
OpenStack Release Bot 1efe73610c 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: I70cef0bf0f348503496da310caad2b2208474399
2021-03-26 18:33:55 +00:00
Ghanshyam Mann 86765728bb [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: I1d74949c9d19ff543571382f887b5ed40756ecb9
2021-03-06 17:56:17 -06:00
Erik Olof Gunnar Andersson 956079ed25 Re-use rpc transport
Solum is currently not re-using the rpc transport, this
will cause connections to leak. This patch introduces
a commonly shared rpc pattern for openstack services
that ensures that the transport is always re-used.

Change-Id: Ibdfb4fa4711b10f66ae4c01b2a10b850d0c42ca1
2021-01-19 08:36:56 +00:00
Erik Olof Gunnar Andersson e70179000d Fix broken CI and lower-constraints
We need to monkey patch the tests to make sure
we get the same order of operations as we would
when running the service.

This patch also fixes issues with lower-constraints. I based
the fix on the same fix as I did for Designate and Senlin.

Change-Id: Ie325affdb24ba01e762f0832db80e0c46e635f60
2021-01-16 15:07:35 -08:00
OpenStack Proposal Bot 367585e7c8 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iacd777595bd5f4288f1dc3dca4a1dc1c5e8add56
2020-11-03 11:26:51 +00:00
OpenStack Release Bot b08405b58a 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: I779e4c30f9087d37c41b11d837b0a41767eea7af
2020-09-24 08:53:55 +00:00
OpenStack Release Bot 3f8e9f61d0 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: Iffd4178428c8a94f9bbc8b60959eb3f4a5352726
Sem-Ver: feature
2020-09-24 08:53:52 +00:00
Ghanshyam Mann 6d689be76c [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.

Story: #2007865
Task: #40219

Closes-Bug: #1886298

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal>

Change-Id: I03be757d57fee8959c8e50fc0c3a0482fe4ab61b
2020-08-12 17:47:13 +00:00
Daniel Bengtsson 369f4d2756 Fix lower-constraints.
Fix several lower-constraints[1] dependency.

[1] https://zuul.opendev.org/t/openstack/build/32ee2a3c45304aa5b0a8d368492a6c63

Change-Id: I9d5bc3a079c489aa7853f75ad2500635406872f3
2020-08-11 15:10:32 +02:00
zhurong ab62db22e8 Use uwsgi binary from path
Depends-On: https://review.opendev.org/#/c/735779/
Change-Id: I3da02010dc98835a9e1eb979e2b3d83eeb18fe33
2020-06-16 06:39:27 +00:00
Hervé Beraud e17ac204c6 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: I787414dcf25143c0ce2dc31a672d36e9fe75b746
2020-06-09 12:12:41 +02:00
OpenStack Proposal Bot 6049b6b843 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iaebf34cf7bcb4295885f95099902fdb9b59a08c1
2020-05-27 10:00:01 +00:00
Andreas Jaeger 968395a4b0 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.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

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: I15963b7399cfd8dbd7d3c1def8b5c13dae323ae6
2020-05-21 14:34:23 +02:00
Ghanshyam Mann 7c859a4fd6 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: I2c62d31dbd7039f8640f00f0bc992180d9d17ab2
2020-05-12 21:12:32 -05:00
zhurong 28330e91f8 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: Ie04a0c0c5270ae49097c3784bac3467c8e43acca
2020-05-11 11:08:24 +08:00
Zuul 703bce8753 Merge "Bump default tox env from py37 to py38" 2020-04-26 01:38:49 +00:00
Sean McGinnis 9d34c4d6d6
Bump default tox env from py37 to py38
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.

This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.

Change-Id: I0096b70ac81f513acd3be78b23627479a144219b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 10:26:03 -05:00
Sean McGinnis 355c85e6cb
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I296bd778de7c7698c71c24584c019511e91afbf1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:21 -05:00
Zuul 1d64616748 Merge "Add Python3 victoria unit tests" 2020-04-23 11:53:41 +00:00
zhurong c8d75bb1f9 Fix py38 error
Change-Id: I43abd65afab57053f47c6aecd2a2ba2e3fc26472
2020-04-22 18:55:24 -07:00
OpenStack Release Bot 480e68e1c9 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: I44f32679a2751c2f7b3fcbcbbb384a3f21f89695
2020-04-22 12:55:22 +00:00