Commit Graph

15 Commits

Author SHA1 Message Date
Hervé Beraud 5505ee3a7e Remove lower-constraints remnants
Change-Id: I21c0ca526394796fb60d50cc5e2a703c575b68bd
2021-04-16 11:52:31 +01:00
Xiangfei Zhu f1a3f78ead Add PBM WSDL for vSphere 7.0
Adding WSDL files for SPBM APIs in vSphere 7.0.

Change-Id: I8e190d00f3140f9f0864b83b723f0aec9235f1e3
2021-01-25 15:36:23 +08:00
Ghanshyam Mann 5c085599bf [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: #40207

Closes-Bug: #1886298

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

Change-Id: Ib0a675e53ad060e9e0f8c6bcdce45f7a870e379c
2020-08-04 03:45:34 +00:00
Zuul 58481e7682 Merge "Remove the unused coding style modules" 2020-05-26 13:50:25 +00:00
Andreas Jaeger 39c29f6229 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 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

Update Sphinx version as well.

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.

Depends-On: https://review.opendev.org/728938
Change-Id: I6e7adce626eeba8010c915bf579b79e07ea645cf
2020-05-18 20:54:49 +02:00
jacky06 6b92578a93 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
as they are not actually used in tests (other than pep8).

more info: https://github.com/openstack/requirements/blob/master/blacklist.txt

Change-Id: I653b11858860f30a5ce10476d3f0a0b6df3d7eab
2020-05-15 17:16:51 +00:00
Sean McGinnis c9c34169de
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I4d8eada1df0ec43162d4729bf75147eb40252b72
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-03-31 14:37:19 -05:00
Hervé Beraud 88798e9ad8 Drop use of six
Change-Id: I7b1fd3412b815d88b6d54178566f4089433f98ff
2020-03-02 14:52:23 +01:00
Hervé Beraud 2961c30bce [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in Ussuri cycle.

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: I4b1f1b65d21340e76971d2bf31ee79d97392c454
Sem-Ver: api-break
2020-02-04 17:16:27 +01:00
caoyuan 127ded28c9 tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.

[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045

Change-Id: I390f8f7add7530f1442f66816389202e3ed21f05
2019-10-24 14:50:28 +08:00
ZhongShengping c59246530f Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:

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

For more detailed information, please refer to:

http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Id20646cd51ffc13cf4e77c640eb677fe376c1b1f
Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
2019-07-19 10:56:20 +01:00
Radoslav Gerganov 44396c93b4 Set request context when polling vCenter tasks
There are various useful log messages which come when polling vCenter
tasks which are missing request context and thus are hard to correlate
to API requests.
This patch fixes this by passing the request context to the async
jobs which poll the vCenter tasks.

Change-Id: I8efbc343e5073d3deb18b5f87c378c271ea4d816
2018-08-07 15:43:36 +03:00
Vu Cong Tuan d1cfde2b6d Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Iea425a8583f7396cc4e9d6964f3efa9875dc59ac
2018-07-04 07:54:50 +07:00
Doug Hellmann 1f26391338 fix lower constraints and uncap eventlet
Fix the lower constraints values to match the expected values.

We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: I113e66639c61d0a870037c252415a07879e24872
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-12 10:48:42 -04:00
Doug Hellmann 9432188ac0 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: Ie6b0b270193f4e8eb20fd2d98f315a9dc2abe05b
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-24 21:03:02 -04:00