This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I89e4b6c5304e1cb78b8e51404e8061212fa3a374
Now only python 3 is supported, which means unittest.mock
can be used instead of the external mock module.
This change can be done thanks to the Horizon
change I2de669d8e89b8daeb7ee5405ffab35af6307c40b
Switch to openstack-lower-constraints-jobs-horizon
which pulls in the last horizon. The lower-constraint
version of horizon should be bumped when a new
version (post-18.2.0) is released.
Finally, add pytest to the set of test requirements
to prevent an missing import error (even through
the sahara scenario tests still need to be ported
to pytest).
Change-Id: I2c61e9d88b2d05c9f0b68066d7bb15b43cdf083f
We need to pull in Horizon properly.
7d240182b1 introduced the mistake.
Depends-On: Ia8787a65c110731f1dab9339f382b2680240cab3
Change-Id: Ie865136eb1ee776d4080e7d843836f57b6245ac9
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I091a2c6e17f778d857c39be51bf2a3c9e4f7ab77
Since Rocky, horizon depends on Django 2.0 when Python 3 is used.
The old sahara-dashboard-tox-py35dj20 and the py35dj20 tox environments
are thus no longer needed.
Add few more jobs:
- the py36 and py37 jobs and the related tox environments;
- a py3/django 1.11 job and tox environment, and set is a voting
like its Horizon counterpart;
- the tox environment for a django 2.1 job (Horizon provides one as well.)
Finally, don't require the last version of horizon for the py3/django 1.11,
but relies on the stable version (which should provide the proper library
interface, as it happen with the other unit test jobs.)
Change-Id: Ic76b454f36d81a25b40e91a88d131f20a8df12f9
- create a native Zuul v3 job, and move it to experimental
until it works;
- install libav-utils on dpkg systems and enable the capture
of the video;
- adapt to the changes in OverviewPage:
* go_to_system_flavorspage -> go_to_admin_compute_flavorspage
* go_to_compute_imagespage -> go_to_project_compute_imagespage
The job is failing right now, but apart the increased running time,
at least the tests are now executed.
Story: 2001686
Task: 8662
Change-Id: I311203779bd3e6c6660cfe1b84e89c7dc0825c98
Small cleanups:
* Use openstack-lower-constraints-jobs template, remove individual
jobs.
* Sort list of templates
Change-Id: Ie0b07ea66e59f2ad17a3f0c1391b854040697528
Needed-By: https://review.openstack.org/623229
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I9cf41b5092f3a5b535f22ce5a66ea6a7b39ac3be
Story: #2002586
Task: #24332
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.
Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.
Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.
See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html
Change-Id: I461ce32191cc01fc6ada633be60da98c660cdefe
Story: #2002586
Task: #24332
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.
---
sahara-dashboard specific changes:
- sahara-dashboard uses django.urls module which is only available in
Django 1.11 or later, so the Django min version needs to be bumped to 1.11.
Horizon Rocky bumped the Django min version
to >=1.11
- django-babel needs to bumped to 0.6.2 to support Django 1.11 and 2.0.
- nose-exclude needs to bumped to 0.5.0 to run all existing unit tests.
https://review.openstack.org/555402 allows us to bump lower requirements.
Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: I6cc5d973ea0e586e6fbe2ab4ba1345857722d008
Depends-On: https://review.openstack.org/555034
Depends-On: https://review.openstack.org/555402
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Akihiro Motoki <amotoki@gmail.com>
Horizon in Rocky will only support Django 1.11 and 2.0.
Also, Horizon is trying to be more compatible with Python 3.
See: https://blueprints.launchpad.net/horizon/+spec/django2-support
This require few changes (for master only):
- remove the jobs and the tox entry points for unit tests
with Django < 1.11 (which started to fail anyway after some
recent changes in Horizon);
- add a tox target and a corresponding non-voting job which runs
the unit tests using Django 2.0 with Python 3;
- create a basic job for all non-standard unit tests jobs (even if
there is just one right now) which improves the set of irrelevant
files (translations, release notes, documentation).
Change-Id: I8d87fb3bcdb1baa221246ca4fc5edf8ae14f0cb2
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I12b12926c2c90b73054db2dd3e0e017f80f2c190
Native jobs for unittest under different versions of Django.
The conversion of integration tests is out of scope for this
change.
Depends-On: I6664404b869a98c6f178667073a1c77604736925
Change-Id: Id4d15b8bd5f032ff457395af5d77b255b6077a2a