Commit Graph

9 Commits

Author SHA1 Message Date
Ghanshyam Mann 8325044e7a Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ib988f3b567e31c2b9402f41e5dd222b7fc006756
2024-02-24 11:41:49 -08:00
Hervé Beraud fa7e59644d Add doc/requirements
We need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].
Removing specific doc requirements from test-requirements.txt.

The problem here is that this repos haven't doc/requirements.txt file
and by default in this case zuul will use the test-requirements.txt file
to pull requirements [4].

This requirements file contains extra requirements like flake8 that
collided with those allowed in our job environment and so the new pip
resolver fails to install these requirements and the job exits in error.

This project meet the conditions leading to the bug however it doesn't
produce any doc or releasenotes, but uniformization can't hurt and help
us in the future.

[1] http://lists.openstack.org/pipermail/release-job-failures/2021-January/001500.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019611.html
[3] http://lists.openstack.org/pipermail/openstack-discuss/2021-January/019612.html
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/ensure-sphinx/tasks/main.yaml#L36

Change-Id: I746d4b743924eefeb606e8516e2f60244b977c92
2021-01-07 16:07:40 +01:00
Sean McGinnis bdaa7473b5 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: I78a70c535950f645fcb3a5f1e820d70cc6958d36
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-22 20:39:38 +00:00
Ben Nemec dd4fdeb07e Update sphinx requirement
Sphinx 2.0 doesn't work on Python 2 anymore. We need to cap it there.

Change-Id: I86275931d389c0a658203aa5cae12dd161e1c547
2019-06-06 10:30:59 -05:00
Ben Nemec cd32029388 Stop using setup.py [test|testr|build_sphinx]
These are all deprecated. For unit testing stestr should be used
directly, and for doc builds sphinx-build should be used directly.

A couple of minor doc changes were needed to eliminate warnings.

Change-Id: Ic2e1b9d692c9b5866f888fb4c8c08bf95742764e
2019-01-16 13:21:28 -06:00
Ben Nemec e4edf35b64 Split routed-networks environment
This allows the path-specific registry entries to be static and
doesn't impose any requirements on where the environment containing
parameters lives. The documentation is also updated, which required
a newer version of sphinx to allow automatic references to headings.
2018-10-31 20:38:04 +00:00
Ben Nemec be2d244c67 Don't use oslosphinx
We're not an official OpenStack project, and this might be causing
issues for RTD rendering.
2017-01-16 09:46:00 -06:00
Ben Nemec f2215e6c62 Begin migrating docs to sphinx
There are getting to be enough docs for ovb that a flat readme will
become unwieldy.  Migrating to sphinx will also be more consistent
with how other OpenStack projects work.

The flat readme is left for now as I don't have a hosting location
for the sphinx docs yet.
2017-01-11 17:19:52 -06:00
Ben Nemec 9fe31995c5 Reorganize into package and add tox for testing
Moves the functional code into an openstack_virtual_baremetal env
and adds a tox configuration for testing.  Existing unit tests for
deploy.py are moved into the tests subpackage.  Further unit tests
for the other modules will be added in followup commits.

Symlinks from the bin directory are left so the previous workflow
should continue to work as before.
2016-07-14 12:23:41 -05:00