summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-08-25 11:53:58 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-08-25 11:59:37 +0200
commitd9a982a271b2afbdebe8af5d35830aedae44b20d (patch)
tree50c2ee9e1cb2def6170e5d7d0a4153dcffc7110a
parent330c9cd57f1fa27b7f3bc018a49b885308c22138 (diff)
Set Neutron and Barbican tempest plugins commit ids
They are mandatory before releasing. Change-Id: I2980536e28d183343ff0a9520ca9ee663e437fee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--docker/smoke/Dockerfile8
1 files changed, 6 insertions, 2 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 08779efaf..31b67e83f 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -5,6 +5,8 @@ ARG OPENSTACK_TAG=stable/queens
ARG REFSTACK_TARGET=2018.02
ARG PATROLE_TAG=0.3.0
ARG VMTP_TAG=99b261ccccc2f8a08ee2d8fca9f54ef9d69899d7
+ARG NEUTRON_TAG=d307f5635d4015e7842a4a177f66c76ba4bd818a
+ARG BARBICAN_TAG=b8bf147bdcdd33f3ad276ca8815fd253ec9b24af
RUN apk --no-cache add --update libxml2 libxslt && \
apk --no-cache add --virtual .build-deps --update \
@@ -21,9 +23,11 @@ RUN apk --no-cache add --update libxml2 libxslt && \
git clone https://github.com/openstack/vmtp.git /src/vmtp && \
(cd /src/vmtp && git fetch origin $VMTP_TAG && git checkout FETCH_HEAD) && \
update-requirements -s --source /src/openstack-requirements /src/vmtp/ && \
- git clone --depth 1 https://github.com/openstack/neutron-tempest-plugin.git /src/neutron-tempest-plugin && \
+ git clone https://github.com/openstack/neutron-tempest-plugin.git /src/neutron-tempest-plugin && \
+ (cd /src/neutron-tempest-plugin && git fetch origin $NEUTRON_TAG && git checkout FETCH_HEAD) && \
update-requirements -s --source /src/openstack-requirements /src/neutron-tempest-plugin && \
- git clone --depth 1 https://github.com/openstack/barbican-tempest-plugin.git /src/barbican-tempest-plugin && \
+ git clone https://github.com/openstack/barbican-tempest-plugin.git /src/barbican-tempest-plugin && \
+ (cd /src/barbican-tempest-plugin && git fetch origin $BARBICAN_TAG && git checkout FETCH_HEAD) && \
update-requirements -s --source /src/openstack-requirements /src/barbican-tempest-plugin/ && \
pip install --no-cache-dir --src /src -cupper-constraints.txt -cupper-constraints.opnfv.txt \
/src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin \