From e91c5d62fff72089ba52c35a198f1f7a40ee9e17 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Thu, 10 Aug 2017 18:07:45 +0200 Subject: Keep the promise working dir in /src MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise npm install fails. Change-Id: I1be15bc83e0dfab1ad1471106326ff347385f31e Signed-off-by: Cédric Ollivier --- docker/Dockerfile | 4 ++-- upper-constraints.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 54d526d6..6f53e8d3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -120,7 +120,7 @@ RUN /bin/bash -c ". /etc/profile.d/rvm.sh \ RUN sh -c 'curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -' \ && sudo apt-get install -y nodejs \ - && cd ${REPOS_DIR}/promise && sudo npm -g install npm@latest \ - && cd ${REPOS_DIR}/promise/source && npm install + && cd /src/promise && sudo npm -g install npm@latest \ + && cd /src/promise/source && npm install RUN echo ". ${FUNCTEST_DIR}/cli/functest-complete.sh" >> /root/.bashrc diff --git a/upper-constraints.txt b/upper-constraints.txt index 15d81ee7..ea6a4844 100644 --- a/upper-constraints.txt +++ b/upper-constraints.txt @@ -5,7 +5,7 @@ git+https://gerrit.opnfv.org/gerrit/sdnvpn#egg=sdnvpn git+https://gerrit.opnfv.org/gerrit/opera#egg=opera git+https://gerrit.opnfv.org/gerrit/securityscanning#egg=securityscanning git+https://gerrit.opnfv.org/gerrit/sfc#egg=sfc -git+https://gerrit.opnfv.org/gerrit/promise#egg=promise&subdirectory=promise/test/functest +-e git+https://gerrit.opnfv.org/gerrit/promise#egg=promise&subdirectory=promise/test/functest git+https://gerrit.opnfv.org/gerrit/netready#egg=netready&subdirectory=test/functest -e git+https://github.com/openstack/refstack-client#egg=refstack-client cloudify_rest_client===4.0 -- cgit 1.2.3-korg