From 11d8d4904b5346c8ca904e4a3723ddf5ba5bad8c Mon Sep 17 00:00:00 2001 From: boucherv Date: Wed, 28 Oct 2015 10:07:04 +0100 Subject: vIMS test integration and move "push_results_to_db" method Move "push_results_to_db" method to functest_util Updated some files for clearwater vIMS functional testing Change-Id: I21628b063470963e4e4425a0f89fefa33494e40d Signed-off-by: boucherv --- docker/prepare_env.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'docker/prepare_env.sh') diff --git a/docker/prepare_env.sh b/docker/prepare_env.sh index 42b1e1c43..6c77e8140 100755 --- a/docker/prepare_env.sh +++ b/docker/prepare_env.sh @@ -104,6 +104,20 @@ if [ $offline == false ]; then cd ${RALLY_REPO_DIR} info "Rally repo: pulling to latest..." git pull + + info "Updating vIMS test repository...." + cd ${VIMS_REPO_DIR} + if [ ${VIMS_BRANCH} != "stable" ]; then + info "Releng repo: checkout ${VIMS_TEST_BRANCH} branch..." + git checkout ${VIMS_BRANCH} + fi + info "vIMS test repo: pulling to latest..." + git pull + if [ ${VIMS_COMMIT} != "latest" ]; then + info "vIMS test repo: given commit is ${VIMS_TEST_COMMIT}. Reseting..." + git reset --hard ${VIMS_COMMIT} + fi + fi # We do this regardless if its online or offline mode. -- cgit 1.2.3-korg