From fdc0a62eb8fc92bcc0de1c65beda00c667cfcffb Mon Sep 17 00:00:00 2001 From: MatthewLi Date: Mon, 23 May 2016 21:32:49 -0400 Subject: [PATCH] move /ci into /tests directory JIRA: YARDSTICK-269 Change-Id: I2b552aded888fa9d8f8ddd8d902b3d7f6d31a607 Signed-off-by: MatthewLi --- run_tests.sh | 2 +- {ci => tests/ci}/apexlake-verify | 0 {ci => tests/ci}/cover.sh | 0 {ci => tests/ci}/docker/Makefile | 0 {ci => tests/ci}/docker/yardstick-ci/Dockerfile | 2 +- {ci => tests/ci}/docker/yardstick-ci/run_tests.sh | 4 ++-- {ci => tests/ci}/prepare_env.sh | 0 {ci => tests/ci}/requirements.txt | 0 {ci => tests/ci}/yardstick-verify | 0 9 files changed, 4 insertions(+), 4 deletions(-) rename {ci => tests/ci}/apexlake-verify (100%) rename {ci => tests/ci}/cover.sh (100%) rename {ci => tests/ci}/docker/Makefile (100%) rename {ci => tests/ci}/docker/yardstick-ci/Dockerfile (95%) rename {ci => tests/ci}/docker/yardstick-ci/run_tests.sh (94%) rename {ci => tests/ci}/prepare_env.sh (100%) rename {ci => tests/ci}/requirements.txt (100%) rename {ci => tests/ci}/yardstick-verify (100%) diff --git a/run_tests.sh b/run_tests.sh index e093a20d3..82c8251ff 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -54,7 +54,7 @@ run_tests() { } run_coverage() { - source ci/cover.sh + source tests/ci/cover.sh run_coverage_test } diff --git a/ci/apexlake-verify b/tests/ci/apexlake-verify similarity index 100% rename from ci/apexlake-verify rename to tests/ci/apexlake-verify diff --git a/ci/cover.sh b/tests/ci/cover.sh similarity index 100% rename from ci/cover.sh rename to tests/ci/cover.sh diff --git a/ci/docker/Makefile b/tests/ci/docker/Makefile similarity index 100% rename from ci/docker/Makefile rename to tests/ci/docker/Makefile diff --git a/ci/docker/yardstick-ci/Dockerfile b/tests/ci/docker/yardstick-ci/Dockerfile similarity index 95% rename from ci/docker/yardstick-ci/Dockerfile rename to tests/ci/docker/yardstick-ci/Dockerfile index 91d29da33..a2164a8a2 100644 --- a/ci/docker/yardstick-ci/Dockerfile +++ b/tests/ci/docker/yardstick-ci/Dockerfile @@ -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/ diff --git a/ci/docker/yardstick-ci/run_tests.sh b/tests/ci/docker/yardstick-ci/run_tests.sh similarity index 94% rename from ci/docker/yardstick-ci/run_tests.sh rename to tests/ci/docker/yardstick-ci/run_tests.sh index 3b7cea3c5..680a329ca 100755 --- a/ci/docker/yardstick-ci/run_tests.sh +++ b/tests/ci/docker/yardstick-ci/run_tests.sh @@ -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 $@ diff --git a/ci/prepare_env.sh b/tests/ci/prepare_env.sh similarity index 100% rename from ci/prepare_env.sh rename to tests/ci/prepare_env.sh diff --git a/ci/requirements.txt b/tests/ci/requirements.txt similarity index 100% rename from ci/requirements.txt rename to tests/ci/requirements.txt diff --git a/ci/yardstick-verify b/tests/ci/yardstick-verify similarity index 100% rename from ci/yardstick-verify rename to tests/ci/yardstick-verify -- 2.16.6