aboutsummaryrefslogtreecommitdiffstats
path: root/docker/prepare_env.sh
diff options
context:
space:
mode:
authorboucherv <valentin.boucher@orange.com>2015-10-28 10:07:04 +0100
committerboucherv <valentin.boucher@orange.com>2015-10-28 12:03:54 +0100
commit11d8d4904b5346c8ca904e4a3723ddf5ba5bad8c (patch)
tree8665bf70446b5d94b3b8a8bf606beabb71e42570 /docker/prepare_env.sh
parent6c22017400294fa017a28de00e6cc756db2d450f (diff)
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 <valentin.boucher@orange.com>
Diffstat (limited to 'docker/prepare_env.sh')
-rwxr-xr-xdocker/prepare_env.sh14
1 files changed, 14 insertions, 0 deletions
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.