Commit Graph

117 Commits

Author SHA1 Message Date
Takashi Kajinami d9b1b5ad8e Bump hacking
hacking 3.0.x is too old.

Change-Id: I21778b05eea73ac3c6b5a83727e8636d0bf4752e
2024-01-27 22:30:46 +09:00
Zuul 66a848b950 Merge "Update doc8 version" 2021-01-12 15:14:46 +00:00
wu.shiming d9ec7dd695 Update doc8 version
doc8 only supports python version less than 3.4

[1] https://pypi.org/project/doc8/0.8.0/

Change-Id: Ic020a95c7c25be1188e926fe6b9fe1bd1625dd01
2020-12-16 14:36:45 +08:00
wu.shiming dbda8ecbe3 Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.

Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.

To avoid similar gate break in future, we need to bump the hacking min
version.

- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html

Change-Id: Iad2e2f56e4cd71f371c760eef85cb121ef1438fe
2020-11-02 13:58:42 +08:00
Andreas Jaeger 9dbeefb55e Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Update local hacking checks for new flake8, remove
test B314 since that tests difference between Python 2 and 3,
there's no need to advise using six anymore.
Use oslotest.base directly, this fixes the hacking tests.

Remove ddt usage in testsuite, it does not work with current hacking
version anymore.

Change-Id: Iee4584c6fde08728c017468d9de1db73f2c79d8d
2020-10-12 21:20:06 +02:00
Ghanshyam Mann 129c0c5f3f migrate tox based testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Integratrion testing migration will be done later once
https://storyboard.openstack.org/#!/story/2007732 is fixed

Story: #2007865
Task: #40177

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: Ic4fd981240f59da4106088c61baec801e031f2c3
2020-09-08 23:06:00 +00:00
Andreas Jaeger e2f37f5e63 Remove install_cmd,lower-constraints
Move constraints into deps, remove install_cmd.

The default install_cmd is just fine to use.

Increase constraints since they are now finally tested, see
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html
showed that they are broken. The lower-constraints job is optional,
remove it.

Change-Id: Ieda45ef624e0cd4e60216b740cc04aff0783e863
2020-04-30 15:22:29 +02:00
Sean McGinnis 32a7100358 Use unittest.mock instead of third party mock
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: I2bb5204c1ee88d0b0cd6df830dac80d37bfddcf2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-28 04:00:17 +00:00
Andreas Jaeger 80fc5511b8 Block bandit 1.6.0
Bandit 1.6.0 broke the -x command, block this release so that
pep8 tests pass again.

Sync with global requirements file to pass tests:
* update sphinx
* update jsonschema

Change-Id: If78421403ae188713820feb2071a8a889d9ccd7b
2019-05-13 15:37:57 +02:00
Nguyen Van Trung 727ffb14d3 Add doc8 to pep8 check for project
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.

Change-Id: If9c6fbf51033cd420c605443dbb3049535024697
2018-07-30 01:56:14 +00:00
Vu Cong Tuan 1f8a317ace Switch to stestr
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: Iee69eae0043a401eb355a1fcb957879904882e85
2018-07-17 09:48:31 +07:00
Nguyen Van Trung baec7f5490 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I31f34904335fa889c05153bf899067dba7453fbe
2018-06-07 12:33:15 +07:00
Ade Lee fda4948efb Fix broken gate due to breaking dependency changes
PyKMIP changes:

The CredentialType is no longer imported into the credentials
module.  Fixed the reference.  Skipping the accept header tests
till the webob fix is available.

WebOb 1.8.1 changes:

This patch updates the Accept header logic that was broken
by the update in the WebOb dependency.

In the interest of time I had to comment out four functional tests
that will require further work in the content negotiation logic so
we can get the gate working again.

Also shame on the WebOb folks for not bumping the major version
on this breaking change.

Change-Id: Ie4d0df0cca2c79686830931e96b11bbc97a41c5b
Story: 2002122
2018-06-01 17:33:51 -05:00
Ade Lee 89cb777941 Castellan based secret store
This will provide a Castellan based secret store, which will
allow secret stores which have a castellan backend to be used
behind barbican.  The initial example of this is the Vault
backend.

Unit tests have been added.  In local tests,
most of the functional tests do in fact pass with a local Vault
backend, though this will need to be demonstrated with a later
review which establishes a Vault based gate.

Change-Id: Ib30fb79304014592bfc37938839d60a4c10c244d
2018-05-14 01:37:48 -04:00
Jeremy Liu 4051160c9b Add os-testr as test dependency
This is necessary for running functional tests.
Also fix unmatched requirements following [1][2].

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-April/129056.html
[2] https://review.openstack.org/#/c/558610/

Change-Id: I67de85cf24d40ef5066e0a4668071e890eb65087
Closes-bug: #1762646
2018-04-11 18:29:56 +08:00
OpenStack Proposal Bot 835a48dd9d Updated from global requirements
Change-Id: If31f7a41686205c5202c533e5bae1ad6cbcb8e02
2018-03-23 03:56:30 +00:00
OpenStack Proposal Bot ab90a1ef69 Updated from global requirements
Change-Id: I4d8a15b2084e8f6702b634dc5ba5b25bb3931078
2018-01-24 00:49:11 +00:00
OpenStack Proposal Bot 10ef7adcff Updated from global requirements
Change-Id: Ice3881f6be7ff7d328c716b2cfdd8bab48689a3e
2018-01-17 20:28:07 +00:00
OpenStack Proposal Bot 6647eb9276 Updated from global requirements
Change-Id: I6ad527a1e5308da1eecbe35aedc0e25266678be3
2017-12-10 06:57:00 +00:00
Nam Nguyen Hoai 11391d4873 Cleanup test-requirements
python-subunit is not used directly anywhere
and it is dependency of both testrepository
and os-testr

Change-Id: I3e17805d35dbf961ca154e14a34248f0504f1b71
2017-10-07 16:11:14 +07:00
OpenStack Proposal Bot 73dc46cf30 Updated from global requirements
Change-Id: I244559863daf77b8e69a6d6db4bf837e060aa7af
2017-09-14 00:29:26 +00:00
OpenStack Proposal Bot 2a4732af4d Updated from global requirements
Change-Id: I92cf74109c3af636cd6a3868aa91e0f8a33cb1a1
2017-09-12 13:58:59 +00:00
OpenStack Proposal Bot 5c615d187b Updated from global requirements
Change-Id: Ic0e54a83e8383655fb4a84dd21a608f4400093a3
2017-08-26 11:30:47 +00:00
OpenStack Proposal Bot d36cca91df Updated from global requirements
Change-Id: I3e9b3a5dd0ad0d33fd0de1346c03da436192ea43
2017-07-27 19:07:39 +00:00
OpenStack Proposal Bot 4a23687adc Updated from global requirements
Change-Id: Id634cfff5af2b3d76b578371f8c7407fc8cc966a
2017-07-18 01:44:19 +00:00
Andreas Jaeger 1d1a6f3729 Use openstackdocstheme 1.11 everywhere
Switch to use openstackdocstheme 1.11 for all documents and set it up
following correctly.

Change-Id: If312a985702b1b591d3ca7346c5349905b23a66a
2017-06-30 20:12:52 +02:00
OpenStack Proposal Bot bc963d55aa Updated from global requirements
Change-Id: I7fa5bb31eb5fca18f58ba8e85e7915cca53e685c
2017-06-10 21:35:15 +00:00
OpenStack Proposal Bot 6bd3ff3558 Updated from global requirements
Change-Id: I61c73160ced945a3637e4dd8d64b305f7e5b660d
2017-06-06 05:59:55 +00:00
OpenStack Proposal Bot 4e5f526671 Updated from global requirements
Change-Id: I56c4d754864ba28479d4fc213720a11ef6217837
2017-05-17 03:46:08 +00:00
OpenStack Proposal Bot ae1019c878 Updated from global requirements
Change-Id: I20243dea573900ca994741b19418549d39432711
2017-05-15 00:41:57 +00:00
Jenkins 0750dd884f Merge "Initial commit for Barbican api-ref" 2017-04-05 13:35:01 +00:00
OpenStack Proposal Bot df0cefd94c Updated from global requirements
Change-Id: If17115fca7a75cb79927f55cfc3df951bfc70c77
2017-03-10 03:28:28 +00:00
ricolin 2831e5d228 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: Ifc80e70434d99ab04d12a744e66daa2fea8ebe4b
2017-03-02 21:21:18 +08:00
Jeremy Liu 6300e730d2 Initial commit for Barbican api-ref
Change-Id: Ie67aae021efc835d4a1fb5bbfffb8761ea41a3b4
Closes-Bug: #1667053
2017-02-28 22:56:27 +08:00
OpenStack Proposal Bot 20f8aebe7b Updated from global requirements
Change-Id: Ic9f80f176a821543e23fb5f771d067828af5f1d2
2017-02-11 17:40:28 +00:00
OpenStack Proposal Bot 9a5cdd02ad Updated from global requirements
Change-Id: I2231d3412942094663742c8c5f967e7bed45ca26
2017-02-10 09:38:26 +00:00
OpenStack Proposal Bot 25421dcc50 Updated from global requirements
Change-Id: I26935f5c7259bb77220352a33cc0dfd72c12ab6e
2016-12-06 04:27:27 +00:00
Jeremy Liu dea8754c6d Introduce hacking check to Barbican
Add hacking check to ensure we use proper rules and follow
community guideline [1].

[1] http://docs.openstack.org/developer/hacking/

Change-Id: I61e366969385aa044aea9d9678fbc91d32325497
2016-12-03 19:28:29 +08:00
OpenStack Proposal Bot d85be13550 Updated from global requirements
Change-Id: Id17fca6aeb3c5b0eb06141892de2720215761b3e
2016-11-02 15:30:15 +00:00
OpenStack Proposal Bot 63c5680663 Updated from global requirements
Change-Id: I4afbb0368bad527e4e6df90ba4c9897104fc10c4
2016-10-27 12:12:14 +00:00
OpenStack Proposal Bot 1d7f758af8 Updated from global requirements
Change-Id: Id8dac3bbf5baf82aeef60fb9cda42398828907cc
2016-10-19 06:02:53 +00:00
OpenStack Proposal Bot 70d26aedb2 Updated from global requirements
Change-Id: Iae8c9ee4cef140da91ad9e68fab244eba95989e9
2016-09-29 05:04:57 +00:00
OpenStack Proposal Bot 66c88d09da Updated from global requirements
Change-Id: I85d1105ee1a52e102ade5282e1d4b068a9066be0
2016-09-27 16:54:34 +00:00
OpenStack Proposal Bot 75dcd99562 Updated from global requirements
Change-Id: I4394c3c493f817a235b22cbc2e6fc91ff3fcea36
2016-08-26 05:06:34 +00:00
OpenStack Proposal Bot 80067d541f Updated from global requirements
Change-Id: Ib75dd80912b4669925d04f53d9dfd8570bddc251
2016-08-05 08:45:22 +00:00
OpenStack Proposal Bot 5ffbe2516a Updated from global requirements
Change-Id: I63fb950515d44b8eaf4b5c5269c857b72fd6e344
2016-07-18 18:07:27 +00:00
Jenkins 6af3100944 Merge "Barbican tests fail because of incomplete test dependencies" 2016-07-10 20:31:56 +00:00
liujiong 9df6e5bb7b Barbican tests fail because of incomplete test dependencies
Missing dependencies in test-requirements.txt

Closes-bug: #1428183
Change-Id: I894eb015cf9ceac7bbc315da81d300abd58cd7ef
2016-07-07 18:08:43 +08:00
OpenStack Proposal Bot 2088caf04b Updated from global requirements
Change-Id: I102aed6b534a4f881a4cc661e48c2bf9b9ee2ba9
2016-06-24 03:10:00 +00:00
OpenStack Proposal Bot 427706d6a1 Updated from global requirements
Change-Id: I6f46123b7499c1701c416b0e1a80a7bd732b4c08
2016-06-21 17:57:47 +00:00