Commit Graph

11 Commits

Author SHA1 Message Date
Hervé Beraud f6b619e8e8 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].
Removed 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.

[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: I23bbefb2549afdb7e54c9b0c245a338cae4e81e9
2021-01-05 23:23:56 +01:00
Pierre Riteau 10ef8b76dd Fix multiple CI failures
1) Bump hacking max version to 3.0.1 and fix code style failures.

pep8 job is failing because the version of flake8 (flake8<2.7.0,>=2.6.0)
requested by hacking<1.2.0 is not compatible with pyflakes>=2.1.1.
Therefore the patch increases the max version of hacking.

2) Disable swift-proxy service which fails to start on stein. Disabled
   other unneeded services while here.

Change-Id: I87c6d037fbbc24ef795ddbe26b5e297fb1bbc7a9
2021-01-05 17:18:45 +01:00
Ghanshyam Mann 339c3e1e26 migrate 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.

Story: #2007865
Task: #40178

Closes-Bug: #1886296
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html

Change-Id: I295c8e2fe6b135833b33cdf9d405d169f358c083
2020-07-09 15:11:33 -05:00
Andreas Jaeger 9468fcf2dc Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I524d5c8b09b31dbc6781792d5dc91994f7ed4791
2020-05-30 15:53:26 +02:00
Andreas Jaeger bcdfdf25b3 Update docs building
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
  python 3
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's not needed, the default is fine

Change-Id: I34fa39d1d57352b7187b986473bce772dcdc32f0
2020-04-19 10:25:53 +02:00
Tetsuro Nakamura 31b690c1f7 Stop testing with py2
Python 2 is no longer supported. Python 3 is required.
This patch stops testing with Python 2.

Change-Id: Ia18f527ccacc14630a3ec4a2335c99a654b7fea0
2020-01-22 05:52:07 +00:00
Pierre Riteau de514b2236 Update sphinx requirements
Following recent changes to global requirements [1], we need
to update sphinx requirements locally. This should fix the
requirements-check job.

[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: I712e869a8ccef5a7181211fa1b8bff3a4dd06170
2019-06-07 15:09:10 +01:00
Pierre Riteau 1c305f595f Update hacking version
Change-Id: I78d0722f3864c8225a64c4da2456ba2560af5081
2019-02-05 17:38:40 +00:00
OpenStack Proposal Bot c84c62bc27 Updated from global requirements
Change-Id: Ica39a3b9192d454b143c24c7ed7bbaafb37c5e30
2018-03-15 06:47:31 +00:00
OpenStack Proposal Bot 730564eb64 Updated from global requirements
Change-Id: I1dcd363494989a37bc6afe652b2c1cf9261e03a2
2018-01-27 17:30:13 +00:00
Chandan Kumar 30323b4d4b Apply cookiecutter to newly split project blazar-tempest-plugin
This tempest plugin is being split out of the main blazar project in
accordance with Queens goal "Split Tempest Plugins into Separate
Repos/Projects"[1]. This patch applies the standard boilerplate files
for OpenStack projects so that it can stand on its own.

[1] https://governance.openstack.org/tc/goals/queens/split-tempest-plugins.html
2017-12-18 14:38:55 +05:30