diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-09-08 10:42:29 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-09-08 10:45:42 +0200 |
commit | 0b1d19224daf2278869b973990b5508280a3812b (patch) | |
tree | c2abdeff4e8bd293d1bb258b6119a1a505db8594 /docker/smoke | |
parent | 65e832cc579b86fd82864612bd35b387e3ada5e1 (diff) |
Use git commit id for refstack-client
Functest should be based on fixed versions of projects which are out
of OPNFV. It selects the last git commit as refstack-client hasn't
defined any tag or branch.
Change-Id: Id7c5ecb0ef88fd1a2b8f34ddfc22c87b7f78c8d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke')
-rw-r--r-- | docker/smoke/Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index 3e73d195b..abf1714b4 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -4,12 +4,14 @@ ARG BRANCH=master ARG OPENSTACK_TAG=stable/ocata ARG ODL_TAG=35e415b6873b39d72775c88a337e92dac26012e2 ARG FDS_TAG=master +ARG REFSTACK_TAG=4e187b07672dd1c41cb7c94658f1c91edebf53a2 COPY thirdparty-requirements.txt thirdparty-requirements.txt 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) && \ 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 \ |