[bugfix] docker build failed in hunter due to storperf version 12/67612/1
authorrexlee8776 <limingjiang@huawei.com>
Mon, 15 Apr 2019 06:41:19 +0000 (06:41 +0000)
committerRex Lee <limingjiang@huawei.com>
Thu, 18 Apr 2019 07:30:42 +0000 (07:30 +0000)
storperf do not have hunter branch, so it need to be set
as stable/gambia

JIRA: YARDSTICK-1610

Change-Id: I818396c46ce165019159b9852abb02f176507ac0
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
(cherry picked from commit e6d688c6585e976010dc9c5b3a051613171a8ddc)

docker/Dockerfile
docker/Dockerfile.aarch64.patch

index 29319e0..31f7d5d 100644 (file)
@@ -38,7 +38,7 @@ RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/yardstick ${Y
 #RUN mkdir ${YARDSTICK_REPO_DIR}
 #COPY ./ ${YARDSTICK_REPO_DIR}
 RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
-RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/storperf ${STORPERF_REPO_DIR}
+RUN git clone --depth 1 -b stable/gambia https://gerrit.opnfv.org/gerrit/storperf ${STORPERF_REPO_DIR}
 
 RUN ansible-playbook -i ${YARDSTICK_REPO_DIR}/ansible/install-inventory.ini -c local -vvv -e INSTALLATION_MODE="container" ${YARDSTICK_REPO_DIR}/ansible/install.yaml
 
index cae9dbb..2f510b8 100644 (file)
@@ -35,7 +35,7 @@ index 71ce6b58..fce7c116 100644
 
 @@ -40,7 +41,8 @@ RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/yardstick ${Y
  RUN git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
- RUN git clone --depth 1 -b $BRANCH https://gerrit.opnfv.org/gerrit/storperf ${STORPERF_REPO_DIR}
+ RUN git clone --depth 1 -b stable/gambia https://gerrit.opnfv.org/gerrit/storperf ${STORPERF_REPO_DIR}
 
 -RUN ansible-playbook -i ${YARDSTICK_REPO_DIR}/ansible/install-inventory.ini -c local -vvv -e INSTALLATION_MODE="container" ${YARDSTICK_REPO_DIR}/ansible/install.yaml
 +RUN sed -i -e '/configure_gui/d' ${YARDSTICK_REPO_DIR}/ansible/install.yaml && \