Commit Graph

13 Commits

Author SHA1 Message Date
manchandavishal 44697255ee Migrate to AngularJS v1.8.2
This patch aligns current code with AngularJS v1.8.2 requirements.
It also updates zun-ui to use the Firefox browser instead of phantomjs
browser to fix "nodjs-run-test" job because phantomjs browser has some
issue with backticks.

Change-Id: I61d9cfb795f7e789cd3c160934f05f54eb48fcda
2022-08-12 13:56:45 +05:30
Andreas Jaeger dbbe877c4b Fix npm jobs
horizon is doing frequent releases, the install from source is not
working as is anymore. Remove it.

Change-Id: I958f51d845f137ac20c1cdce8f55a3172e13246e
2020-06-22 22:05:54 +02:00
manchandavishal ec51d61452 Changes for url transition to OpenDev
This commit changes openstack.org URL to opendev.org URL
as discussed here [1]

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: I1f9c8b580b6047599d0d5041ca636c6284d907d1
2019-04-25 02:42:05 +00:00
Ian Wienand 58a07a80f7 Replace openstack.org git:// URLs with https://
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: I0a8a82eda421c7682b8f582af412e230a26436dd
2019-03-24 20:34:07 +00:00
melissaml e34e488341 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I7255ee7e34196623fb71445b8f5d0d8b102e568f
2018-12-21 01:53:24 +00:00
Shu Muto f90423c299 Add upper-constraints.txt into post-install
Change-Id: If964e70bd7940a4295924c70e59a795576f35b7a
2018-10-02 00:10:35 +00:00
huang.zhiping d2ed7dfead fix tox python3 overrides
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.

To install horizon, check python3 version and set target directory
in postinstall script on package.json.

Change-Id: I321a3555a4d9ae3dafbf1da39d165462933b8c44
Co-Authored-By: Shu Muto <shu.mutow@gmail.com>
2018-07-25 06:31:51 +00:00
Shu Muto 191f889748 Fix postinstall for npm job
npm jobs uses python3.5, but pip uses python2.7 to install horizon.
This fixes this issue.

Change-Id: I51c9177ec1cb92d8cb00db4ea66cd61e69c98ef2
2018-05-30 17:45:16 +09:00
Shu Muto a5d50dd3ed Fix tox jobs and remove tox_helper.sh
Horizon plugins needs horizon on master branch for our
master development and test.

Recent changes in CI infra and horizon force to change horizon
installation, and added tox_helper.sh as trivial fix.

Now, reasonable fix found for horizon plugins,
so this patch fixes them.

Change-Id: Ieae9bfdfed113795c0a7065964781914a2d041ce
Depends-On: I506e9c761ad1af3126db2c4778aa9dbbcf340130
2018-05-14 14:07:31 +09:00
Shu Muto 7887b3f41a Install Horizon from git repository in tox test
To test UI plugins, we should install recent Horizon
from master branch.

Also, fixed eslint and karma.

To run tox test easily before upload patchset,
adds eslint, karma, docs and releasenotes to envlist.

Change-Id: I82806631e7219eaa2372c2cd62b264056fbea64d
2018-04-13 17:09:23 +09:00
Shu Muto 1f30c1d2b0 Use Chrome for JS unit tests
PhantomJS has setup issues and is slowing down the gate with false
failures. We should change to Chrome until Phantom is more
reliable, at which point this patch can be reverted.

Change-Id: Ifb3c8f1bcc27ea79151a44b0d044f46e1d856f6d
2016-09-26 18:47:59 +09:00
Shu Muto a256c034d0 Cleanup the test settings
Karma and coverage tests scatter its result around.
And recently, infra team seems to set a subdirectory called
'cover' for coverage tests by default.

This patch accumulates their results into 'cover' subdirectory.

Change-Id: I9c32da1ffdbb2f3104d9ecd6303f1f92fc0fcda8
2016-09-15 09:53:12 +09:00
Shu Muto e1e124fa3e Setup JavaScript test environment
This patch setups JavaScript test environment.
- eslint
  test at local: `tox -e=eslint`
- karma
  test at local: `tox -e=karma`

Change-Id: I08675d8377214c52745ed7928bb58ec460a949b1
Implements: blueprint js-test-env
2016-09-13 09:33:01 +09:00