Promote "local hides exit status" (E042) to error and fix issues found
(this is inline with what we do in devstack).
Change-Id: Idd784af066db80bb67792da3dd0aa0ae4c8475db
We have standard jobs for doing unittests under python2 and python3 -
namely, the builtin tox environments py27 and py35. Just use those and
remove the locally defined jobs.
Depends-On: I6d7a96adf5cfb075f5a2ffbd089ccbb883a1c1b4
Change-Id: I0cc0c07daafba331a64861c134029e443ba2aa8d
This should allow py27 and py35 to both work in parallel while we remove
the run-tests versions.
Add the new jobs here, even though the next patch will remove them,
since we can't verify the new jobs work with depends-on to
project-config.
Change-Id: I78cfadf5a3b9822ce32f5a1d9b76321d573618ab
As devstack moves towards testing with python3 it would be potentially
useful to run devstack-gate without depending on python2. There are
likely other items that need porting/testing, but this is a start in
that process and makes sure we can test the test-matrix.py script with
python2 and 3.
Change-Id: Ida4906bfebc839bb7a0df11f53966a6b8c45689f
Update to bashate 0.5.0. Document options. Fix one simple error
about (( )) return code. This introduces warnings about "local"
hiding return values; fix in a follow-on.
Change-Id: Id907a566e046ed65f7e02776f2be4382829afe8e
Previously we had wrongly assumed that python yaml package
will be available in the images and the run-tests.sh script
ran a set of things which included a script that used
the pyyaml package. With the recent bindep changes, this
assumption broke and the gate-devstack-gate-unittests
failed. So we need to install the pyyaml package and then run
the tests in this venv for run-tests.sh to work.
Change-Id: I541c8add8041348a259b3b789d24cf24ba122ce0
Pin bashate to 0.3.1, and fix up some minor indenting issues
Note we use the same environment override value as in devstack
(I165c4d66db8b7bdcff235ef7d8c99029637bb76a) to allow bashate CI to run
on this.
Change-Id: I0769b1f394643abd0a0b42d571bbb36b8b9c402d
this enables a bashate rule for doing style checking. Fixes for
issues found will come in a second patch so any rules that people
want ignored could be debated there.
Change-Id: I7dffa587784297ec65596a36c0600473cfa591c6
Bug: 1010610
With this commit, we could run py26, py27 and pep8 tests
against these scripts, using tox.
* .gitignore
Ignore build files.
* MANIFEST.in
List of files to include in sdist package.
* setup.cfg
Setup configuration.
* setup.py
Script to generate sdist package.
* tools/pip-requires
Pip dependency list.
* tools/test-requires
Extensive list of dependencies to execute tests.
* tox.ini
Tox targets.
Change-Id: I3f14af096b3078214d0747c2ab99b0a42b5190e9