Commit Graph

6 Commits

Author SHA1 Message Date
manchandavishal b89a1e5177 Remove hard-coded Python path in karma.conf.js
This patch removes hard-coded Python path in karma.conf.js
to fix the npm jobs because now these npm jobs run on
debian-bullseye and py38 are not available there.

Change-Id: I7474bfc60f503ab5b4a278e0f835cc088ec911a7
2023-02-16 18:16:53 +00:00
Michael Johnson 64993055e7 Fix designate-dashboard lint
Previously the lint test was failing to run because there was no configuration file for it. This patch adds the .eslintrc file and fixes the found lint issues.
This patch also adds tox environments to run the lint and karma tests.

Change-Id: Idcef4c3ce4e9455acceed645c2530355989a7ee2
2022-06-24 21:07:13 +00:00
manchandavishal 64e2e58b4e Run npm nodejs job with Firefox browser
This patch update browser from Chrome to Firefox in karma.conf.js
becuase nodejs fails with Chrome browser as not able to access some
URL. So let's switch to Firefox browser now then we can use Chrome
browser in future once this issue is resolved.

Change-Id: Id5186f16656e0671dda7ab91062c104b2c08758f
Signed-off-by: Nicolas Bock <nicolas.bock@canonical.com>
2021-03-03 16:34:43 +00:00
manchandavishal 7b1adbd7be [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: #1886298
Bump the lower constraints for required deps which added python3.8
support in their later version.

This patch update python version to py38 in package.json and
karma.conf.js as py36 is not available on focal. It also adds
libfontconfig1 in bindep.txt as phantomjs requires libfontconfig[2].

Story: #2007865
Task: #40182

Depends-On: https://review.opendev.org/#/c/744647/

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal
[2] https://www.npmjs.com/package/phantomjs-prebuilt#linux-note

Change-Id: I6d2689cfbe019a5c6ee22ff3f3666981502f2ce4
2020-09-11 11:12:19 +00:00
Ghanshyam Mann 95dbf83346 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

designate-dashboard is ready with python 3 and ok to drop the
python 2.7 support.

Also changing tox path to py3 to fix gate.
Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Co-Authored-By: Vishal Manchanda <manchandavishal143@gmail.com>
Change-Id: Id734dd4772ee4476ae1cfa8fb3c3e4b81109a113
2019-11-22 17:05:22 +00:00
Anusree ae54dd1b5e AngularJS unittest with Jasmine and Karma
Change-Id: I3e42eac041d346851d51228f5e1185d8464325e9
Co-Authored-By: Saju Madhavan <sajuptpm@gmail.com>
Closes-Bug: 1670102
Implements: blueprint angularjs-unittest-with-jasmine-and-karma
2017-08-24 18:55:52 +05:30