aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-03-23 11:06:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-23 11:06:05 +0000
commitbf8345a941ca568eacdb14a8b0487e5d6e68f5b9 (patch)
tree20df73d3407455065b639d1431dbf8a3c1d19bb5
parent1faa8c6f81143885c19128f043c3fd7604402c23 (diff)
parent264896f475e3f0975754c9fa78980051661698c0 (diff)
Merge "Enable functest offline by installing tempest system wide"
-rw-r--r--docker/Dockerfile1
-rwxr-xr-xfunctest/ci/prepare_env.py2
-rw-r--r--kingbird_requirements.txt15
3 files changed, 17 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index af3f8ecd..4c0995b9 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -156,6 +156,7 @@ RUN cd ${REPOS_DIR}/bgpvpn && pip install -e .
# Kingbird integration
RUN cd ${REPOS_DIR}/kingbird && pip install -e .
+RUN cd ${FUNCTEST_REPO_DIR} && pip install -r kingbird_requirements.txt
# refstack-client integration
RUN cd ${REPOS_DIR}/refstack-client && ./setup_env -t ${REFSTACK_TAG}
diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py
index 724ea14d..e9a470f9 100755
--- a/functest/ci/prepare_env.py
+++ b/functest/ci/prepare_env.py
@@ -312,7 +312,7 @@ def install_tempest():
logger.debug("Tempest %s does not exist" %
CONST.tempest_deployment_name)
cmd = ("rally verify create-verifier --source {0} "
- "--name {1} --type tempest"
+ "--name {1} --type tempest --system-wide"
.format(CONST.dir_repo_tempest,
CONST.tempest_deployment_name))
error_msg = "Problem while installing Tempest."
diff --git a/kingbird_requirements.txt b/kingbird_requirements.txt
new file mode 100644
index 00000000..adf1082c
--- /dev/null
+++ b/kingbird_requirements.txt
@@ -0,0 +1,15 @@
+#
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+ddt==1.1.1
+oslosphinx==4.11.0
+oslotest==2.14.0
+pylint==1.4.5
+requests-mock==1.3.0
+tempest-lib==1.0.0
+testresources==2.0.1
+testscenarios==0.5.0