Commit Graph

49 Commits

Author SHA1 Message Date
manchandavishal f5473fc236 Fix gate jobs
This patch update the following:
* add ignore_basepython_conflict = true in tox.ini file.
* replace horizon tarballs dependency with constraints file.
* update hacking version to latest 4.0.0 version.
* fix pep8 warnings.

Change-Id: If0275b78f9084e314e6a69e267a79fc4472c0dfe
2021-02-16 18:06:05 +00:00
manchandavishal c9e8d95c09 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
Closes-Bug: #1886296
Bump the pyflakes to 2.1.1 as min version to run pep8 jobs
on py3.8 which is default python vesion in ubuntu focal.

Story: #2007865
Task: #40196

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html
Change-Id: I29eae255a0cb87c41d1d739e3bb608c303c5b9b8
2020-09-01 16:19:30 +00:00
Hervé Beraud d46e3cf3e4 Use unittest.mock instead of mock
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Iacfc706dc2a0c5d845c7473d7e0123c20a2b20ee
2020-06-09 01:22:41 +02:00
pengyuesheng 51166f3ebe Follow the new PTI for document build
The detail is described in the following links:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

doc8 command is dropped from docs and releasenotes tox envs.
We run doc8 in pep8 tox env, so this hurts nothing.

Change-Id: I253e0f109b9be68c28792e4b3a53b26b512a08dd
2019-06-25 15:17:44 +08:00
pengyuesheng c0f2cf7c6f Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details
Depend-On: https://review.opendev.org/#/c/663060/

Change-Id: I71bc27c9e388a5892daaaa41db5d8e70dd39ea0e
2019-06-06 10:44:22 +08:00
pengyuesheng 399b9dff68 Update sphinx dependency
Sphinx 2.0 no longer works on python 2.7, so we need to start capping
it there as well
depend on https://review.opendev.org/#/c/657890/

Change-Id: I87d71ce47e5aed5edbb2f8f9a7a0f6439255278e
2019-05-20 09:21:18 +08:00
Vu Cong Tuan fc53013471 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.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I739cd53efa4f685d721dc4c9095d5df273b2acae
2019-05-03 19:55:09 +00:00
Akihiro Motoki c53c1f2212 Drop nose dependencies
Horizon test setting no longer depends on nose and related stuffs.
This commit cleans up nose related dependencies.

Also drops unnecessary Django dependencies. There is no need to
install Django explicitly as it is a horizon dependency.

Change-Id: I33091ef3c85ccff835f5995c668a9894454d182b
2018-08-17 01:40:02 +09:00
Charles Short 5f1b862cb7 Remove mox3 from test-requiremens.txt
This is part of mox-removal community goal in Rocky.

Story: 2001546
Task: 8719

Change-Id: If8c5500e2c2f9688d3fba6be420b076a05c446a0
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-03-23 12:03:11 -04:00
OpenStack Proposal Bot 498e11ff87 Updated from global requirements
Change-Id: I1e5855137b4d946a57b5049ed53ccb054c5735ae
2018-03-15 07:10:26 +00:00
OpenStack Proposal Bot ad4a1c5591 Updated from global requirements
Change-Id: Ib924431e55983694ab44e309cd04417591540aeb
2018-03-13 07:00:11 +00:00
OpenStack Proposal Bot e7ec927c52 Updated from global requirements
Change-Id: I7ab6791a395581389a16fd6ae501e376418ada2e
2018-03-10 13:21:01 +00:00
OpenStack Proposal Bot e221ba4dfb Updated from global requirements
Change-Id: I73c2454de6c8a66e25bdf29580b93ed122cb5e72
2018-01-17 20:40:30 +00:00
Akihiro Motoki f9ff2798bd Drop django_openstack_auth from requirements.txt
django_openstack_auth has been merged into horizon tree
as an effort of blueprint merge-openstack-auth.
There is no need to depend on django_openstack_auth any more.

Change-Id: I4729ec7d3fb3a2ca1d8c526fccf3c2290edbd922
2017-11-16 06:49:36 +00:00
OpenStack Proposal Bot 352f30f2f2 Updated from global requirements
Change-Id: I356061923980395eb3e4254e8b8416ab73f01f40
2017-09-16 23:14:37 +00:00
OpenStack Proposal Bot c028617044 Updated from global requirements
Change-Id: I2a8cb3d9365a813758654779922129802be79e29
2017-09-11 21:39:15 +00:00
OpenStack Proposal Bot 7f9c8210a5 Updated from global requirements
Change-Id: I70fae369fa9dd1a7aba16282e66db5db90133c57
2017-08-18 11:32:34 +00:00
OpenStack Proposal Bot 64d5ae396c Updated from global requirements
Change-Id: Id9d735ae59521ccf8af026f520baa725aab1de6e
2017-08-18 04:43:09 +00:00
OpenStack Proposal Bot 20ab5b624f Updated from global requirements
Change-Id: I07d602863e9fbe9b38df7cc5680973dec6dcb045
2017-07-28 00:07:05 +00:00
OpenStack Proposal Bot 8c70ca41b9 Updated from global requirements
Change-Id: Iba1309ea1067d93125b927d11c0d5c4a8608da0d
2017-07-11 04:23:20 +00:00
OpenStack Proposal Bot 0089557b64 Updated from global requirements
Change-Id: I23f3e5987fe68c4c6b0055bab3face8d9cd025b1
2017-05-17 03:50:06 +00:00
OpenStack Proposal Bot 899510cfcb Updated from global requirements
Change-Id: I938877ebcdc3f662195b94fb7476ec1b3011deb5
2017-05-15 00:46:33 +00:00
OpenStack Proposal Bot c0b70897ae Updated from global requirements
Change-Id: I5522f13e12d26d11402dacdc59fd836bb54e1ed1
2017-03-02 11:46:51 +00:00
ricolin 9c84227a9c Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I7c3dd50fe5dc3ed4d0691b5c4bc4f17cc2ea74b6
2017-03-02 15:58:43 +08:00
OpenStack Proposal Bot 3d34c4ab74 Updated from global requirements
Change-Id: I90ad6422cf2e0f1d6dff5653fa000c7b60f2d278
2017-02-10 05:51:03 +00:00
OpenStack Proposal Bot b82f870219 Updated from global requirements
Change-Id: I74f234bad721f891310d39191aa6a8948d2ea74b
2017-01-25 20:22:42 +00:00
OpenStack Proposal Bot 8d7810eb89 Updated from global requirements
Change-Id: If4db4adce0a3a76217062afea1ae04eb899f851c
2017-01-20 01:47:59 +00:00
Sharat Sharma 70370480b6 Remove the dependency on horizon repo
* Due to this dependency mistral devstack pluging doesn't get
  installed properly because it can't constrain this dependency
  to a certain version

Change-Id: Ife4a2e3ace9d6325b27f995ceeafcd345dd8cc6d
2016-12-21 23:26:21 +05:30
OpenStack Proposal Bot 61ff4a5100 Updated from global requirements
Change-Id: Icf2168b8f30bcf9b19af420358e02b07510e3b98
2016-12-20 15:59:05 +00:00
Sharat Sharma 08e21dd6bc Fix docs-gate for mistral-dashboard
Adding docutils to fix the failing docs gate for
mistral-dashboard.

Change-Id: I78c30af80c66a38edb659ac5f952dee4254ff5fa
2016-12-19 09:32:57 +00:00
OpenStack Proposal Bot b335f12cd1 Updated from global requirements
Change-Id: I35a4b0a6f3302e47df0684d6c0dafcb149a164f8
2016-12-03 11:43:22 +00:00
Sharat Sharma 576fbfab81 Remove mox in test-requirement.txt
In order to build a path to Python 3.x compatibility, we have switched
to mox3 in order to remove mox from the dependencies. mox3 is a fork
of mox that is Python 3.x compatible. So, remove mox from the
test-requirements.

Change-Id: I6a5c75b78d8bcdbb76a6515095f61f42ff667ec1
2016-11-15 14:57:30 +00:00
OpenStack Proposal Bot 95e11425b3 Updated from global requirements
Change-Id: I1b6809d3f857ac6cff7c72f16b0c17997c8d4c00
2016-11-02 15:33:26 +00:00
OpenStack Proposal Bot e87c40b2a9 Updated from global requirements
Change-Id: Ic498013d29fede6aa7bb07d0ec0dcd6aa676fd16
2016-10-22 01:20:43 +00:00
Sharat Sharma 21563bfc65 Maintain releasenotes for mistral dashboard
All the components of openstack maintain releasenotes. Similarly,
mistral dashboard must also maintain releasenotes. This adds
the releasenotes directory to the mistralclient repo.

Change-Id: Ia095ec4d6ac286cf6c27817765855a97a61502b1
Implements: blueprint maintain-releasenotes
2016-10-05 12:06:16 +05:30
OpenStack Proposal Bot c53f508f29 Updated from global requirements
Change-Id: I557b73a84cd6dba1bd79ef75f7873b3398819de5
2016-09-28 16:54:25 +00:00
OpenStack Proposal Bot 80307495e5 Updated from global requirements
Change-Id: Ide30fbd011b39a48ec10a72c97552f36ab3a53d8
2016-09-27 10:01:12 +00:00
OpenStack Proposal Bot 1b739f8d43 Updated from global requirements
Change-Id: I96cfe75c6a8cc2c0cbc869be5e5ea244048ce11e
2016-07-19 15:26:35 +00:00
OpenStack Proposal Bot 8903eade00 Updated from global requirements
Change-Id: Ide36bf1df59a71a9d5ced3d1101c1457d55a8d87
2016-02-11 07:40:28 +00:00
OpenStack Proposal Bot 6283966b31 Updated from global requirements
Change-Id: I7c14caac02fc4d45187d0f1826283059d07d893b
2016-02-06 23:24:30 +00:00
OpenStack Proposal Bot 57e26272a5 Updated from global requirements
Change-Id: I07840875f8e2c4f383af6691ec9b51daa4ac05da
2016-02-03 03:39:48 +00:00
OpenStack Proposal Bot 4ac89b3833 Updated from global requirements
Change-Id: Ieeb6fc4b1798af0692289d77dc87118ee00135c4
2016-02-01 13:38:16 +00:00
OpenStack Proposal Bot e0178fef46 Updated from global requirements
Change-Id: I94fcbf60b7931d151373b7cf3250d7c527ea7ffc
2016-01-16 03:27:43 +00:00
OpenStack Proposal Bot 0653f4b8fe Updated from global requirements
Change-Id: Ifa8ad2fc0d711a1ae4c7b232f0361df52718be62
2015-11-19 15:46:49 +00:00
OpenStack Proposal Bot ba563279e2 Updated from global requirements
Change-Id: I52ae3588436011f8d5099204e73b4486f45fff7e
2015-09-03 03:07:17 +00:00
Zhenguo Niu 1676c1d2a0 Add test helpers and test data
Change-Id: I1f752d5ae35794a4db640e777c4952485c55d63d
2015-07-24 23:21:24 +08:00
Zhenguo Niu 6014afd6c1 Enable Unit Test
Enable Unit Test add additional tooling to support running tests
and building virtual environments to mirror what is done in horizon.

Partially implements blueprint mistral-enrich-dashboard

Change-Id: I15b2b28a3a30e8c2ead3b2f68bf2986becbe7914
2015-07-07 17:44:45 +08:00
Anastasia Kuznetsova 8772f39b99 Update requirements according to global requirements (master)
Change-Id: Ieda2edb95c52f9e6edd0b83bd35150ced54d9ea7
2014-09-25 13:37:30 +04:00
Kirill Izotov 28bde7a230 Move dashboard from python-mistralclient
Also:
- add license headers
- set up tox for flake8 checks and venv
- remove run_tests.sh, tools/ and other stuff we don't need at the moment
- add basic sphinx setup for later use

Change-Id: I0d34fb9fd0bfd351d20474da88715b30ff3c3d61
2014-06-17 13:53:16 +07:00