summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2015-12-20 23:23:36 -0800
committerMatthewLi <matthew.lijun@huawei.com>2015-12-20 23:27:32 -0800
commite172871a994f1e77df040ec270f15dbca82137c6 (patch)
tree850cf083a047154cf6d91b8d3352562276d06a4c /rubbos/rubbos_scripts
parent045442ff03278057d3a77f1301ab4f8ef5068741 (diff)
amend releng repo bug
JIRA: BOTTLENECK-4 Change-Id: Ia5250a8645760e1b3b2666e34748f529aabe77eb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts')
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh b/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
index 5db473ce..fac94032 100755
--- a/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh
@@ -11,8 +11,8 @@
set -e
RELENG_REPO=https://gerrit.opnfv.org/gerrit/releng
-RELENG_REPO_DIR=/home/opnfv/repos/releng
-RELENG_BRANCH=master # branch, tag, sha1 or refspec
+RELENG_REPO_DIR=/tmp/opnfvrepo/releng
+#RELENG_BRANCH=master # branch, tag, sha1 or refspec
INSTALLER_TYPE=fuel
INSTALLER_IP=10.20.0.2
@@ -22,6 +22,10 @@ EXTERNAL_NET=net04_ext
echo "INFO: Creating openstack credentials .."
+mkdir -p ${RELENG_REPO_DIR}
+git config --global http.sslVerify false
+git clone ${RELENG_REPO} ${RELENG_REPO_DIR}
+
# Create openstack credentials
$RELENG_REPO_DIR/utils/fetch_os_creds.sh \
-d /tmp/openrc \