From c02c9a09ea850103d6f7ebae8b4f182329b89dae Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Fri, 15 Jan 2016 11:24:58 +0100 Subject: Added more consistency when getting the config_functest.yaml Change-Id: Ie48e16adee25f7a00d6b9d4a45e804a066064eee Signed-off-by: jose.lausuch (cherry picked from commit 6a865b115f7533d70ca622172665c0da6ddac89d) --- docker/common.sh | 6 ++++++ docker/prepare_env.sh | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'docker') diff --git a/docker/common.sh b/docker/common.sh index f21263c7e..f03572d76 100755 --- a/docker/common.sh +++ b/docker/common.sh @@ -20,6 +20,12 @@ # # If it is not provided, take the existing one in the functest repo # + +# this pull is to be removed right before the B release, once we build +# a release candidate docker +cd $repos_dir/functest +git pull + mkdir -p /home/opnfv/functest/conf config_file=/home/opnfv/functest/conf/config_functest.yaml if [ ! -f ${config_file} ]; then diff --git a/docker/prepare_env.sh b/docker/prepare_env.sh index ec14391c0..48320d4cc 100755 --- a/docker/prepare_env.sh +++ b/docker/prepare_env.sh @@ -80,16 +80,6 @@ fi if [ $offline == false ]; then # Update repos - info "Updating Functest repository...." - cd ${FUNCTEST_REPO_DIR} - info "Functest repo: pulling to latest..." - git pull - if [ ${FUNCTEST_COMMIT} != "latest" ]; then - info "Functest repo: given commit is ${FUNCTEST_COMMIT}. Reseting..." - git reset --hard ${FUNCTEST_COMMIT} - fi - source ${BASEDIR}/common.sh - info "Updating Releng repository...." cd ${RELENG_REPO_DIR} if [ ${RELENG_BRANCH} != "master" ]; then -- cgit 1.2.3-korg