tox.ini started failing with Tox4 which had some
incompatible changes. One is passenv where we need
to pass each value in newline otherwise, it fails with
error:
failed with pass_env values cannot contain whitespace,
use comma to have multiple values in a single line,
invalid values found.....
Fixing tox.ini for tox4 changes.
Also, remove the stable/rocky|stein job as they are
in EM state and jobs are failing.
Change-Id: Idfa3c5aab012cf8381e001d4c3018b92b76f89af
The template which is used to test runtime for the Zed cycle added
python 3.10 as a non-voting job [1]. So this patch follows the same
thing here.
[1] https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/831633
Change-Id: Ibbd3fa8804f70a5644af10c105f764fd65b44086
Tempest is removing the stable/train job which
is used in stackviz gate
- https://review.opendev.org/c/openstack/tempest/+/822055
let's define the train job in-tree itself.
Change-Id: I23f8d4f08ebbf500dec21c80af41304c81fababf
In Yoga testing, we are making py3.9 job to run as voting, so
adding py3.9 job as voting.
Also, as stackviz is branchless and needs to support older
supported stable branches, let's test it with all the
python version supported in those supported stable branches.
For that, we need to explicitly dd the py jobs instead of using
the template. This way, we will explicitly know that we are testing
all supported python versions when the new release template bumps the
min python version in the template.
Change-Id: Ie23040ece856a7712b4d046c439ab0a861b6b95c
This patch removes dependencies on testrepository as
stackviz is using stestr instead.
Closes-Bug: 1735667
Change-Id: I1e1de567fae7a2f7985f51e35d71201be2ab787f
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: Ic6da92a36a8f7d540c3bcd67d0346898b4775fa8
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I4d4cbc7deb4e3269a317bfd9cf30e7b5b227398e
stackviz-nodejs10-run-test-browser job started failing on
chrome browser
- https://bugs.launchpad.net/stackviz/+bug/1908606
Horizon and its plugins also moved the nodejs browser jobs to
firefox now, let's move stackviz jobs too to make this job green.
Closes-Bug: #1908606
Change-Id: I4a63a54ee5fce983c3254805b39549d145159be9
Tempest is removing the stable/stein job as it is
in EM state
- https://review.opendev.org/c/openstack/tempest/+/768118
but stackviz still need to test it as stackviz need to
support all branhces even they are in EM state.
Change-Id: I51defe3c16919663a845a338c006300168d8462c
stackviz on stable/rocky is failing as it try to install the
latest requirements like oslo.db>=4.24.0
:stderr: oslo.db requires Python '>=3.6' but the running Python is 3.5.2
https://zuul.opendev.org/t/openstack/build/67edcd21a0144bd7a3e0a28294bd5874
Change-Id: I1c65b90ee4579c0e58d9c01a1244760dc74b82b3
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.
Story: 2006070
Task: 35471
Change-Id: I44b0dde9cec10359dd41cbf9a2d9b034a831f106
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I8008ab34a4093cd2b99d646adbc3230ae57aa2d4
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04)
and Node.js 10.
Tox is not anymore pre-installed on the OpenDev CI images.
The file package.json needs tox, install it to fix the nodejs-job.
Install it via a pre-run playbook so that this is run in addition to all
of the playbooks of the parent.
This patch also update python version to py38 in package.json[2]
as py36 is not available on focal.
Note: Before this patch We used nodejs8-jobs from openstack-zuul-jobs
which consumes npm jobs from zuul-jobs. We would like to install tox
in the 'pre-run' phase in each npm job, so this patch also defines
npm job defination here.
Story: #2007865
Task: #40212
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
[2] https://opendev.org/openstack/stackviz/src/branch/master/package.json#L73
Co-Author: manchandavishal <manchandavishal143@gmail.com>
Change-Id: I116ea1609f88496c599a8285d33350104067c517
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
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: I3613f3b9e1f12fd7735f1dba6918a68784d9c259
tempest-full-rocky-py3 was defined in Tempest which is going
to removed[1] from there as rocky is in Extended Maintainance state.
Stackviz need to run the rocky job as it support py3.5 env also.
Renaming the job to avoid the zuul error of duplciate definition of same
job name.
[1] https://review.opendev.org/#/c/722183/1
Change-Id: Ieb1ce1f5c712ffedbacab8dd58cf75cc138deca4
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
Change-Id: I11a5cca7e622cdcb2f8eb5c9853e35647969200d
Use new Zuul v3 publish-openstack-stackviz-element job for periodic
pipeline to publish the tarball.
The job still publishes to
https://tarballs.opendev.org/openstack/stackviz/dist/ and generates same
content (just different paths).
Move the job from periodic to post, there's no need for a daily update.
Remove old job and its playbooks, they are not needed anymore.
Needed-By: https://review.opendev.org/710756
Change-Id: I522e1b5e6158e5811578e24a380ce00001a6d40e
The python 3.6 and newer tests fail since they don't install stestr, add
explicit requirement.
Since https://review.opendev.org/615826/ oslotest does not have stestr
in requirements, so it needs to be added explicitely.
Change-Id: I069a27a2abd2b1a12ea0c58b38c4445e1fc79793
While dropping py2 support, we dropped py3.5 support also
- Ic14a02c879bcef08885d831ebbe25083ec464a86
which broke the stable jobs using xenial node which does not
have py3.6.
This is fixing that and bring the py3.5 support back
- I0e6d57a49643d588b1329a0c8f1dd7afc71d5bdf
To avoid such issue in future, let's test the all users of
it which is nothing but integration jobs along with stable
branch jobs.
Change-Id: I7118fd5cfdeff7419f2477b64334767d13a41155
This commit makes to use python3.6 instead of python2.7 in postinstall
since python2.7 will be EOL soon. And, this commit encourages to use
py36 task instead of py27 as well.
And also this commit changes to use node8 to test in the upstream gate.
Change-Id: I75f0045e88d20d04ecbcdc798bcf3f45d2c27e7a