Commit Graph

22 Commits

Author SHA1 Message Date
Zuul ee780b7195 Merge "Add doc/requirements" 2024-01-31 00:27:30 +00:00
Takashi Kajinami 61b2b86652 Make tox.ini compatible with recent tox versions
Change-Id: Idd269aba375ca31a24d5012da03214dc882e4014
2024-01-26 14:37:29 +09:00
Eduardo Santos 6496b2f2ba Remove lower-constraints job
This patch removes the lower-constraints job entirely. This change
is needed due to an update in the pip-dependency-resolver which
broke the lower-constraints job.

Change-Id: Ie97fec3d6edf93a1506a38ead8a17534e6bb0ccd
2021-03-04 17:40:19 +00:00
Hervé Beraud 8036700154 Add doc/requirements
Removing specific doc requirements from test-requirements.txt and move
them to a dedicated place.

Indeed, we need to specify doc requirements in doc/requirements.txt
to avoid problems with the pip resolver [1] for the release team [2][3].

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: Ibf838f01d935763ff1e0d19f10340c8ee360784c
2021-01-07 11:54:17 +01:00
George Melikov 36584b81dd Pass env vars into tox buildimage sections
Change-Id: Ia447d5fef7dd09ad6a68c6516a07306f314247e1
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-05-20 12:54:52 +03:00
Andreas Jaeger c127687d3d Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine;
  move contraints into deps
- Move python3 into base tox environment.

Change-Id: Ibd243ce5be8415147c24f596b4059ec3fb68a89c
2020-04-11 15:39:10 +02:00
jacky06 67b317ce82 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update the UPPER_CONSTRAINTS_FILE for tox[1]
3. Update some URLs to latest

[1]: http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: Ibe8c402c2817c31748e6a4b8344024a276609260
2019-06-25 14:36:09 +08:00
Zuul cbd9e5880b Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-05-23 20:51:00 +00:00
Andreas Jaeger 6777ba5519 Update docs job
build-openstack-sphinx-docs jobs are obsolete since some time,
use the newer build-openstack-docs-pti jobs instead.

Update tox.ini to use sphinx-build directly as recommended by PTI.

Change-Id: Ib1bb988889db8f6c0a0ee4d4fbf8921725c9790f
2019-05-19 13:36:18 +02:00
caoyuan 782ba82156 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I38a97dabafd78c48da3668d4b92cb817e1fd3ed9
2019-04-24 00:35:17 +08:00
Doug Hellmann 7efceceeb3 fix tox python3 overrides
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: I3a20dc68bf1d4051724d148b0fa808ea3d0a1673
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:55:49 -04:00
Doug Hellmann 9b560bb1f1 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: I8835451b431d29ff2a4d8eb965e8684c4499e9e8
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-23 10:50:28 -04:00
Victoria Martinez de la Cruz ac84122598 Enables end user to pick share protocol
This patch set refactors manila-image-create script to allow
end users to pick which share protocol install on their images.
This change slightly affects the current behavior of the script.

If an image is created using tox -e buildimage (as stated by current
docs) an Ubuntu Trusty Minimal image with NFS will be created.

Now, calling manila-image-create with params, will generate an image with
the filesystem protocol desired.

Change-Id: I0419cbf9a39290d32409f7a5ab9dfaf5ca636bb7
Closes-Bug: #1643034
2017-01-16 12:40:01 -03:00
Jenkins bd607f1968 Merge "Removes LXC/LXD support on manila-image-elements" 2017-01-14 15:40:49 +00:00
Victoria Martinez de la Cruz 288f6c2f97 Removes LXC/LXD support on manila-image-elements
The support for LXC/LXD was added as part of the initial effort
to develop a container driver for Manila which was later on
abandoned. Despite of that, the code in the manila-image-elements
remained.

This patch set removes LXC/LXD container support in
manila-image-elements. Code-path used for generation of Docker images is
preserved.

This will help for the parallel effort of making
manila-image-elements usable by end users.

Change-Id: I99c6a7fbf2b2fb0cebb7b16d94c66f807e7ac7ef
Closes-Bug: #1646615
2017-01-10 14:15:24 +00:00
Tony Breeds 4603abfb0a Add Constraints support
To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I9b1ffe86e5bbf7219246c0e56a86dfffa0266b3e
2016-12-21 11:48:56 +11:00
Alexey Ovchinnikov b8ce11524a Add tox job for building Docker image
Add new job 'buildimage-docker' which produces a compressed
image from which a Docker container can be started. This
container is designed to run Samba.

Change-Id: I499fa1850d3ad197cab5f742bfca1a9f074e9a8b
2016-04-15 15:09:07 +03:00
Igor Malinovskiy 796f168c5c Add tox job for building LXD image
Add additional tox job 'buildimage-lxd' which produces
lxd metadata package and rootfs with installs
nfs-ganesha, unfs3 and cifs.

Co-Authored-By: Alexey Ovchinnikov <aovchinnikov@mirantis.com>

Change-Id: Ia5a4701a828aeef93840f9c0a0e1d0bc0f4a5a2e
2016-03-09 11:37:27 +04:00
vponomaryov a07f17734e Fix buildimage job
Job named "buildimage" fails with following error:

E: Package 'kpartx' has no installation candidate

So, execute "apt-get update" before required dependencies installation.
Also, do not install dependencies specified in 'test-requirements.txt'
as redundant.

Change-Id: Ic4beaa6be81eb50bafa1dd029722ec84288e6f20
Closes-Bug: #1537011
2016-01-25 15:48:13 +02:00
Ondřej Nový 862a0768fc Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: Ieca3d8912e80071c4aee540df983d9e30c6b61e3
2015-12-11 21:19:26 +01:00
Igor Malinovskiy 62b4ccb392 Add buildimage tox env 2015-06-03 17:05:38 +03:00
Igor Malinovskiy 50336185d9 Align project with default openstack project structure 2015-06-03 16:18:32 +03:00