diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ci/compute/docker-compose.yaml | 2 | ||||
-rwxr-xr-x | tests/ci/experimental.sh | 9 | ||||
-rwxr-xr-x | tests/ci/periodic.sh | 2 |
3 files changed, 7 insertions, 6 deletions
diff --git a/tests/ci/compute/docker-compose.yaml b/tests/ci/compute/docker-compose.yaml index 712c9c54..b6bdf13d 100644 --- a/tests/ci/compute/docker-compose.yaml +++ b/tests/ci/compute/docker-compose.yaml @@ -11,7 +11,7 @@ version: '2' services: qtip: - container_name: compute_qtip + container_name: compute_qtip_${SUT} image: opnfv/qtip:${DOCKER_TAG} env_file: ${ENV_FILE} volumes: diff --git a/tests/ci/experimental.sh b/tests/ci/experimental.sh index e4bcc577..e45611e5 100755 --- a/tests/ci/experimental.sh +++ b/tests/ci/experimental.sh @@ -20,18 +20,19 @@ export CI_DEBUG='false' export TEST_SUITE='compute' export TESTAPI_URL='' export SSH_CREDENTIALS='/root/.ssh' - export WORKSPACE=${WORKSPACE:-$(pwd)} +export SUT='vnf' source ${script_dir}/utils/start_services.sh cd ${WORKSPACE} qtip_repo='/home/opnfv/repos/qtip' -docker cp . ${TEST_SUITE}_qtip:${qtip_repo} -docker exec ${TEST_SUITE}_qtip bash -c "cd ${qtip_repo} && pip install -U -e ." +docker cp . ${TEST_SUITE}_qtip_${SUT}:${qtip_repo} +docker exec ${TEST_SUITE}_qtip_${SUT} bash -c "cd ${qtip_repo} && pip install -U -e ." + +docker exec ${TEST_SUITE}_qtip_${SUT} bash -x ${qtip_repo}/qtip/scripts/quickstart.sh -u "${SUT}" -docker exec ${TEST_SUITE}_qtip bash -x ${qtip_repo}/qtip/scripts/quickstart.sh echo "QTIP: Verify ${TEST_SUITE} done!" exit 0 diff --git a/tests/ci/periodic.sh b/tests/ci/periodic.sh index 87fa7627..e37f236e 100755 --- a/tests/ci/periodic.sh +++ b/tests/ci/periodic.sh @@ -13,7 +13,7 @@ script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source ${script_dir}/utils/start_services.sh -docker exec ${TEST_SUITE}_qtip bash -x /home/opnfv/repos/qtip/qtip/scripts/quickstart.sh +docker exec ${TEST_SUITE}_qtip_${SUT} bash -x /home/opnfv/repos/qtip/qtip/scripts/quickstart.sh -u "${SUT}" echo "${TEST_SUITE} QPI done!" |