Update Promise repository 31/24431/2
authorjose.lausuch <jose.lausuch@ericsson.com>
Wed, 16 Nov 2016 17:06:36 +0000 (18:06 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Fri, 18 Nov 2016 09:13:26 +0000 (10:13 +0100)
Promise code and test cases had been maintained in GitHub.
Due to the decision to mirror OPNFV Gerrit to GitHub,
the Promise GitHub (https://github.com/opnfv/promise) was
overwritten by the content in Gerrit (which is outdated).

Change-Id: Id03a24d56fb60c144c93ea3e65caf9718d8d4784
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
docker/Dockerfile

index 1adfe6e..5afb4aa 100644 (file)
@@ -86,7 +86,7 @@ RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/domino ${repo
 RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/parser ${repos_dir}/parser
 RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/doctor ${repos_dir}/doctor
 RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/ovno ${repos_dir}/ovno
-RUN git clone --depth 1 https://github.com/opnfv/promise ${repos_dir}/promise
+RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/promise ${repos_dir}/promise
 RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/securityscanning ${repos_dir}/securityscanning
 RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng ${repos_dir}/releng
 
@@ -146,7 +146,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 -'
 RUN sudo apt-get install -y nodejs
 RUN cd ${repos_dir}/promise && sudo npm -g install npm@latest
-RUN cd ${repos_dir}/promise && npm install
+RUN cd ${repos_dir}/promise/source && npm install
 
 RUN echo "set nocompatible \n\
 set backspace=2" \