Commit Graph

12 Commits

Author SHA1 Message Date
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
Alexandra Settle 3db28fb81a PDF Documentation Build tox target
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.

Also, due to the opposing graphic format, the .gif file
had to be converted (not renamed) to .png so the LaTeX
builder would accept and read the images.

Change-Id: I6384e56222991d39f4fd1bc99e82be6c89fb16a3
Story: 2006072
2019-09-25 08:59:22 +00:00
Douglas Mendizábal a5c1ae6ace Update Castellan minimum version
Barbican added support for AppRole in the Vault backend
for Stein.  It requires at least version 1.2.1 to work.

Change-Id: I40f2a4932eaafa61fcdc3884c0d7e3f3470788c2
Story: 2005359
Task: 30329
2019-08-06 07:43:59 +00:00
whoami-rajat d3280f18f3 Add barbican-status upgrade check command framework
This adds basic framework for barbican-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: I40bfcc0c8755e814c1b63fdf323c32fda967968e
Story: 2003657
Task: 26120
2019-01-15 06:16:53 +00: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
Nam Nguyen Hoai ef9a6f3867 Initial OVO for Barbican
Creating a initial patch set for OVO
in Barbican.

Partial Implements: blueprint rolling-upgrade

Change-Id: I13ae209bdafd8ed857925650fbe13b3b9ca78847
2018-06-05 13:21:18 +07:00
Ade Lee 54a11c6391 Remove pycrypto dependency
Change-Id: I3e34538872531409e5ced73c00828d864f7c8c67
2018-05-17 11:57:01 -04: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
Doug Hellmann 199381ea5e add lower-constraints job
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: Ib098a5cd8e4d119bea61d9b6c28d8274902fe4fd
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-22 09:01:01 -04:00