summaryrefslogtreecommitdiffstats
path: root/docker/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2017-10-23Bugfix: build docker image failedxudan1-0/+2
1. When build Dovetail docker image, the job failed. 2. https://build.opnfv.org/ci/view/dovetail/job/dovetail-docker-build-push-master/279/console 3. That's because the setuptools version is old. 4. It needs to upgrade setuptools in the Dockerfile. JIRA: DOVETAIL-534 Change-Id: If37a4d7c3b57ea79903565fd880c5447da97b13b Signed-off-by: xudan <xudan16@huawei.com>
2017-09-29Disable get DB schema in Dockerfilexudan1-3/+3
Dovetail provides files for init local DB. No need to get schema from opnfv DB when building docker image. Change-Id: I05fbf4f65f3a94bb3a36fe3c140ad7bff58a4f15 Signed-off-by: xudan <xudan16@huawei.com>
2017-08-01Bugfix: Build docker image failed because of lacking of packagesxudan1-0/+3
JIRA: DOVETAIL-475 1. Dovetail fails to build Docker image. CI Link: https://build.opnfv.org/ci/view/dovetail/job/dovetail-docker-build-push-master/162/console Traceback: Running setup.py install for cryptography c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory 2. Refer to https://cryptography.io/en/latest/installation/ For Debian and Ubuntu, the following command will ensure that the required dependencies are installed: sudo apt-get install build-essential libssl-dev libffi-dev python-dev Change-Id: Icb705823c58d8a557175d48b00745119c0a6b3b9 Signed-off-by: xudan <xudan16@huawei.com>
2017-07-19Fix the docker version to be 17.03.0-ce rather than the latest onexudan1-1/+7
JIRA: DOVETAIL-467 1. Since the script getting with "wget qO https://get.docker.com/" has been changed and it can just install docker-ce rather than docker-engine now. 2. Dovetail validates with Docker 17.03 CE, so the docker installed in the dovetail container can be 17.03.0-ce. Change-Id: If64204ba3dcf5a38d7a124a0cc716f8375808999 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-21bugfix of dockerfileMatthewLi1-0/+2
Change-Id: I45b317e6feb4f889bd136b5d9f6a0f1e26db988f Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-20branch supported in Dockerfile and use functest/yardstick danube.2.0MatthewLi1-8/+4
JIRA: DOVETAIL-447 Change-Id: Id49d6ded8188900b58349e1983ac3fc8b40b6059 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-06-06Fix the docker version to be 1.12.3 in Dovetail docker imagexudan1-1/+1
JIRA: DOVETAIL-442 Change-Id: I476c2dabf5b23ed42a0004d8d3a9e17727051eca Signed-off-by: xudan <xudan16@huawei.com>
2017-05-25Change the directories of results and some files to DOVETAIL_HOMExudan1-2/+0
JIRA: DOVETAIL-438 1. Need an env variable DOVETAIL_HOME in env_config.sh 2. env_config.sh, pod.yaml and id_rsa should be put in path DOVETAIL_HOME/pre_config 3. the results will also be put in this path 4. no need to give the path of openstack credential file while running a testsuite 5. if running with the code, source the env_config.sh file before running source $DOVETAIL_HOME/env_config.sh dovetail run --testsuite <testsuite_name> 6. if running with Dovetail docker image docker run -it --privileged=true -e DOVETAIL_HOME=<dovetail_home_path> -v <dovetail_home_path>:<dovetail_home_path> -v /var/run/docker.sock:/var/run/docker.sock opnfv/dovetail:latest /bin/bash Change-Id: Ia23078f27a34e293d0075e49c673930f41069cb6 Signed-off-by: xudan <xudan16@huawei.com>
2017-05-03local db support offline modeLeo Wang1-0/+5
JIRA: DOVETAIL-415 The local db also need to support offline, move all the git clone/apt/yum/pip/wget/curl into the Dockerfile Change-Id: I2392dc9f4a6bd6f6a5a3f4849625a576c51a44f8 Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
2017-05-01Tips on update docker to right version, > 1.8grkiss1-1/+4
JIRA: DOVETAIL-414 Dovetail requires docker at version > 1.8, so add some validation in code, and also versions of client and server should match with each other, or there will be unpredictable errors. Gives a notice to user to decide whether to update the docker to the latest version(1.17) Change-Id: I1331f5c19943a73e8fe25f76bd21628233e556f3 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-04-16fix click and pytz package versionMatthewLi1-2/+0
JIRA: DOVETAIL-376 Change-Id: Ia269ca7cdd34c71b4531b28e42e40415190ae398 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-03-23bugfix of package errorMatthewLi1-1/+6
JIRA: DOVETAIL-376 Change-Id: I91e0efff01d445e3f74718d730c8ff48c6413b26 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-02-20dovetail tool: bugfix for dovetail report and docker buildMatthewLi1-3/+1
JIRA: DOVETAIL-353 JIRA: DOVETAIL-354 related patch: https://gerrit.opnfv.org/gerrit/#/c/29049/ Change-Id: Ic871abbda62dead7cf5e23e6117c9885d637c7fb Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-17dovetail tool: change to git repo then pbr.version can be get inside dockerMatthewLi1-1/+1
JIRA: DOVETAIL-184 Change-Id: I6d466dc34de027faab1aa74f66cc6c8e453111d1 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-16dovetail tool: bugfix for pip installMatthewLi1-1/+2
JIRA: DOVETAIL-183 1)pip install [options] [-e] <local project path> ... pip install [options] <archive url/path> ... 2)vim added in Dockerfile, which is convinience for offline usage Change-Id: I986dc7cd3e872cf026d2e69f7298028a6cbfe9a6 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-16Update Dockerfilewu.zhihui1-7/+5
- Update pip version. The version of pip which is installed by apt-get is too low. - use "pip install -r reuirements.txt" to install requirements package. Change-Id: I94f94cab58cdb0d8e926c5dfbdbf9c9a66545dac Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-13dovetail tool: command lineMatthewLi1-2/+7
JIRA: DOVETAIL-173 details please see https://wiki.opnfv.org/display/dovetail/Dovetail+Command+Line Change-Id: Iff04b0df8c4e6310d35a45b9c8ba3c7b3b5e1105 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-01-08dovetail tool: bugfix of pbr installation in requirements.txt and DockerfileMatthewLi1-1/+2
JIRA: DOVETAIL-175 Change-Id: I1f16742a59d5b016dcef6b574df45486c244c751 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-12-13dovetail tool: fix docker version of client mismatches with server in Docker ↵MatthewLi1-7/+1
image JIRA: DOVETAIL-160 errors see https://build.opnfv.org/ci/view/dovetail/job/dovetail-fuel-arm-pod3-debug-master/4/console Change-Id: I812453fa7ac26cfdf66609c1ca4ac96e29ca7e02 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-11-30bugfix: Add BRANCH Argument in the DockerfileMatthewLi1-2/+4
JIRA: DOVETAIL-147 1) BRANCH argument added to fix bug in CI 2) docker to use latest version, since BRANCH added not works with old version Change-Id: Icb0144896389b0cb7ac80e1fb0338825be50d5b1 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-10-12preparation for setup.pyMatthewLi1-2/+2
JIRA: DOVETAIL-26 1)change the directory scripts to dovetail, to make it unified in OPNFV and for setup.py 2)change the paths accordingly 3)this should be first merged, since docker is changed, then to add setup.py and run the local test Change-Id: I65974bde17f310ebbfe3c025532b05dae8752945 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-09-30Use template to unify commands in functest/yardstickLeo Wang1-13/+26
JIRA: DOVETAIL-19 1. use jinja2 to unify commands in config files 2. it simplify the process of test execution, put the dissimilarity in config 3. add precondition/postcondition for functest/yardstick config Change-Id: Ib996b11ea065b61910b34b78191bb7b1ffd92e59 Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
2016-09-20change workdir of docker container for ciLeo Wang1-1/+3
JIRA: DOVETAIL-15 - change workdir to /home/opnfv/dovetail/scripts for ci Change-Id: Ib289fb3e2e7af09a4a3a1fb7b124876155d811e7 Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>
2016-09-19add dockerfile of dovetail toolLeo Wang1-0/+22
JIRA:DOVETAIL-13 - add dockerfile Change-Id: I82d74013fef9b9203b531a1ba944e014d77a25cd Signed-off-by: Leo Wang <grakiss.wanglei@huawei.com>