Fix a tag checkout 25/55725/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 13 Apr 2018 21:42:20 +0000 (23:42 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 13 Apr 2018 21:42:20 +0000 (23:42 +0200)
Change-Id: Idcbe0742e3d7733b361f812e0e51546d390b4af6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/smoke/Dockerfile

index 901f2e2..1ca37c6 100644 (file)
@@ -18,7 +18,8 @@ RUN apk --no-cache add --virtual .build-deps --update \
     pip install --no-cache-dir --src /src -cupper-constraints.txt \
         -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
         -e git+https://github.com/openstack/requirements@$OPENSTACK_TAG#egg=openstack_requirements && \
-    git clone --depth 1 https://github.com/openstack/os-faults.git -b $OS_FAULTS_TAG /src/os-faults && \
+    git clone https://github.com/openstack/os-faults.git /src/os-faults && \
+    (cd /src/os-faults && git checkout $OS_FAULTS_TAG) && \
     update-requirements -s --source /src/openstack-requirements /src/os-faults/ && \
     git clone --depth 1 https://github.com/openstack/rally.git -b $RALLY_TAG /src/rally && \
     update-requirements -s --source /src/openstack-requirements /src/rally/ && \