From c4b320f3e292c1348e467cd1438c996510d50af6 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 13 Oct 2017 14:29:14 +0200 Subject: Get the right git commit ids MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Linda Wang Change-Id: I08ad30156049ac0814fcebfc0f116176331c1dd3 Signed-off-by: Cédric Ollivier (cherry picked from commit 7db506b8c184917d0986b14722bbbf95b7fce3d3) --- docker/smoke/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docker/smoke') diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index b1443c792..cb3eaaee9 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -9,15 +9,15 @@ ARG REFSTACK_TAG=4e187b07672dd1c41cb7c94658f1c91edebf53a2 RUN apk --no-cache add --virtual .build-deps --update \ python-dev build-base linux-headers libffi-dev \ openssl-dev libjpeg-turbo-dev git && \ - git clone --depth 1 https://github.com/openstack/refstack-client.git /src/refstack-client && \ - (cd src/refstack-client && git checkout -b $REFSTACK_TAG) && \ + git clone https://github.com/openstack/refstack-client.git /src/refstack-client && \ + (cd src/refstack-client && git checkout $REFSTACK_TAG) && \ update-requirements -s --source /src/openstack-requirements /src/refstack-client/ && \ pip install --no-cache-dir --src /src \ -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \ -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \ -e/src/refstack-client && \ - git clone --depth 1 https://git.opendaylight.org/gerrit/p/integration/test.git /src/odl_test && \ - (cd src/odl_test && git checkout -b $ODL_TAG) && \ + git clone https://git.opendaylight.org/gerrit/p/integration/test.git /src/odl_test && \ + (cd src/odl_test && git checkout $ODL_TAG) && \ git clone --depth 1 -b $FDS_TAG https://gerrit.opnfv.org/gerrit/fds /src/fds && \ ln -s /src/tempest /src/refstack-client/.tempest && \ virtualenv --system-site-packages /src/tempest/.venv && \ -- cgit 1.2.3-korg