- 29 Jul, 2020 1 commit
-
-
Douglas Mendizábal authored
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
-
- 28 Jul, 2020 1 commit
-
-
Zuul authored
-
- 07 Jul, 2020 1 commit
-
-
Zuul authored
-
- 16 Jun, 2020 2 commits
- 11 Jun, 2020 1 commit
-
-
Dirk Mueller authored
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
-
- 09 Jun, 2020 4 commits
-
-
Zuul authored
-
Andreas Jaeger authored
The repo is Python 3 now, so update hacking to version 3.1.0 which supports Python 3. Fix problems found. Change-Id: I54f9f7c5f6ee87ee886658388541f45e23c7546d
-
Andreas Jaeger authored
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
-
Sean McGinnis authored
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>
-
- 08 Jun, 2020 2 commits
-
-
Ghanshyam Mann authored
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
-
Takashi Kajinami authored
- 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
-
- 05 Nov, 2019 2 commits
- 02 Oct, 2019 1 commit
-
-
jonnary authored
This patch supports two-way auth for barbicanclient. Change-Id: I19fb971de864e94b31bf436bc27d5180aebbce4f blueprint:support-two-way-auth
-
- 01 Oct, 2019 3 commits
-
-
Alexandra Settle authored
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
-
Stephen Finucane authored
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>
-
Douglas Mendizábal authored
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
-
- 18 Sep, 2019 1 commit
-
-
pengyuesheng authored
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
-
- 19 Apr, 2019 1 commit
-
-
OpenDev Sysadmins authored
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.
-
- 24 Mar, 2019 1 commit
-
-
Ian Wienand authored
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
-
- 06 Mar, 2019 1 commit
-
-
Zuul authored
-
- 26 Feb, 2019 1 commit
-
-
cao.yuan authored
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
-
- 15 Feb, 2019 1 commit
-
-
Corey Bryant authored
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
-
- 04 Jan, 2019 1 commit
-
-
Zuul authored
-
- 02 Jan, 2019 5 commits
- 28 Dec, 2018 1 commit
-
-
ZhijunWei authored
Change-Id: Iff536d9fc6d0b17d12f5badb5741f5b753252642
-
- 20 Dec, 2018 2 commits
-
-
Adam Harwell authored
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
-
Andreas Jaeger authored
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
-
- 17 Dec, 2018 1 commit
-
-
chenlx authored
openstack-dev was decomissioned this night in https://review.openstack.org/621258 Update openstack-dev to openstack-discuss Change-Id: Ifa1900a1ac8df659dff5042503e43847047dae58
-
- 04 Dec, 2018 1 commit
-
-
98k authored
Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I47fd4cd591759efb9facbdca62e9ab04690dc586
-
- 29 Nov, 2018 1 commit
-
-
qingszhao authored
Change-Id: I33930ac42df62ef16e174a6bf905b72f255db3cc
-
- 28 Nov, 2018 1 commit
-
-
Vieri authored
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
-
- 07 Nov, 2018 1 commit
-
-
huang.zhiping authored
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
-
- 09 Oct, 2018 1 commit
-
-
Vieri authored
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
-
- 11 Sep, 2018 1 commit
-
-
Adam Harwell authored
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
-