summaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-04-13 23:42:20 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-04-13 23:42:20 +0200
commit2da803403ecd829eeeaa787155972e956027b318 (patch)
treed839adf2a5a6e7efb51b2c261b6b21577835d40d /docker/smoke/Dockerfile
parent7cd3332f220278695bd21f9a9eaf6032b1253a74 (diff)
Fix a tag checkout
Change-Id: Idcbe0742e3d7733b361f812e0e51546d390b4af6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r--docker/smoke/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 901f2e241..1ca37c623 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -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/ && \