pip install openstack clients 73/12273/1
authorMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 09:51:19 +0000 (05:51 -0400)
committerMatthewLi <matthew.lijun@huawei.com>
Thu, 14 Apr 2016 09:51:19 +0000 (05:51 -0400)
JIRA: BOTTLENECK-48

Change-Id: I863ce174f3c9e75a6c15325cacb6e1b1ab72d591
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
ci/docker/Dockerfile
requirements.txt [new file with mode: 0644]

index 70d0be0..706718c 100644 (file)
@@ -26,11 +26,8 @@ RUN apt-get update && apt-get install -y \
     git \
     sshpass \
     python \
-    python-glanceclient \
-    python-heatclient \
-    python-keystoneclient \
-    python-neutronclient \
-    python-novaclient
+    python-dev \
+    python-pip
 
 RUN apt-get -y autoremove && \
     apt-get clean
@@ -41,4 +38,4 @@ RUN git config --global http.sslVerify false
 RUN git clone https://gerrit.opnfv.org/gerrit/bottlenecks ${BOTTLENECKS_REPO_DIR}
 RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
 
-#COPY ./run_tests.sh /usr/local/bin/
+RUN pip install -r ${REPOS_DIR}/bottlenecks/requirements.txt
diff --git a/requirements.txt b/requirements.txt
new file mode 100644 (file)
index 0000000..0fe0608
--- /dev/null
@@ -0,0 +1,4 @@
+python-glanceclient>=2.0.0 # Apache-2.0
+python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0
+python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0
+python-heatclient>=0.6.0 # Apache-2.0