#
# 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
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