refstack-client: arm dockerfile support 27/30727/1
authorMatthewLi <matthew.lijun@huawei.com>
Wed, 15 Mar 2017 10:02:33 +0000 (06:02 -0400)
committerMorgan Richomme <morgan.richomme@orange.com>
Thu, 16 Mar 2017 16:08:17 +0000 (16:08 +0000)
JIRA: FUNCTEST-758
JIRA: DOVETAIL-366

Change-Id: I02784263bca26a1bfc786949b933d688c35c950f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
(cherry picked from commit 0deaa18a03be4ba14a3d1c7c71ae404e0f6837a8)

docker/Dockerfile.aarch64

index da1ce2d..15f0bdc 100644 (file)
@@ -15,6 +15,7 @@ LABEL version="0.1" description="OPNFV Functest Aarch64 Docker container"
 ARG BRANCH=master
 ARG RALLY_TAG=0.8.1
 ARG TEMPEST_TAG=15.0.0
+ARG REFSTACK_TAG=15.0.0
 ARG ODL_TAG=release/beryllium-sr4
 ARG OPENSTACK_TAG=stable/mitaka
 ARG KINGBIRD_TAG=0.2.2
@@ -93,6 +94,7 @@ RUN git clone --depth 1 -b $OPENSTACK_TAG https://github.com/openstack/networkin
 RUN git clone --depth 1 -b $KINGBIRD_TAG https://github.com/openstack/kingbird.git ${REPOS_DIR}/kingbird
 RUN git clone --depth 1 -b $RALLY_TAG https://github.com/openstack/rally.git ${REPOS_DIR}/rally
 RUN git clone --depth 1 -b $TEMPEST_TAG https://github.com/openstack/tempest.git ${REPOS_DIR}/tempest
+RUN git clone https://github.com/openstack/refstack-client ${REPOS_DIR}/refstack-client
 
 # other repositories
 RUN git clone --depth 1 -b $ODL_TAG https://git.opendaylight.org/gerrit/p/integration/test.git ${REPOS_DIR}/odl_test
@@ -135,6 +137,9 @@ RUN cd ${REPOS_DIR}/bgpvpn && pip install -e .
 # Kingbird integration
 RUN cd ${REPOS_DIR}/kingbird && pip install -e .
 
+# refstack-client integration
+RUN cd ${REPOS_DIR}/refstack-client && ./setup_env -t ${REFSTACK_TAG}
+
 RUN /bin/bash -c ". /etc/profile.d/rvm.sh \
     && cd ${REPOS_VNFS_DIR}/vims-test \
     && rvm autolibs enable"