summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2018-06-21Add sudo to dockerYang (Gabriel) Yu1-0/+1
It seems sudo is not included in Bottlenecks docker. This patch is to fix it. Change-Id: Icb3c09acb877acfc4817b2aa67689045846c716d Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit 76619a3824f213715e012fdb23df64b079a4ff48)
2018-06-15Update DockerfileYang (Gabriel) Yu1-11/+9
1. Openstack command lines keep poping up warnings which cause reading comand results wrongly. 2. Update the ubuntu version and packages to remove redundance which is a historical debt. Change-Id: I3cdb7a9ec3f0bc41ecfe5b8bf9d44878485de40f Signed-off-by: Yang (Gabriel) Yu <Gabriel.yuyang@huawei.com> (cherry picked from commit 0ea5233caabae215afb0769194a87f32a430fa2d)
2017-08-04change Dockerfile to adapt BranchesYang Yu1-1/+1
Reverse dockerfile Change-Id: I827209833ae4e34e20afba522557c83f4acaaf45 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-08-04Remove Branch var for docker build pushYang Yu1-1/+1
For Dovetail, remove the var temporiately Change-Id: Ic833d565435b431c83d995c5f5174890cd0570cb Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
2017-07-17Bug fix of Bottlenecks can't use CLIliyin5-152/+0
JIRA: BOTTLENECK-171 Bug fix of Bottlenecks can't use CLI to start test. Some docker-compose function delete to fit elk docker support. After this patch you could use bottlenecks testcase run posca_factor_ping to start this test. you also need to put the rc file to bottlenecks docker. Change-Id: I340e31185a499c81f9595a902df89d8f0ddf0cd3 Signed-off-by: liyin <liyin11@huawei.com>
2017-05-25Bugfix: dockerfile does not support basenameyuyang1-1/+1
JIRA: BOTTLENECK-158 Remove basename commond in docker-compose file Change-Id: If06bac1903b2b830f9e5e4133f3315fb9f424c18 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-05-25Add reporting to MongoDByuyang1-0/+4
JIRA: BOTTLENECK-158 Add reporting function to community MongoDB Change-Id: Idebc191b20ad238dbdd129ce38131b79e7133e35 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-04-20Bugfix of docker-compose file for privilegedyuyang1-0/+3
JIRA: BOTTLENECK-163 privileged option in docker-compose file should be true to avoid "permission deny" error when accessing directories Change-Id: I1a57146236efb5fe71405c5b7682af706a8814bf Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-04-11Fix code style issues for specificed pathyuyang1-1/+1
JIRA: BOTTLENECK-100 Fix code syle issues for the path flake8 specified before flake8 check merged into CI pipeline. Change-Id: Iee59bada206fafd4740023e90d08a4b4a7a030db Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-28bugfix: fix bugs for running 'teststory run'yuyang1-1/+1
JIRA: BOTTLENECK-144 utils/parser.py:56 has incorrect var:cls which cause pass more var to testcase_read function. Change-Id: I2d4b93f95d19a205e537515529746f6d9e13fe2c Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-03-27Add docker clean-up for run testyuyang1-0/+106
JIRA: BOTTLENECK-148 Currently, only OPNFV CI includes env-cleanup for Bottlenecks. It is preferable to also include the operation locally for test automation and repeatability. Changes: 1. Translate tab into 4 spaces Change-Id: I9f4efb95c155e442afd3141c00f707421c61b2da Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2017-02-21quota limit for posca_stress_pingliyin1-0/+1
JIRA:BOTTLENECK-140 Those code will update an action of quota. Before out test begin we will make quota no limit. so we could do stress test. Those quota limit will change openstack forever. maybe will create damage for openstack. Change-Id: I0a6a06c6c303589881cb2ab7b754213ecf1a845f Signed-off-by: liyin <liyin11@huawei.com>
2017-02-17stress test of ping testcaseliyin2-0/+13
JIRA:BOTTLENECK-136 those code will add a new testcase: posca_stress_ping This will use docker python client to realize the fountion of calling yardstick to test. And yardstick will create several VM pairs to test. Because of the limites of quotas, we now create 2,5,10 VM pairs. Change-Id: I096250c547cd598c7c632a884b31d81c2be125f8 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-19bugfix: correct typo in Dockerfileyuyang1-1/+1
JIRA: BOTTLENECK-108 Typo in Dockerfile that causing $BRANCH var not effective Change-Id: I1f156e5b554ebd6f9a1b2d689b1c23c783a4e8af Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-15bugfix:enabling the repo branch choosingyuyang1-1/+1
JIRA: BOTTLENECK-108 Enabling the git repo branch choosing in dockerfile for Bottlenecks. Change-Id: Id03c39e59cb1b38d198ec37f613c9660bcf335cd Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-15bugfix:fix the version support problem of setuptoolsyuyang1-1/+1
JIRA: BOTTLENECK-108 Due the version problem, docker build job fails each time. Change-Id: I179ec56295f344fbd14ffeb8650c8d4625507379 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-12-06docker-compose yardstick file changeliyin2-13/+1
JIRA: BOTTLENECK-117 This patch change the docker-compose file. because of yardstick dockerfile. so bottlenecks also need to change the style of docker-compose. Change-Id: Idb82120c5b00ef8595a993886fa3fc0d6b6c4c32 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01bug fix patchliyin1-2/+2
JIRA: BOTTLENECK-113 this patch fix a problem that docker can't run because of lacking pyroute2. the next is docker-compose file have some error that yardstick can't pull inluxdb container. the next is fix some bug incode. Change-Id: I238b69b456d2810e84bae5c134e6b05a8fc5da63 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01docker-compose dockerfile changeliyin2-2/+2
JIRA: BOTTLENECK-112 this patch change the yardstick and bottlenecks dockerfile from stable to latest Change-Id: I095957dc6aba25d76bb8e60be97c171c4a59ce57 Signed-off-by: liyin <liyin11@huawei.com>
2016-12-01Add new CI docker build supportyuyang1-0/+3
JIRA: BOTTLENECK-108 Releng has updated the parameter input method. So the Docker file need BRANCH argument to specify the docker image source. Change-Id: I6c8eee3aaf7729964f0b810c209ccdcf9b75a233 Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
2016-11-28POSCA docker-compose adaptingliyin6-0/+145
JIRA: BOTTLENECK-105 there are files which be need to support docker-compose. some files are docker configure file. some files are used to build docker image. kibana docker is bottlenecks project dashboard. elasticsearch docker is bottlenecks project database. influxdb docker is yardstick project database. yardstick docker is used to run test case. Change-Id: I7f0927c940a400f9f66ac77174f06236a1f4f265 Signed-off-by: liyin <liyin11@huawei.com>
2016-09-29Propose common directory for Docker related filesjose.lausuch1-0/+49
Proposal 3 from this wiki: https://wiki.opnfv.org/display/INF/Docker+handling+in+CI#DockerhandlinginCI-3Dockerfilelocation Do not merge before this: https://gerrit.opnfv.org/gerrit/#/c/22565/ JIRA: RELENG-148 Change-Id: I07e1418ae06c59e6c4d495c8c87d28addbb98d03 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>