bugfix: docker ci workflow bugfix 51/12251/1
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 06:24:48 +0000 (02:24 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 06:24:48 +0000 (02:24 -0400)
Change-Id: I1215c6ecc9642bb2e4d433276fc3f6941e775e0b
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
ci/docker/Dockerfile
run_tests.sh

index a8f7e38..375ceba 100644 (file)
@@ -38,7 +38,7 @@ RUN apt-get -y autoremove && \
 RUN mkdir -p ${REPOS_DIR}
 
 RUN git config --global http.sslVerify false
-# TODO fix code clone handler
-#RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
-#RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
+RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
+RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
 
+COPY ../../run_tests.sh /usr/local/bin/
index e6e9084..1171b7c 100755 (executable)
@@ -79,7 +79,7 @@ function run_test(){
                 #adjust config parameters, different test suite has different methods, take rubbos as an example
                 #run test case, different test suite has different methods
                 file={$BASEDIR}/testsuites/rubbos/testcase_cfg/{$i}.yaml
-                python ${BOTTLENECK_TOP_DIR}/testsuites/rubbos/run_rubbos.py -c $file
+                python /home/opnfv/bottlenecks/testsuites/rubbos/run_rubbos.py -c $file
             done
         ;;
         "vstf")