aboutsummaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2017-12-04Use pipenv instead of pipYujun Zhang1-3/+6
pipenv[1] is the officially recommended Python packaging tool from Python.org[2] [1]: https://docs.pipenv.org/ [2]: https://packaging.python.org/new-tutorials/installing-and-using-packages/ It integrates pip with virtualenv and handles version management better than pip. Change-Id: I4ec6436e29d76a866b56caa609e2bcd22489ae9f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-14bugfix: install the missing package openssh-clientzhihui wu1-0/+1
Change-Id: Ie0889a8e3cd5ae30765353329320aed938749e46 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-10Optimize Dockerfilezhihui wu1-20/+17
- Add new packages what storperf scripts need : curl and wget - Minimize the number of layers - ansible is already in requirements.txt, delete the apt-get commands Change-Id: Ie04d6618737146674396a7c005a247829f06c1d9 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-08install setuptools's latest version in containerzhihui wu1-2/+1
See https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/398/console Change-Id: I4e975e77e3361cfb468cba0c10cecc21c14c2517 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-11The script for CIzhihui wu1-0/+1
- The script includes all steps to trigger QTIP test On CI. - Add a dependency iputils-ping for command "ping" Change-Id: Ia7712cc9eedf227686896e2a38f3b8baf03d7397 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-10update Dockerfilezhihui wu1-21/+8
- remove dependencies which is not in use - remove unuse envrioment variables HOME and QTIP_DIR - set envrioment variable USER to root - pip install qtip with parameter -e - automatically startup ssh-agent Change-Id: I16999db53745b03c00260b2b5d73c5e89c0005f3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-03-29Configure docker to enable api autorunakhilbatra8981-0/+3
- modify path to api - expose api port Change-Id: I080bd1e82f29120db9acee8f3bd3a3908dc87bc4 Signed-off-by: akhilbatra898 <akhil.batra@research.iiit.ac.in>
2017-03-24add qtip installation in Dockerfilewu.zhihui1-1/+1
Docker build successfully on local. And QTIP cli works well. Change-Id: I0916c73e67808ae170ff7b290b8e03b605be8e69 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-22correct the path of .ansible.cfgwu.zhihui1-1/+1
In qtip container, /home/opnfv/ is HOME path. So the customized .ansible.cfg should be put under this directory. Change-Id: Ie0cddab9dac72fc45c14d7d3652b6863c5748260 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-11Miss \ in Dockerfilewu.zhihui1-1/+1
https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/250/console Change-Id: If6d76c6a27cc61a1b3d468751932e21d32dff277 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-10Add missing softwareswu.zhihui1-0/+2
Install iputils-ping for ping and rsync for synchronizing files and directories. Change-Id: I93ba44bcb04948bbe846fb179dc673aa86a6a92a Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-01Install latest requirment packageswu.zhihui1-1/+4
When I debug code in qtip container, I found the version of paramiko(1.16.0) is outdated. There is a bug based on this version.[1] Solution: 1. Pip install qtip requirment packages with -U. 2. Update dependent packages.[2][3] And docker image is built successfully on local. [1] http://stackoverflow.com/questions/42029415/ paramiko-futurewarning-ctr-mode-needs-counter-parameter [2] http://www.paramiko.org/installing.html [3] https://cryptography.io/en/latest/installation/ Change-Id: I9d90c49f7cf3048f4717a76ffcb19dab68a687d4 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-16Update Dockerfilewu.zhihui1-0/+67
- update OS version to 16.04 - update pip version JIRA: QTIP-202 Change-Id: Iba90e4b354f2ddb9e1cbc1da191be6b1b6f6a042 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-11Reorganize the project foldersYujun Zhang1-70/+0
Code from Brahmaputra is no longer maintained, including: - docker - playbooks - scripts - utils They are moved to legacy folder to avoid unnecessary confusion to new developers. Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-14bugfix: solve upgrade setuptools failed problemSerenaFeng1-1/+1
Change-Id: Id699224c35992a9f203b2ca5ad57300211e1b1eb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13bugfix: qtip install failed in docker modeSerenaFeng1-0/+2
error message: ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/dist-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute Change-Id: I3dea0ea87b20556e286bc52315148d7376911803 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-05[QTIP-157]fix docker build jobwu.zhihui1-9/+4
Bugfix task QTIP-157. Add agrument BRANCH in Dockerfile. JIRA: QTIP-157 Change-Id: I5558c23dde948e28f9c989bee7f4a42dc886f5a1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-05Remove results directory out of reposwu.zhihui1-0/+2
Delete results directory from qtip repos. And the results files will be stored under /home/opnfv/qtip/results. Change-Id: Ie1091e60eb77068c20a9095f0f85454f18173872 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-26Update docker informationYujun Zhang1-1/+1
- Original maintainer retires from the team - Add README.md[1] from which docker hub will pull the full description [1] https://docs.docker.com/docker-hub/builds/#/understand-the-build-process Change-Id: Ib3aa926bf7a46430d09c72493f8cf73cac73b843 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-22Use supervisor to start qtip_server in docker.zhifeng.jiang1-1/+9
JIRA:QTIP-99 Change-Id: I447973e17613c5b9dcbbaefef9d67a8dc01c838c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-20Bugfix: Problems meet when following the step of introduction.rstzhifeng.jiang1-0/+1
modification: Delete the fetch_os_creds.sh Call the fetch_os_creds.sh which in releng Include the curl in docker Change-Id: I5a92f671ce4183cf0d7dabc8faf69018b9b54e0b Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-12solve log path cannot be found issueSerenaFeng1-2/+3
JIRA: QTIP-124 Change-Id: I2ff94d01085ee8f057b9792988fe5ee9792fe740 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11change log placeSerenaFeng1-1/+1
because /var/log cannot be accessed by unittest. so change the log place from /var/log to ~/opnfv/qtip/logs JIRA: QTIP-119 Change-Id: I14ba8317c94630fb8db46f532f7995c0c10595bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-28Start restful server auto in dockerzhifeng.jiang1-1/+2
modification: Add start restful server in dockerfile Add result and detail_result in server job status Add job result assert in unit test JIRA:QTIP-99 Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-21add unified logger process for qtipSerenaFeng1-0/+1
log the output information to both file and console, and unify the log file path and level JIRA: QTIP-108 Change-Id: I3a881e9da1f74c6959250a94f05cf90a231c34e6 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-10Install the requirement packages in dockerzhifeng.jiang1-1/+1
modification: remove the packages.pip which duplicate with requirement.txt pip install requirement.txt in docker JIRA:QTIP-97 Change-Id: I6b9ac316cb7401b69c71fc5b1807b8d8a7ccd1bb Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-06Add ansible.cfg so that we can get ansible running timezhifeng.jiang1-0/+3
JIRA:QTIP-99 Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-02-12QTIP report generation docker dependencies resolvedNauman_Ahad1-0/+4
Needed dependencies for report within QTIP docker image were resolved. Additionally, added an error check in case no results are available for the report. Change-Id: Ifd4ccd406555faf156e4274ca312e1ef55ed64b3 Signed-off-by: Nauman_Ahad <nauman_ahad@xflowresearch.com>
2016-01-26Modified Dockerfile for Report Generation dependenciesNauman_Ahad1-0/+1
Dependencies for matplotlib and reportlib were added in the dockerfile Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com> Change-Id: Icda969573447d328a221daacfcd7049ea51dedd2
2016-01-07Slight changes to the run_qtip.sh scriptNauman_Ahad1-4/+4
Modifications needed in run_qtip.sh for Jenkins Jobs to run. Docker file changed too. get_env.sh script location changed too. Testcases for dell-us-deploying-bm-3 lab added along with the default testcase directory Change-Id: I293febda0ddd3d56d1c455fde220dc78a57b6c18 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-05QTIP Index calculation along with a script to run qtip from dockerNauman_Ahad1-1/+2
Calculation of Result Indices for 1. Compute suite 2. Storage suite 3. Network suite A script to run qtip from inside the docker container (for Jenkins Jobs) Resolved bugs with ssl_trasform.py, sys info collection on ubuntu and system information collection script Change-Id: Ic5abb3dbd0012cd2257b588b1b3067a6677b1f5d Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2015-12-22Dockerfile for QTIP docker containerNauman_Ahad1-0/+50
Dockerfile for creating QTIP docker image Installs needed dependencies to run QTIP JIRA: QTIP-48 Change-Id: I29083856d9a22d35eb983249059a176dc29f34e7 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>