summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Don't skip test_should_show_usage_with_help_flagstable/trainDouglas Mendizábal2022-05-181-2/+0
| | | | | | | | | This patch removes the skip for a test that is skipped in newer branches. Change-Id: I629bb93320054796c46c0df368a490946ffefe66 (cherry picked from commit 890cd65aa8a97d5c8e588ebe4b63c543d8ccf6c9) (cherry picked from commit 21e7796bcaf8b2dfcf9b35bdd3e31c0845d54ee1)
* Revert "[ussuri][goal] Drop python 2.7 support and testing"Douglas Mendizábal2022-05-175-14/+13
| | | | | | This reverts commit 69a14917e5f98f82dd1f4cdf33a49e6f3f708c13. Change-Id: I2521022b59b30b62d297c33b12cc7165389752c2
* Fix stable/train gatesTakashi Kajinami2022-05-1730-450/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch combines 4 backports to try to fix the stable/train gates. 1. Fix gate job failures and py3 compatibility - 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. (cherry picked from commit 6420da336083d936da9a4563149b08d785d70c84) 2. [ussuri][goal] Drop python 2.7 support and testing 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 (cherry picked from commit 69a14917e5f98f82dd1f4cdf33a49e6f3f708c13) 3. Zuul: port to native v3 job 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). The original commit did also change the unit test job to fit that branch, but it is not needed here. Co-Authored-By: Luigi Toscano <ltoscano@redhat.com> (cherry picked from commit 1f0feb30ccd3b19bc23453d85d3266c85fcf04d6) (cherry picked from commit 22c4d9b8d25498943f519d1ecddd4dfdfe33f489) 4. Drop lower-constraints.txt and its testing As discussed in TC PTG[1] and TC resolution[2], we are dropping the lower-constraints.txt file and its testing. We will keep lower bounds in the requirements.txt file but with a note that these are not tested lower bounds and we try our best to keep them updated. This patch also fixes a broken test by updating the maximum payload size to match the current maximum in Barbican. [3] This patch also skips an additional broken test. It will be fixed in a separate patch. [1] https://etherpad.opendev.org/p/tc-zed-ptg#L326 [2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal [3] https://opendev.org/openstack/barbican/src/branch/stable/yoga/barbican/common/config.py#L33 (cherry picked from commit 8e3a391fd63c0a319071fc55996faab3e6699a0f) (cherry picked from commit b37d3dec33b439d3611ad403d56e5b70aade3e04) (cherry picked from commit 6ce011fde0198b67222e4acbd921d7b0a7b222f9) (cherry picked from commit d5763ec6c754a89bc7862c70086ec0a1d5bdd331) (cherry picked from commit cba46e6165b231b21e689c9cdd43d02c863f6071) (cherry picked from commit a0b4d1024c4e4455fce3aa0a6ab43536b13c1def) Change-Id: Id192b8eef2c2518b8a89f200727bd03c47dbd07e
* Update TOX/UPPER_CONSTRAINTS_FILE for stable/trainOpenStack Release Bot2019-10-011-2/+2
| | | | | | | | | | | | Update the URL to the upper-constraints file to point to the redirect rule on releases.openstack.org so that anyone working on this branch will switch to the correct upper-constraints list automatically when the requirements repository branches. Until the requirements repository has as stable/train branch, tests will continue to use the upper-constraints list on master. Change-Id: I303198cefab8251700c96f955e2148ae0c4cad18
* Update .gitreview for stable/trainOpenStack Release Bot2019-10-011-1/+1
| | | | Change-Id: I4bbdd7eb2e28a2b553274910d656af45d9e7bdee
* 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
* 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
|\ \ \ \