summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * docs: Turn on warning-as-errorStephen Finucane2019-10-013-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Support two-way auth for barbicanclientjonnary2019-10-022-2/+51
|/ | | | | | | This patch supports two-way auth for barbicanclient. Change-Id: I19fb971de864e94b31bf436bc27d5180aebbce4f blueprint:support-two-way-auth
* Fix lower-constraints tox targetDouglas Mendizábal2019-10-012-2/+2
| | | | | | | | | | 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
* Bump the openstackdocstheme extension to 1.20pengyuesheng2019-09-182-12/+7
| | | | | | | | | | | | | | 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
* OpenDev Migration Patchtrain-em4.9.0OpenDev Sysadmins2019-04-193-6/+6
| | | | | | | | | | | | | | | 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.
* Replace openstack.org git:// URLs with https://Ian Wienand2019-03-241-2/+2
| | | | | | | | | | | | | | | | | 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
* Merge "add python 3.7 unit test job"Zuul2019-03-061-0/+1
|\
| * add python 3.7 unit test jobCorey Bryant2019-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Update json module to jsonutilscao.yuan2019-02-263-24/+26
|/ | | | | | | | | | 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
* Merge "Update hacking version"stein-em4.8.1Zuul2019-01-041-1/+1
|\
| * Update hacking versionZhijunWei2018-12-281-1/+1
| | | | | | | | Change-Id: Iff536d9fc6d0b17d12f5badb5741f5b753252642
* | Merge "Use template for lower-constraints"Zuul2019-01-021-4/+3
|\ \
| * | Use template for lower-constraintsAndreas Jaeger2018-12-201-4/+3
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Change openstack-dev to openstack-discuss"Zuul2019-01-020-0/+0
|\ \
| * | Change openstack-dev to openstack-discuss98k2018-12-041-1/+1
| |/ | | | | | | | | | | Mailinglists have been updated. Openstack-discuss replaces openstack-dev. Change-Id: I47fd4cd591759efb9facbdca62e9ab04690dc586
* | Merge "Update mailinglist from dev to discuss"Zuul2019-01-021-1/+1
|\ \
| * | Update mailinglist from dev to discusschenlx2018-12-171-1/+1
| |/ | | | | | | | | | | | | openstack-dev was decomissioned this night in https://review.openstack.org/621258 Update openstack-dev to openstack-discuss Change-Id: Ifa1900a1ac8df659dff5042503e43847047dae58
* | Merge "Secret payload should also be fetched by UUID"Zuul2019-01-022-7/+11
|\ \
| * | Secret payload should also be fetched by UUIDAdam Harwell2018-12-202-7/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "add python 3.6 unit test job"Zuul2019-01-021-1/+1
|\ \ | |/ |/|
| * add python 3.6 unit test jobVieri2018-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Add Python 3.6 classifier to setup.cfgqingszhao2018-11-291-0/+2
|/ | | | Change-Id: I33930ac42df62ef16e174a6bf905b72f255db3cc
* Update min tox version to 2.0huang.zhiping2018-11-071-1/+1
| | | | | | | | | 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
* Don't quote {posargs} in tox.ini4.8.0Vieri2018-10-091-1/+1
| | | | | | | | 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
* Allow fetching by UUID, and respect interfaceAdam Harwell2018-09-1114-96/+366
| | | | | | | | | | | | | | 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
* Import python-barbicanclient-dsvmAndreas Jaeger2018-09-043-2/+93
| | | | | | | Move definition of job python-barbicanclient-dsvm in-repo from openstack-zuul-jobs. Change-Id: Id1cc0523bfaf26574730fc103d353aea21ac33b0
* add python 3.6 unit test jobDoug Hellmann2018-09-041-0/+1
| | | | | | | | | | | | 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
* switch documentation job to new PTIDoug Hellmann2018-09-041-1/+1
| | | | | | | | | | | | | 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
* import zuul job settings from project-configDoug Hellmann2018-09-041-0/+8
| | | | | | | | | | | | | | | | | | | | 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
* Merge "fix tox python3 overrides"4.7.0Zuul2018-07-181-0/+4
|\
| * fix tox python3 overridesDoug Hellmann2018-06-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge "use open() instead of file()"Zuul2018-07-181-1/+1
|\ \ | |/
| * use open() instead of file()Doug Hellmann2018-06-131-1/+1
| | | | | | | | | | | | | | | | Under python 3 the built-in file() has been removed. Use open() instead, since it works for both python 2 and 3. Change-Id: Ifec91646f036dabd8dd6dcd4c648ef4b5bf23427 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* | Merge "Switch to stestr"Zuul2018-07-186-9/+12
|\ \
| * | Switch to stestrVu Cong Tuan2018-07-106-9/+12
| |/ | | | | | | | | | | | | | | | | | | 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: I3597edc56ac5115347baaf72af72b071976468e7
* | Remove PyPI downloadsChen2018-06-071-4/+0
|/ | | | | | | | | According to official site, https://packaging.python.org/guides/analyzing-pypi-package-downloads/ PyPI package download statistics is no longer maintained and thus should be removed. Change-Id: I4e1254172f94b609967f1ee8689f5c780dd56f6f
* Merge "Add --file flag for secrets"Zuul2018-06-045-35/+155
|\
| * Add --file flag for secretsDave McCowan2018-06-015-35/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a --file (-F) flag to both 'secret store' and 'secret get' commands to work around a cliff formatter limitation when dealing with binary data. This flag can be used to store a payload directly from a file so that a user doesn't have to do any base64 juggling of their data. The flag can also be used to save a payload directly to a file so we can avoid UTF-8 and ASCII encoding errors thrown by the cliff formatters that expect text data. Original Review: https://review.openstack.org/#/c/388981 Co-Authored-By: douglas.mendizabal@rackspace.com Change-Id: Iee7e2bbb95238a9bbb9e8e6124fe1663da377939
* | Merge "Update the bugs link address"Zuul2018-06-022-3/+3
|\ \
| * | Update the bugs link addresshuangshan2018-05-112-3/+3
| |/ | | | | | | | | | | We should switch this to storyboard now that we've migrated the bugs Change-Id: Ifed825076e735d2c61492a8e772b531a7a225cf0
* | Trivial: Update pypi url to new urlmelissaml2018-04-211-4/+4
|/ | | | | | | | | Pypi url changed from [1] to [2] [1] https://pypi.python.org/pypi/<package> [2] https://pypi.org/project/<package> Change-Id: Ia3cf07076ad2ecfbb7762a1ceb488f9ed880584d
* Merge "Update the old http links in docs"Zuul2018-04-162-4/+4
|\
| * Update the old http links in docsShangXiao2018-03-072-4/+4
| | | | | | | | | | | | | | Update the old http links to the newest ones in CONTRIBUTING.rst and README.rst. Change-Id: Ic4f1221a3aaa7bbe7dd7fda4961ec6fca73955b5
* | Merge "pypy is not checked at gate"Zuul2018-04-161-1/+1
|\ \
| * | pypy is not checked at gateAnusree2018-03-211-1/+1
| | | | | | | | | | | | Change-Id: I3d437112f47074e7cd91cac798bd83cfb7c4bfed
* | | Merge "Add 'rm -f .testrepository/times.dbm' command in testenv"Zuul2018-04-161-0/+2
|\ \ \
| * | | Add 'rm -f .testrepository/times.dbm' command in testenvrajat292017-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running py2* post py3* tests results in error. Add 'rm -f .testrepository/times.dbm' command in testenv to resolve this. Closes-Bug: #1565928 Change-Id: I31fa34e48f24014885668c249eaf8bb62b70fadc
* | | | Merge "Supress client debug messages"Zuul2018-04-101-0/+30
|\ \ \ \
| * | | | Supress client debug messagesJeremy Liu2018-03-191-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cliff sets log level to DEBUG in `run` function [1], need to overwrite this configuration to depress DEBUG messages. This patch adds such configuration in `prepare_to_run_command` function which will be called by cliff after it sets log level to DEBUG [2][3]. [1] https://github.com/openstack/cliff/blob/master/cliff/app.py#L248 [2] https://github.com/openstack/cliff/blob/master/cliff/app.py#L279 [3] https://github.com/openstack/cliff/blob/master/cliff/app.py#L393 Change-Id: I5c270d74cb09e90b8a98fd8febf587b98db2306f Closes-bug: #1681966
* | | | | add lower-constraints jobDoug Hellmann2018-04-073-0/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: I39ad6aa578434d803d481d67c4ae67f06e376834 Depends-On: https://review.openstack.org/555034 Signed-off-by: Doug Hellmann <doug@doughellmann.com>