| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
in 'victoria' cycle, we should test py38 by default.
Change-Id: I91257def33d99a0fdebdf01e60e9e031104e81bd
|
|/
|
|
|
|
|
|
|
|
|
| |
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: I8f8fbffec2aeeb649e74b3269da7d7f08f157575
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: #40177
Depends-On: https://review.opendev.org/#/c/738328/
Change-Id: I046e2bf0e730849ef6fd8b8d1d355916632a467e
|
|
|
|
|
|
|
|
|
|
|
| |
Port the functional job to the native Zuul v3 format,
and remove a few old wrapper scripts which are not needed
anymore (the tests can be run locally through `tox -efunctional`
as well).
Also, switch to the Victoria run time for unit tests.
Co-Authored-By: Luigi Toscano <ltoscano@redhat.com>
Change-Id: Ibce326044c240d6c4e7f1ca3c3ac50a18282a86d
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ida4233cfab3ce14bbf170cdc3037f6b0c3a087df
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With the removal of Python 2.x we can remove the unittest2 compat
wrappers and switch to assertCountEqual instead of assertItemsEqual
We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.
[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277^
Change-Id: I5e02a7ed7803e21ad2baa93fccd00a23cda3da79
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The repo is Python 3 now, so update hacking to version 3.1.0 which
supports Python 3.
Fix problems found.
Change-Id: I54f9f7c5f6ee87ee886658388541f45e23c7546d
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 problems
Update Sphinx version as well.
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_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.
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.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Iec58d8dfa90b9b3d7b67d81798b32fb2670e21d4
|
|/
|
|
|
|
|
|
| |
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: I3b728aee2f07ad547ee75cabf78659cef1233bc5
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OpenStack is dropping the py2.7 support in ussuri cycle.
python-barbicanclient is ready with python 3 and ok to drop the
python 2.7 support.
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: Id55914141099650752027aa9dc0ad8a90528a2e9
|
|
|
|
|
|
|
|
|
|
| |
- Fix incorrect type handling of secret payload in py3
(it should be bytes instead of str by default)
- Fix py3 compatibility of test codes
- Update expiration date so that resources are created with valid
expiration.
Change-Id: I4935f601f87e9c49499da1034a320eee2e655b4d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds a `pdf-docs` tox target that will build
PDF versions of our docs. As per the Train community goal:
https://governance.openstack.org/tc/goals/selected/train/pdf-doc-generation.html
Add sphinxcontrib-svg2pdfconverter to doc/requirements.txt
to convert our SVGs.
Update docs requirement as well to follow PTI.
Change-Id: I0b866b2e57557290533ee7e7e162e56c9c17cf54
Story: 2006072
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There were two main issues here. Firstly, a function was being
documented as a class, resulting in:
WARNING: error while formatting arguments for barbicanclient.client.Client:
'function' object has no attribute '__mro__'
Secondly, a docstring for a common function had an incorrect field list
format, resulting in:
docstring of barbicanclient.v1.acls.SecretACL.get:4: WARNING: Field list
ends without a blank line; unexpected unindent
docstring of barbicanclient.v1.acls.ContainerACL.get:4: WARNING: Field list
ends without a blank line; unexpected unindent
Resolve both.
Change-Id: I69ef97cb48c6b5a1add4e89c4a53047420d314f4
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
|
|/
|
|
|
|
|
| |
This patch supports two-way auth for barbicanclient.
Change-Id: I19fb971de864e94b31bf436bc27d5180aebbce4f
blueprint:support-two-way-auth
|
|
|
|
|
|
|
|
|
|
| |
We seem to be running into a coverage issue [1] in 4.0. This patch
raises the lower bound of coverage to 4.1 to get the lower-constraints
target to pass again.
[1] https://github.com/nedbat/coveragepy/issues/359
Change-Id: Ieddef753b4ee3e9b6d246168ed17c5c99e084564
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
This will show other versions of the doc, too.
Change-Id: Ia22281730e0303cb9bcde4de6fd28739e544d27e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html
Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I40e9a47bb1109bb6b8cc1c27b20b6bbf3a6522d6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a mechanically generated patch to add a unit test job running
under Python 3.7.
See ML discussion here [1] for context.
[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html
Change-Id: Ib304b1240cefacf28e29064318db495aa6b8ec25
Story: #2004073
Task: #27403
|
|/
|
|
|
|
|
|
|
|
| |
oslo project provide jsonutils, and barbicanclient use it
in many place[1], this PS to update the remained json module to
oslo jsonutils for consistency.
[1]: https://github.com/openstack/python-barbicanclient/search?utf8=%E2%9C%93&q=jsonutils&type=
Change-Id: I244c83edcf756b1e4682d5032179e57810ceaca5
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Iff536d9fc6d0b17d12f5badb5741f5b753252642
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Small cleanups:
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: I3ad5dc796983b6a770a5e413f5ab8d2ed3ffa74f
Needed-By: https://review.openstack.org/623229
|
|\ \ |
|
| |/
| |
| |
| |
| |
| | |
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.
Change-Id: I47fd4cd591759efb9facbdca62e9ab04690dc586
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss
Change-Id: Ifa1900a1ac8df659dff5042503e43847047dae58
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We changed the client to fetch containers and secrets via their UUID
from the API, rather than by HREF, so that the endpoint URLs set in the
keystone client would be respected. Unfortunately, we (I) missed
updating the payload fetch function to do the same. This brings it into
line with the other fetches.
Change-Id: Ic71cf6771563d669a2fa37a56d4b40c637db1511
Story: 2004653
Task: 28608
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I91a737a5a204bc202faadccd22bafa4aee5e7332
Story: #2002586
|
|/
|
|
| |
Change-Id: I33930ac42df62ef16e174a6bf905b72f255db3cc
|
|
|
|
|
|
|
|
|
| |
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: I413110b14dfe294c8a51c1dc23232bd4f09619dd
Closes-Bug: #1802030
|
|
|
|
|
|
|
|
| |
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: Idf3ecc193e91c65010a0de08a02e01efcf1bd3a7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When passing a UUID to the client, use the Barbican endpoint from
the service catalog to fetch the entity. When passing an href, strip
everything before the UUID and use it the same as a passed UUID.
This allows for service usage when secrets are created with a public
endpoint but must be retrieved from an internal or admin endpoint,
and is probably how all usage should have worked to begin with.
Change-Id: I90778a2eeefc4cfe42b0e2a48ba09036e3e6d83d
Story: 2003197
Task: 23353
|
|
|
|
|
|
|
| |
Move definition of job python-barbicanclient-dsvm in-repo from
openstack-zuul-jobs.
Change-Id: Id1cc0523bfaf26574730fc103d353aea21ac33b0
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated patch to add a unit test job running
under Python 3.6 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: I570ae27529755986f8c8ca669af5f1a6d98dfcd7
Story: #2002586
Task: #24285
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs 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: I65ada31053e9f53b794b7aebe8ef50046f09ddaf
Story: #2002586
Task: #24285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I02025ad4a9b53dfb5ae042554022ad3c96409688
Story: #2002586
Task: #24285
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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: I872ea4b71f35c5bad53fe1bcf2a50a6f21b8f9ee
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|