With python3.6 and python3.7 jobs added to the Zuul jobs, it makes sense
to add this to the tox config too so that developers can run those
tests as well.
Change-Id: I51c76a0515e80de590da9d511dfd51f82153a72e
This is a mechanically generated patch to add a unit test job running
under Python 3.7.
python3.5 was the only supported python3 version on Xenial. Now that
we have Bionic nodes supporting python3.6 and python3.7, let's add
testing with python3.7 in addition to python3.6 in Stein and
beyond.
See ML discussion here [1] for context.
[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html
Change-Id: Id0d0a55f4ceaa05869cb77abf13ee2fea7bee713
Story: #2004073
Task: #27440
Small cleanups:
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: I97489c1262cefef4db907547abf786d7973094ed
Needed-By: https://review.openstack.org/623229
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: I511c009136384b2d388b01fc2e89d8be73b5709e
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools.
To this end, remove the long-standing sections for "Mr Developer"
and "Editors" since their mere existence here sends the signal that
we welcome (and have time to review) additions for any old tool
someone ever might happen to try. Also add a comment block
explaining this, for clarity.
We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks called from tox,
documentation and packaging builds, et cetera).
This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb
from the openstack-dev/oslo-cookiecutter repository.
Change-Id: If94ca7bcf92366570623feda58c19314a6ad0bad
As a result, this commit message is guaranteed to have a grammar or
spelling error.[1] ;-)
Change-Id: Ie941d36a7e3d7918a18dc71735307451835d3038
1: https://en.wikipedia.org/wiki/Muphry%27s_law
Let's be consistent with the rest of the oslo libraries and use the
openstack docs theme for documentation.
Change-Id: Ie496a5540e4ede74faba89b268d4ec00f8182add
Most of the documentation describing the intent of this system
is scattered across specifications. This commit attempt to level-set
some basic terminology from the perspective of someone looking to
use this library.
Change-Id: I45c5f2f2747e548ca094172871f91ce0d74d77ac
Now that we're starting to commit code to the repository
and build out an API, we should start generating documentation for
it.
Change-Id: I20e9d3155331c08cc3817c17c183e80a89235b7f
Added opts file
added [oslo_limit] group.
keystoneauth options and "endpoint_id" are in this group.
Change-Id: I31e8f7c9f97b7175a7580f720383228e6f355f9a
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I033825a2e0dc978bd50a2f46059faeb465f1099c
Story: #2002586
Task: #24322
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: Ic5713f81fad91437a80656fc598f7af0348e9998
Story: #2003250
Fix documentation build by correcting a source filename and fixing
the dependency settings.
Change-Id: I1fc098cef7097ffea338129a3fcefda77f396a3a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Now that we're starting to build out the testing infrastructure of
the project, we can start including a .zuul.yaml file for job
definitions.
Change-Id: I72cd0a036261f6337e5d7f04519e833d0bd6dd63
This commit builds the foundation for a context manager that can be
used for usage enforcement.
Subsequent patches will incorporate keystoneauth and perform calls
to keystone to verify project limits and registered limits,
incorporating them into the usage check.
Change-Id: I7c78c1979444a2a83189e2035a4ab72890abc5ab
When calculating usage of a resource against a project, there is some
common information that we need to know as an enforcement library.
This can be referred to as a "claim", which consists of the name of
the resource being claimed, the project claiming the resources in the
request, and the quantity being claimed.
This commit adds some basic plumbing and tests that introduce this
object. Subsequent patches will introduce a context manager that
performs usage calculation using ProjecClaim objects.
Change-Id: Iacfa39535c58a7c6b49ba01c5ebf6bbb5f3fe8d1
With the upgrade to oslotest 3.6.0 [0], testr no longer works [1].
This is because oslotest no longer requires testr and we don't depend
on it directly in oslo.limit.
[0] d5a3c58f71
[1] 897823fbd6
Change-Id: I4357350b3ad442658ef872c295dbe734a0f2cc9b
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: I724fee4ab31762582cb96fc91d99d62b6e637969