Commit Graph

26 Commits

Author SHA1 Message Date
OpenStack Release Bot cd03a5397a reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Ib90feab6504a505a38546554c6f3529c8da341d9
2024-03-07 14:18:58 +00:00
Hervé Beraud 21b5f4f3fa Fix formatting of release list
Change-Id: Iad538c1cee69eb0b07f58ab6fd39ec68eb345a39
2022-05-27 12:40:19 +02:00
songwenping 49948dfad1 Remove unnecessary unicode prefixes
Change-Id: I554dee8e91468f8ea2dbcb99a925a2e9057ac378
2022-04-19 20:01:18 +08:00
OpenStack Release Bot ce65c03ee4 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: I28b32d2a00289e883851ba636cec8b5838d94d17
Sem-Ver: feature
2020-09-11 21:02:53 +00:00
Andreas Jaeger 58b40e7f2a 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.

Create doc/requirements.txt file and use it, 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.

Set openstackdocs_auto_name to use 'project' as name.

Depends-On: https://review.opendev.org/728938
Change-Id: Ic3503a8b38e67e50669428b36f6581cb980d687f
2020-05-18 20:59:21 +02:00
OpenStack Release Bot 98f29f83ae 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: Ie92dd5f0d5f0a958429572c5772f91a07ae8a8b7
Sem-Ver: feature
2020-04-14 10:19:09 +00:00
Stephen Finucane 14bbcfb753 Remove 'oslotest.functional'
Another one that should be removed now that we're releasing a major
version bump.

Change-Id: I3754a7fe607bcd093e5c87a8b0592301b353e416
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-02-26 13:58:02 +00:00
Stephen Finucane 94f102e75f Remove 'oslotest.moxstubout' module
This has been deprecated for some time and codesearch.o.o suggests there
are only three or so 'openstack/xxx' projects still using this, all of
which should drop the usage shortly. Time to drop this module.

Change-Id: I315254ede8353a0cd88828f520c596b1f02a56a7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2020-02-25 17:12:16 +00:00
Andreas Jaeger 4d45f96942 [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

Update docs building to use modern sphinx-build.
Update to use apidoc for newer sphinx.
Remove cruft from setup.cfg and doc/source.conf.py

Change-Id: I6a0643fcf8e28e09b1c69cda98dc53c71e6c508d
2020-02-03 20:37:28 +01:00
Stephen Finucane 0b3c98a349 trivial: Cleanup of doc config file
Change-Id: Ie5f147cff6e92ce64c32b50a01e65c042dbc0b74
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2019-12-19 09:44:01 +00:00
OpenStack Release Bot ff3cb95571 Update master for stable/train
Add file to the reno documentation build to show release notes for
stable/train.

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

Change-Id: I5abe3587f14395b7df158eb4716bdaae700c0d54
Sem-Ver: feature
2019-09-20 16:41:58 +00:00
OpenStack Release Bot 010b47e8a4 Update master for stable/stein
Add file to the reno documentation build to show release notes for
stable/stein.

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

Change-Id: I4a924bfd6df840cf6aa8ce8cd49e0b8f18356577
Sem-Ver: feature
2019-03-18 14:48:01 +00:00
Ben Nemec a381d7275b Fix nits in timeout change
Just a typo and comment update.

Change-Id: Idf29423516692da939f2bafb96018e35956ee9d4
2018-09-24 20:12:08 +00:00
Monty Taylor 42e8a69f28
Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR
The openstacksdk test suite sets a default value for OS_TEST_TIMEOUT to
enforce that no test in the suite should ever run long. It has to do
that by using the EnvironmentVariable fixture before running the super
setUp to get the value set before oslotest reads the environment
variable. Add a class variable that can be overridden to allow doing
that more cleanly.

Additionally, in the openstacksdk functional test suite, there is a
variable called "TIMEOUT_SCALING_FACTOR" that lets us mark that some of
the tests (I'm looking at you volume functional tests) naturally run a
bit longer than other tests in the suite. It's been invaluable for us
for a couple of ugly cases, so it seemed like we should upstream it into
oslotest.

Change-Id: I2ef5d0194185bf58c0945efb0725202e6d177e3f
2018-09-23 08:29:01 -05:00
OpenStack Release Bot 5a4841b6c2 Update reno for stable/rocky
Change-Id: I0fea635e0677c6b06a6ba214d6b3830eb1cc9114
2018-07-26 12:41:16 +00:00
Doug Hellmann 039b03aa75 make the CaptureOutput fixture easier to control
The default behavior of the CaptureOutput fixture relies on
environment variables that many projects may not set. This change
allows the behavior to be controlled by passing parameters to the
fixture when it is initialized.

Change-Id: I110a9062210b0bc92a2f102e3be4558eea8b9f05
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-19 16:35:17 -04:00
OpenStack Release Bot 88e8edb93e Update reno for stable/queens
Change-Id: Ia5c3f8d77d7adee7d28fd7f60da1d46e860282dc
2018-01-24 18:09:33 +00:00
Claudiu Belu 0bde35899a Adds mock autospec fixture
In typical unit tests, almost all of the dependencies are mocked or
patched (mock.patch), without any guarantee that the mocked methods
actually exist, or if their signatures are respected (see below). Because
of this, actual issues can easily be overlooked and missed, as the unit
tests are wrongfully passing.

The mock.Mock class accepts a spec as an argument, which only solves half
the problem: it only checks if an attribute exists, based on the given
spec. It does not guarantee that the given attribute is actually a method,
or if its signature is respected. Some unit tests may pass the autospec
argument, but mock doesn't support it at the moment.

mock.patch, mock.patch.object, mock.patch.multiple accept an autospec
argument, but because of a bug, it cannot be used properly.

Adds a fixture which replaces mock.Mock and mock.MagicMock with
subclass which accepts the autospec argument, and on call, it will
check the signature of the called method / function.

Adds a function which replaces mock.mock._patch with a subclass, which
treats the autospec argument properly (consumes the self / cls argument),
and sets autospec=True by default, unless otherwise specified.
WARNING: this function is not a fixture, and in order to benefit from it,
it will have to be called as EARLY as possible, before any test classes
are loaded, otherwise the original mock.mock._patch is used instead.

Needed-By: I3636833962c905faa0f144c7fdc4833037324d31
Needed-By: I4484e63c97bd1cdde3d88855eabe7545784f365e

Closes-Bug: #1735588

Change-Id: I0e4a55fbf4c1d175726ca22b664e240849a99856
2018-01-06 12:21:14 -08:00
Andreas Jaeger 182f3de347 Remove setting of version/release from releasenotes
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.

Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.

This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.

Change-Id: Ieb0be952943e102678657758875a5d13fb4d28e4
2017-11-16 21:50:53 +01:00
Zuul 507553bc46 Merge "Remove oslotest.mockpatch" 2017-10-31 01:49:58 +00:00
Thomas Bechtold 4688f76b21 Deprecate oslotest.functional
oslotest is a very basic module and should depend on as less as
possible things. Currently oslotest.functional requires
os-cloud-config which test-requires oslotest. Removing
oslotest.functional solves this.
Also oslotest.functional is not used anywhere.

Change-Id: I553fc81a8ec55435004af27c4a34707cff9cf38d
2017-08-21 12:01:40 +02:00
Thomas Bechtold 4350849eaf Remove oslotest.mockpatch
That was announced with commit 5e2a84d41. Use fixtures.Mock* classes instead.

Closes-Bug: #1712017
Change-Id: I367e59e7f9040cd95cb4ed8a2c3e0f526c2825ab
2017-08-21 10:57:02 +02:00
OpenStack Release Bot 2de31ed055 Update reno for stable/pike
Change-Id: I5ea530c8666395885f798b925f4395c286a0eb9a
2017-07-28 21:05:59 +00:00
Van Hung Pham 9c7d4f8f03 Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.

[0]https://review.openstack.org/#/c/472275/

Change-Id: If8e423b05eac3a8477997833439af74cd3ae7e58
2017-06-30 10:49:51 +07:00
OpenStack Release Bot c612031643 Update reno for stable/ocata
Change-Id: I6c61d10509890ec488a3244271ac0afd301782f4
2017-01-20 19:16:13 +00:00
ChangBo Guo(gcb) e2bf33243c Add reno for release notes management
The release management team have indicated this is their preferred way
to collect release notes in future.

Closes-Bug: #1634356

Change-Id: I3d2e96603238d58ee02ca9b37b3d9dd8f750306d
2016-11-03 15:08:00 +08:00