summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
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-15Fix AArch64 nested Docker installAlexandru Nemes1-6/+17
Due to recent changes in official Dovetail Dockerfile, which is running on Ubuntu 14.04, we need some changes in our patch file for aarch64 in order to keep it working on 16.04. JIRA: ARMBAND-258 Change-Id: Icff8c5a16d90ec4b67204a5b525a7896c796ca11 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
2017-05-03local db support offline modeLeo Wang2-0/+66
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-24AArch64 support for Dovetail dockerAlexandru Nemes1-0/+32
Add aarch64 patch for Dovetail docker file; The patch should be applied from releng Move to Ubuntu 16.04 in order, since docker.io package was not available for arm on Ubuntu 14.04. Added "pip install -U setuptools", since installation of other components failed because setuptools was missing. Change-Id: If00346d89c48be86c6d9b830f75c1792c39d6bb3 Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.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-24Change to use "pip install -r requirements.txt" to install deps.Tomofumi Hayashi1-2/+4
At the change of DOVETAIL-183, dovetail uses requirements.txt to install python dependency file so this change is following it. Change-Id: I6cb2420274f385224b517950ddfdf1cf0e764350 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2017-01-17dovetail tool: change to git repo then pbr.version can be get inside dockerMatthewLi2-2/+2
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-12-09Add more document and fix dockerfile for CentOSTomofumi Hayashi1-1/+2
Add how to build container from dockerfile and add missing config for CentOS dockerfile. This fix is verified that functest/yeardstick are called successfully under debug/proposed_tests testsuite. Change-Id: Icb31331ecd78b8fccd69ac960c24340b605e54bf Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2016-12-06[RFC]Add dockerfile to support dovetail in CentOSTomofumi Hayashi1-0/+19
JIRA: DOVETAIL-151 This diff introduces an optional dovetail dockerfile based on CentOS. It provides users to have an alternative way to execute dovetail. It should be just a optional, so we should keep docker/Dockerfile as official one with dockerhub's image and we do not build docker images in CI phase for now. Change-Id: Ia694bcd49f65ff2bc175c1da3b42fbfa19b022a1 Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com> Signed-off-by: Zenghui Shi <zshi@redhat.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>