OpenStack CI now uses tox4 by default. This patch drop
"skipsdist = True". When skipsdist=True is specified, a
target application is not installed into a tox env, but
there seems no reason to do so. In various other OpenStack
projects, a target applicatin needs to be installed into a
tox vnev, for example, in docs and/or linter jobs and it
causes failures with tox4. So dropping it would avoid potential
future failures.
Change-Id: Ic12cddd2fddee64ce115f209b1e10da3b66c689f
* Replace .testr.conf by .stestr.conf for migration and update
.gitignore,test-requirements files accordingly
* Use 3.18.0 as the minversion for tox
Change-Id: I6bf98adecb772896c6243a90271a1b258569a4df
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.
tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.
horizon>=17.1.0 is required to use Django 2.2.
requirements.txt is updated accordingly.
Depends-On: https://review.opendev.org/#/c/700733/
Change-Id: I7dd429b23f2d28999dc30e13d3717d8087f202aa
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here but there is no unit-test added in vitrage-dashboard to check
django compatibility as of now and maybe we can add them in future.
For information please refer [1]
[1] https://review.opendev.org/#/c/681969/
Change-Id: I6fd838618048f7cd373e477d176e9ad2ee8e3f09
This commit adds a new tox target to build PDF documentation.
It's a part of community goal, see storyboard for more
information.
Change-Id: I04b9253ae30ec125e45a272f0c7ce384c7770372
Story: 2006076
Task: 35607
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train. The correct zuul jobs are
already in place so this change just limits default 'tox' calls to py37
to save developers time.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I533d0459f74230e551ddd38f40c3bf4c568e3c21
Story: #2005924
Task: #34255
This patch adds basic tests to verify that vitrage-dashboard is
installed and could be opened.
Also it removes oslotest which is not used.
vitrage-dashboard-integration-tests job is added in a non-voting mode.
Change-Id: I03c6a28014a73605b72441a0241e1dc1cd3f908c
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: Ib398f205e0558e1212fda63f4c22fd7e6edf9418
Using "python setup.py check -r -s" method of checking the package has
been deprecated with the new recommendation to build the sdist and
wheel, then running "twine check" against the output.
Luckily, there is already a job that covers this that only runs when the
README, setup.py, or setup.cfg files change, making running this in the
pep8 job redundant. This is covered by the test-release-openstack-python3
that is defined in the publish-to-pypi-python3 template.
More details can be found in this mailing list post:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/136136.html
Change-Id: Ic940cee100f4fe00521ba0559107b89ed82a25a0
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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: Iab2f7ba28ad2a63e0801ba43f3b9c467f7389524
Running py2* post py3* tests results in error. Add
'rm -f .testrepository/times.dbm' command in testenv to
resolve this.
Change-Id: I70bda66df507bd682ebc50f6edce242d52bc9e01
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: I4d59c60af2a1ccf60e2168a92a4f4f7c2d0a1c14
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I03cb0408279b65e7dbd84ad6b07bcbecad3f7060
There is not *openstack/common* directory in vitrage-dashboard,
we should drop it for improving searching efficiency.
Change-Id: Ibbeaef7654fcce776a831390823bc680df654a7c