diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 3 | ||||
-rwxr-xr-x | docker/run_qtip.sh | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index b0d512f8..0087689c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,7 +10,8 @@ LABEL version="0.1" description="OPNFV QTIP Docker container" -ENV repos_dir /home/opnfv/repos +ENV REPOS_DIR /home/opnfv/repos +ENV QTIP_DIR /home/opnfv/repos/qtip WORKDIR /home/opnfv diff --git a/docker/run_qtip.sh b/docker/run_qtip.sh new file mode 100755 index 00000000..dd3d322f --- /dev/null +++ b/docker/run_qtip.sh @@ -0,0 +1,17 @@ +#! /bin/bash + +cp ${REPOS_DIR}/releng/utils/fetch_os_creds.sh ${QTIP_DIR}/data/ +cd ${QTIP_DIR}/data && source get_env_info.sh -n ${INSTALLER_TYPE} -i ${INSTALLER_IP} +source ${QTIP_DIR}/data/opnfv-creds.sh +cd ${QTIP_DIR} && python qtip.py -l ${LAB} -f compute.txt +cd ${QTIP_DIR} && python qtip.py -l ${LAB} -f storage.txt +cd ${QTIP_DIR} && python qtip.py -l ${LAB} -f network.txt + +cd ${QTIP_DIR}/data/ref_results/ $$ python compute_suite.py +cd ${QTIP_DIR}/data/ref_results/ $$ python storage_suite.py +cd ${QTIP_DIR}/data/ref_results/ $$ python network_suite.py + + + + + |