Skip to content
Snippets Groups Projects
Commit 469e2fd3 authored by Michael Lumish's avatar Michael Lumish
Browse files

Merge pull request #5113 from jtattermusch/node_distribtest_fixes

Node distribtest fixes
parents f06fea37 474ccfca
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,12 @@ set -ex ...@@ -32,7 +32,12 @@ set -ex
cd $(dirname $0) cd $(dirname $0)
nvm install $1 NODE_VERSION="$1"
# make sure nvm is available
source ~/.nvm/nvm.sh || true
nvm install $NODE_VERSION
npm install -g node-static npm install -g node-static
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
FROM 32bit/debian:jessie FROM 32bit/debian:jessie
RUN apt-get update && apt-get install -y git RUN apt-get update && apt-get install -y curl
# Install nvm # Install nvm
RUN touch .profile RUN touch .profile
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh | bash
\ No newline at end of file
...@@ -105,8 +105,7 @@ class NodeDistribTest(object): ...@@ -105,8 +105,7 @@ class NodeDistribTest(object):
'tools/dockerfile/distribtest/node_%s_%s' % ( 'tools/dockerfile/distribtest/node_%s_%s' % (
self.docker_suffix, self.docker_suffix,
self.arch), self.arch),
# bash -l needed to make nvm available 'test/distrib/node/run_distrib_test.sh %s' % (
'bash -l test/distrib/node/run_distrib_test.sh %s' % (
self.node_version)) self.node_version))
def __str__(self): def __str__(self):
return self.name return self.name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment