Commit Graph

35 Commits (701c146bd748bcf9c0228cea593539a3521661ca)

Author SHA1 Message Date
Daniel Bengtsson 5600af1012 Stop testing python 2 in tox.
Remove python 2 from envlist parameter. Check the link:

The plan is drop the python 2 support from OpenStack in Ussuri release.
Move the basepython parameter.

Change-Id: I52b974f7c701c8a46001a29bdf5f7b077f898cba
2020-04-02 03:16:24 +00:00
Bogdan Dobrelya dd02f75d56 PDF documentation build
The is one of community goals that each project could produce a
single PDF file. The pdf should be in the output of openstack-tox-docs

The list of changes:
- add a new pdf-docs environment to enable PDF build,
- sphinxcontrib-svg2pdfconverter is used to handle SVG properly,
- poke versions for sphinx and openstackdocstheme,
- disable usage of xindy for tex,
- do not generate empty pages,
- only build html for toctree and other content-less for pdf sections,
- adjust README to firstly contain "About tripleo" then team & repo tags
  for the better view in PDF-generated contents.
- move the Contributing chapter closer to the beginning for the better
  view in the long list of generated contents.

More about the goal:

TeX and  few more packages may be needed to build PDF locally
(listed for bindep):

inkscape [doc platform:dpkg]
fonts-liberation [doc platform:dpkg]
texlive-latex-base [doc platform:dpkg]
texlive-latex-extra [doc platform:dpkg]
texlive-xetex [doc platform:dpkg]
texlive-fonts-recommended [doc platform:dpkg]
xindy [doc platform:dpkg]
latexmk [doc platform:dpkg]
texlive [doc platform:rpm]
texlive-fncychap [doc platform:rpm]
texlive-titlesec [doc platform:rpm]
texlive-tabulary [doc platform:rpm]
texlive-framed [doc platform:rpm]
texlive-wrapfig [doc platform:rpm]
texlive-upquote [doc platform:rpm]
texlive-capt-of [doc platform:rpm]
texlive-needspace [doc platform:rpm]
texlive-polyglossia [doc platform:rpm]
latexmk [doc platform:rpm]
python3-sphinxcontrib-svg2pdfconverter-common [doc platform:rpm]
librsvg2-tools [doc platform:rpm]
librsvg2-bin [doc platform:dpkg]

Change-Id: Ib3bb34191582f581c28f2f8a0281cf3ae44003e8
Signed-off-by: Bogdan Dobrelya <>
2019-09-11 16:33:21 +02:00
Corey Bryant e099e19af3 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:

Change-Id: Ie27e6107a7334a3a2f9aeb054b0c559c0440db51
Story: #2005924
Task: #34253
2019-07-24 10:25:57 +02:00
Alex Schultz 8de77cbe70 Add minion installation
Add the ability to install an undercloud minion which is connected to an
original undercloud. This minion can have either heat-engine or
ironic-conductor deployed on it.

Adds two new openstack commands for the minion install and a new
minion.conf can be used to configure them.

openstack undercloud minion install
openstack undercloud minion upgrade

Change-Id: I61832f5088be172eaf31b36a9cca8dc289580bb2
Related-Blueprint: undercloud-minion
2019-06-21 07:44:21 -06:00
Natal Ngétal de4bf54aa9 Modify the constraints url in tox.
Use the new hotness for constraints.

Change-Id: Id3cc84cf06689723a514008daaf670d186fb4bd3
2019-05-27 08:18:25 +02:00
jacky06 d0130ff9a1 Replace URLs with URLs
Change-Id: I39b6cc330ef3eddf50a031d1d44a21553f4305db
2019-04-26 10:08:48 +08:00
Steve Baker 5ac404e53e 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.


Change-Id: I11f742b525d8d7328a9d46f0bd46da112e27ad82
2019-01-04 17:31:21 +00:00
Zuul 51a3e57ed7 Merge "Add missing py37 toxenv and corrected default envlist" 2018-12-12 12:02:40 +00:00
Sorin Sbarnea d5b16b5ca5 Add missing py37 toxenv and corrected default envlist
* Change order of default tox envlist in order of likeliness to fail
on a new change (fail-fast strategy).
* Remove pypy from envlist as it was not tested on CI, tox default
set of environment should match CI
* Adds py37 to spot possible breakers like dropping relative imports

Change-Id: I4f4abce84f968ff0715abcb5d04fc0014f131fee
2018-11-27 11:40:37 +00:00
Doug Hellmann 9a606f5a81 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: I0bbc17c6d15629972f3527d1fd235ed0f65e5fca
Signed-off-by: Doug Hellmann <>
2018-10-12 21:59:31 +00:00
Doug Hellmann 3b01c48e9a 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: I81fb2e1318c7e4894b759f5bf462c71f0a6d8e69
Signed-off-by: Doug Hellmann <>
2018-08-20 15:42:07 +00:00
Alex Schultz c0f566cc2e Start standalone.conf
This is the start of a standalone.conf for use with the all in one

Change-Id: I656f4c1f7094b9a5981c1f15ff1c119693cd17c8
Related-Blueprint: all-in-one
2018-05-23 16:37:26 +00:00
Doug Hellmann 465ce03d8c 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.

for more details.

Update the requirement for tripleo-common to reflect reality, and update
the constraint for tenaciy.

Change-Id: Ifdf8dd1c782d6d6ac575d6fd5364dcb083e805a9
Signed-off-by: Doug Hellmann <>
2018-04-22 23:03:29 +00:00
Harald Jensås b17e8ca43f Fix Genconfig - no HOME in environment
Change Ib0c2e3ffd81742441400d27857afae457d71a424 introduce
some dynamic constants for output dir and environment

This change adds HOME to environment for genconfig.

Change-Id: I85cb9e79c9d479187861122134f6c31eb07a730c
2018-03-21 14:37:09 +01:00
Guoqiang Ding 088b6de3a1 Update new documentation PTI jobs
For compliance with the Project Testing Interface as described in [1].
For more detailed information, please refer to [2].


Change-Id: I4999e2eceb46deec1385cb6376762de9e2fbf6e3
2018-03-08 19:20:05 +08:00
Andreas Jaeger c88f0f4b39 Avoid for constraints support
We do not need, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/ file.

This follows to remove

Change-Id: If0b9a678354b634a2f060df4a6ff1b479967d566
2017-12-02 16:51:15 +00:00
Pradeep Kilambi 65dd3cb043 Add support to generate a sample undercloud.conf
This is needed to kick off undercloud install with
--use-heat option. This includes new config options
to configure containerized undercloud along with
existing instack options.

Change-Id: Ibebaf068018a790afdb599e4e6fbc79d3b2a57dc
Partially-implements: blueprint heat-undercloud
2017-11-16 13:31:38 -05:00
Vu Cong Tuan 47fb0b2ad8 Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: Icad236d4055dde8389fe19f2b3ca921e76e9faf7
2017-06-07 10:41:31 +07:00
Jenkins bfe804082a Merge "Delete deprecated Hacking in tox.ini" 2017-01-10 15:21:55 +00:00
Tony Breeds 8056175842 Add Constraints support
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.

This change adds constraints support by also adding a helper script to
edit the constraints to remove python-tripleoclient.

Change-Id: I68732c10e3f0dc4770b8639989cb24e264110d37
2016-12-21 14:15:17 +11:00
gengchc2 efc693947f Delete deprecated Hacking in tox.ini
Some hacking have been removed,so we can delete them.
More details:

Change-Id: Iac8b11156b9c3528e0d27a1dea9fca5d2c9ab22a
2016-12-04 11:28:33 +08:00
Emilien Macchi e64ca0be24 Add ReNo support
Add ReNo support to manage release notes.

We'll start using it during Ocata.

Change-Id: Ie8945b6da8c37d5d4e7bc5a09f0d6f75ede9f58f
2016-10-08 00:28:43 +00:00
Paul Belanger bc6e3434e6
Initial support for bindep
Bindep is an automation tool for opentack-infra that will preinstall
OS packages for test job. Adding this file give us better control of
which packages get installed by default.

Change-Id: Ib3791226965b2847cb99709802bd7ece0ffd36e5
Signed-off-by: Paul Belanger <>
2016-08-11 20:04:55 -04:00
Jenkins 74cdd0c0e2 Merge "Revert "Pass environment variables of proxy to tox"" 2016-02-10 21:50:02 +00:00
Doug Hellmann 92bfc356cc Revert "Pass environment variables of proxy to tox"
It looks like you can work around this problem by setting an environment variable on your dev system. See

 This reverts commit 45180520c9.

Change-Id: Iba1c5097ff8cfc5c26b4495a9b2eabd804495775
2016-01-14 18:00:56 +00:00
reedip b31fdbfcb9 Fix db error when running python34 unit tests
If tests for py27 is executed before py34 tests, then there is a chance
that py34 related tests may fail.The following patch fixes it.


Change-Id: I1038eedd84287f5ebc462ca6553da091661dc026
Closes-bug: #1489059
2016-01-06 15:00:07 +09:00
Jenkins 99b640fbe9 Merge "Pass environment variables of proxy to tox" 2015-12-23 16:10:06 +00:00
shu-mutou cf691fee69 Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: I5db42f479849ed7be05ae0a2aa70af04844ef159
Closes-Bug: #1526170
2015-12-15 17:51:54 +09:00
sonu.kumar 45180520c9 Pass environment variables of proxy to tox
Change-Id: If4963ed74017218eaff6edac18c01eafa1aa5f41
Related-Bug: #1465086
2015-12-14 12:36:18 +05:30
Juan Antonio Osorio Robles 2d8caf8b32 Add debug environment to tox
the debug environment is based on oslo_debug_helper and enables devs to
use pdb for debugging the client. [1]


Change-Id: I4b15a4abd8b3391f1ec87f55194757e798b18ba8
2015-10-01 11:11:46 +03:00
Juan Antonio Osorio Robles fbb20d10f1 Make cover environment in tox display test coverage
Even though the test coverage environment already generates a coverage
report in the cover/ directory. It's useful if the output of that
environment is a quick ascii-based coverage report.

Change-Id: I4770ab368e5df949797af80c4ad7a17fd6b0e6aa
2015-09-28 12:01:04 +03:00
Dougal Matthews b27dcc652d Add passenv to the venv to allow passing of environment variables from stackrc
Change-Id: Ib3a089b3e2abd82afa1cb97cf46ba8f5122b1b62
2015-08-28 13:43:10 +01:00
Dougal Matthews e1cd455c25 Remove Python 2.6 from the tox config
This isn't in the classifiers and we have never supported it.

Change-Id: I92eb1e9fdfa1d7f622392f916420891c2d20d2d7
2015-08-18 11:43:32 +01:00
Brad P. Crochet c57ef6fdc5 Add man-type documentation pages for rdo-manager commands
Change-Id: I8bf5e62cbe1b563c985712f54abff9b03dd47e48
2015-04-28 22:10:23 -04:00
Brad P. Crochet 68cf7181b5 Initial commit 2015-03-17 09:33:52 -04:00