move /ci into /tests directory 33/14533/1
authorMatthewLi <matthew.lijun@huawei.com>
Tue, 24 May 2016 01:32:49 +0000 (21:32 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Tue, 24 May 2016 01:35:08 +0000 (21:35 -0400)
JIRA: YARDSTICK-269

Change-Id: I2b552aded888fa9d8f8ddd8d902b3d7f6d31a607
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
run_tests.sh
tests/ci/apexlake-verify [moved from ci/apexlake-verify with 100% similarity]
tests/ci/cover.sh [moved from ci/cover.sh with 100% similarity]
tests/ci/docker/Makefile [moved from ci/docker/Makefile with 100% similarity]
tests/ci/docker/yardstick-ci/Dockerfile [moved from ci/docker/yardstick-ci/Dockerfile with 95% similarity]
tests/ci/docker/yardstick-ci/run_tests.sh [moved from ci/docker/yardstick-ci/run_tests.sh with 94% similarity]
tests/ci/prepare_env.sh [moved from ci/prepare_env.sh with 100% similarity]
tests/ci/requirements.txt [moved from ci/requirements.txt with 100% similarity]
tests/ci/yardstick-verify [moved from ci/yardstick-verify with 100% similarity]

index e093a20..82c8251 100755 (executable)
@@ -54,7 +54,7 @@ run_tests() {
 }
 
 run_coverage() {
-    source ci/cover.sh
+    source tests/ci/cover.sh
     run_coverage_test
 }
 
similarity index 100%
rename from ci/apexlake-verify
rename to tests/ci/apexlake-verify
similarity index 100%
rename from ci/cover.sh
rename to tests/ci/cover.sh
similarity index 100%
rename from ci/docker/Makefile
rename to tests/ci/docker/Makefile
similarity index 95%
rename from ci/docker/yardstick-ci/Dockerfile
rename to tests/ci/docker/yardstick-ci/Dockerfile
index 91d29da..a2164a8 100644 (file)
@@ -44,7 +44,7 @@ RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
 
 # install yardstick + dependencies
 RUN cd ${YARDSTICK_REPO_DIR} && easy_install -U pip
-RUN cd ${YARDSTICK_REPO_DIR} && pip install -r ci/requirements.txt
+RUN cd ${YARDSTICK_REPO_DIR} && pip install -r tests/ci/requirements.txt
 RUN cd ${YARDSTICK_REPO_DIR} && pip install .
 
 ADD http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img /home/opnfv/images/
similarity index 94%
rename from ci/docker/yardstick-ci/run_tests.sh
rename to tests/ci/docker/yardstick-ci/run_tests.sh
index 3b7cea3..680a329 100755 (executable)
@@ -49,7 +49,7 @@ git checkout master && git pull
 git_checkout $YARDSTICK_BRANCH $YARDSTICK_REPO
 
 # setup the environment
-source $YARDSTICK_REPO_DIR/ci/prepare_env.sh
+source $YARDSTICK_REPO_DIR/tests/ci/prepare_env.sh
 
 # run tests
-$YARDSTICK_REPO_DIR/ci/yardstick-verify $@
+$YARDSTICK_REPO_DIR/tests/ci/yardstick-verify $@
similarity index 100%
rename from ci/prepare_env.sh
rename to tests/ci/prepare_env.sh