The contents of this repository are still available in the Git source
code management system. To see the contents of this repository before it
reached its end of life, please check out the previous commit with
"git checkout HEAD^1".
For any further questions, please email
openstack-discuss@lists.openstack.org or join #openstack-telemetry on OFTC.
Change-Id: Ic8a7001e708d8da7cf8951eefd0a96762ea5fa46
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ia3dd1f0e08ff3f6ec0e75e2256588d6842b09542
Cleanup docs building:
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version, use apidoc for
API docs
- Fix doc problems found
Change-Id: I1f92444a145030e7715a8d357870d712c5d3cfb1
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks to work with new flake8 version.
Change-Id: Id5d224358b44fd7ab4bd3d08f1db6b6faf54042f
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: I0ada617f2b1413d3c1d4de90a284a2d6c84ff162
Closes-Bug: #1801486
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I6de58b9ba9609056a09e8ea9f1f9637b3e4a939a
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: I3760aae7bb78fdffc34a492f150bc7df8a4a9bf2
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I4e0defc19b6455333dfe9d7501ba190dc0964f5c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.
Change-Id: Iad93921d7b5f9ee668fa1b8c518c5e7f55a4fa49
Co-authored-By: Hoang Trung Hieu <hieuht@vn.fujitsu.com>
This is part of a community effort to provide better user experience
for those having to maintain RBAC policy. More information on this
effort can be found below:
https://governance.openstack.org/tc/goals/queens/policy-in-code.html
bp policy-and-docs-in-code
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I9bad70abcf5543c3e5e5da25c56c408ee3ff0346
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: I3e6e8152ef941ef884507caf50d1a80c0a8e83bd
To solve the problem of "db type could not be determined" on py34 we
have to run first the py34 env to, then, run py27. This patch puts py34
first on the tox.ini list of envs to avoid this problem to happen.
Change-Id: Ie5e69a7e67aa0ed094f09e44a2659501d99cf667
Closes-bug: #1604734
It is an initial seed of hacking rules based on neutron and
nova projects.
For ceilometer it prevents bug 1508442 and closes/prevents
bug 1529836.
All the requirements about the hacking rules were corrected
on this propose review.
To be clear about the requirements, the only alarmed was
about import[1], in specific H306
[H306] "Alphabetically order your imports by the full module
path. Organize your imports"
[1] http://docs.openstack.org/developer/hacking/
Change-Id: Ia530873078c97925bfb91fde87b38131426a74c2
Closes-Bug: 1529836
This patches leverage overtest to setup the database environment needed.
Change-Id: I8198041b4a87bf187d8f6499f0c7c1a43d4dcac2
Depends-On: I29e480611e743ddc645fd067ca2c63b51b11b518
oslo libraries once have issue on its namespace, but they all have
migrated to the right one during liberty cycle. It is time to drop
temporary local checks for this issue. Since this is the only
local check we have, this patch entirely removes all related files.
Change-Id: I8fe7a59f51ee8af25e3dade70da645cd646fa0b4
This removes entirely our usage of eventlet and its ugly monkey-patching
in favor of a threaded approach.
Implements: remove-eventlet
Change-Id: Ib5f623e2d1ff9e9254601ad091bf5b53ab32000d
We don't need a separate script to wrap the oslo-config-generator. Like
other projects, we can just specify a config-generator config file to
define the namespaces.
Change-Id: I9ee06658d49163f041df18a62b33fa2804f545b8
We already do that for Aodh and Gnocchi, and that makes sure we don't
break the config generator when committing new things.
Change-Id: I049f86dc85d7d4c365cdd622cefd4025ae0cebc3
New tox version need to list environment variables that are
safe for tests.
This change allows usefull oslotest environment variables:
OS_TEST_TIMEOUT, OS_STDOUT_CAPTURE, OS_STDERR_CAPTURE, OS_LOG_CAPTURE
Change-Id: I422461743560e8eb48f99307198f8565efbca0b3
passenv is required so that database configuration environment
variables are properly available to the tests.
Change-Id: I44050f7bbfdd27b4e4e729d23f3f8e29899d14ca
Closes-Bug: #1494339
Run the functional tests against python3.4 with 'tox
-epy34-functional'.
hbase is not supported in py34 so there are fewer tests run when
compared with the py27 functional tests.
Change-Id: I68ee3e09a446d449e947c87985c10944fbea93ba