Change-Id: I1215c6ecc9642bb2e4d433276fc3f6941e775e0b
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
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/
#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")