If a newer version of node.js is installed on the user's system than is
used in tox.ini, it is possible to run into errors when running the
sass-related parts of the build. Forcing a rebuild of the bindings
fixes this issue.
Change-Id: Ia4dc046334d4c483f0a880f158bdfa56c153a199
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: I225550a0bb929c5b6b45f25ae4358749e1d7005e
bower is deprecated and intended to be replaced. yarn is the recommended
replacement for both things installed via npm and things installed via
bower.
Move the bower resources into package.json and add the yarn.lock file.
Zuul has support for installing yarn if a yarn.lock file is found and
using it to install things.
Change-Id: I848f22dce6196b2df9de4b9f585e857e03cdb0d7
This patch upgrades the version of node.js referred to in tox.ini
from 0.10.29 (released June 2014) to the newest LTS version,
6.10.2. We should be using newer components where possible.
Change-Id: I0e1279f7f1e006df5d17037eb1637d691ab9353b
Add an other-requirements.txt file containing a cross-platform list
of dependencies needed for running included tox-based tests. Also
include a tox environment for convenience calling the bindep[*]
utility to list any missing system requirements.
This change is needed since the infra team will not install standard
packages in jobs anymore, projects should use other-requirements.txt
instead. The macros xvfb-install, firefox-install, chrome-install
which are used to run some jobs for this repository will be removed
soon.
This change is self-testing.
For other-requirements.txt see also
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
[*] http://docs.openstack.org/infra/bindep/
Change-Id: Ie9b17a29754fd2916095f65ddca28808fe39d8c7
Once #106152 lands, nodejs will be available on our trusty build nodes,
so nodeenv is no longer strictly required. However, not everyone wants
to install nodejs on their system, so we now wrap the nodeenv
invocation into a script to test whether a local node exists. Since
we can no longer assume the existence of a clean virtual environment,
we also no longer install a global version of bower and grunt, and
instead use the versions bundled with the codebase's package.json.
Change-Id: I42f4b61037b8e988708b39e951dd2cddd99313b0
'node' enviroment does not exist anymore.
replaced with 'grunt'
Added MySQL driver installation to env script. It is in
test-requirements so it will not be installed from a tarball.
Change-Id: I2eb2d28f40fb2a8c71cea1df4ebba272d6537ca3
This patch includes two fixes. First, it disables our functional tests
because of a bug in grunt-connect-proxy, which is fixed by an
as-yet-not-accepted patch here:
81631b20c5
Secondly, it includes a temporary fix for the recent NPM CA chain update
explained here:
http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
The basic premise is that the node package manager no longer supports
their self-signed certificate. This is good! Unfortunately, the
released version of npm is 1.4.4, but the one packaged with nodejs
0.10.26(stable) is 1.4.3. Until nodejs updates itself, we need to
temporarily bork the ca chain to update npm.
Since we're using throwaway slaves, and it's a temporary fix, and
node is only used for builds, I feel this is an acceptable risk.
Change-Id: Ic510e55355966591affbe25ce3f831ca424b2afa
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.
Change-Id: Ic86dbda8064b359b23d400b842db8350f73c6ab9
Closes-Bug: #1277495
This change adds the storyboard API as a dependency for the virtual
environment so we can run integration and functional tests with
a live API. It also sets up the grunt development server with a local
proxy so that we don't have to worry about implementing CORS immediately.
Change-Id: I4835649630ef69f13d73ef2a10dff860aceb1f49