aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2015-12-22Merge "Use repos_dir env variable in all Functest scripts"jose.lausuch1-5/+5
2015-12-22Move check_os call to prepare_env.shjose.lausuch2-8/+7
Change-Id: Ifcc9ef24975f83f6c0ee021c76cc056f383f3f5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Use repos_dir env variable in all Functest scriptsjose.lausuch1-5/+5
JIRA: FUNCTEST-90 This way, we remove the 'functest repo' input parameter on the python scripts call and we make it simpler using the available repos_dir env variable which points to /home/opnfv/repos Change-Id: I7d74bf1bc8d89f8f14397fcb9dafc22ee1482f84 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-21Script to check the basic OpenStack servicesjose.lausuch1-0/+7
JIRA: FUNCTEST-118 Change-Id: I92372bc098c48e406e69a91c4d754e8c1e4388a6 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Fix the call to the ODL test.jose.lausuch2-16/+13
TODO: specific parameters for each installer Change-Id: I5c0a88261c70319f7bf89c2ff28d55f740e443d2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-17Add path to credentials env variable in Docker filejose.lausuch1-2/+2
To make faster troubleshooting Change-Id: I5ae8fa7db3a7d61f8dbc56b33cb5248f0b5e5daf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-16Add openstack cleanup after running the testsjose.lausuch1-0/+7
JIRA: FUNCTEST-76 Change-Id: I1ab6366582c74f4eb1d3453cef155b85c757aa1b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-15Merge "Add template for BGPVPN test case in run_tests.sh"jose.lausuch1-0/+12
2015-12-14Add template for BGPVPN test case in run_tests.shjose.lausuch1-0/+12
JIRA: FUNCTEST-99 Change-Id: I2c7da6b7e79906de1eb43804b8441821e16500cc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14Add a flag to push the results to the DB optionalyjose.lausuch1-4/+13
By default, it will NOT push, only if specified by -r The parameter must be taken from a Jenkins job set to TRUE JIRA: FUNCTEST-84 Change-Id: Iee3b293e90b052b88de2d4f1d337f5ec5e3b3941 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14Adding BGPVPN repository to the Docker image and scriptsjose.lausuch3-0/+18
JIRA: FUNCTEST-99 Change-Id: Iaf97241291ba233e1c9597b2274adad81e3ffb01 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-11Run tempest from docker using run_tempestMorgan Richomme1-3/+2
Change-Id: I8eabcba8de2319fd7e5f24f057a8a752bfce3cd7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-11Remove gsutil python module in the docker imagejose.lausuch1-2/+1
It is not used since it will be used only in the jumphost to push things to the artifact repository Change-Id: Idabc6e68b44ee87310a3875b834fc92508a1d511 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-10Add gsutil python module in the docker imagejose.lausuch1-0/+1
Change-Id: Ic92ff6cfd14a6a7d35cc3fae8aff54b90761a32a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-10Add WORKDIR in Dockerfilejose.lausuch1-0/+2
Change-Id: I5c063e1448184382ff2faefb7e34482c63482021 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-08Add ssh 700 rights to the .ssh directory in the docker imagejose.lausuch1-0/+2
Change-Id: Id941c48134c64e8985ec342f60eb82d6bf276ba1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-04Add support of joid, apex and compass when running odlMorgan Richomme1-0/+9
probably to be refactored soon but used to test jenkins jobs Change-Id: Iacc78f3cc2655ce2a0baf2fa0f256f5f07d1c7bd JIRA: FUNCTEST-83
2015-11-30Add cinder python client library to Docker containerjose.lausuch1-0/+1
JIRA: FUNCTEST-73 Change-Id: Id6e0a71f913855b37e07176d334da5b1f63c86bc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-25Don't check for env variables if openstack credentials are givenjose.lausuch1-12/+17
JIRA: FUNCTEST-100 Change-Id: Ibef44cf00ec2a2b0ff5bfe21465918ff86bfc589 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-25use joid rather jujuMorgan Richomme1-1/+1
to be cinsistent with other installers JIRA: FUNCTEST-86 Change-Id: I1b15d32736896ddbaee265fd6366be1587cbebab Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-11-18[functest] modify functest prepare scripts to adapt compassmeimei1-2/+3
JIRA: COMPASS-157 Change-Id: I81f1f41ff7a10e9bcea1cb46b9dc2e2f8e169bae Signed-off-by: meimei <meimei@huawei.com>
2015-11-05Add possibility to give Openstack creds file to the docker containerjose.lausuch1-8/+10
If the file is given through a docker volume, it will not use fetch_os_creds.sh, it will source it directly. Usage: Add the following to the docker command line: -v $(pwd)/<your_local_creds_file>:/home/opnfv/functest/conf/openstack.creds Change-Id: I24c20378c940aaa1d9f93d5e6c57b3243b50aab5 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-30Change default order of testsjose.lausuch1-1/+1
Change-Id: I342b999f4a81e5568e01f6ebd7456dcf7048218e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-29Merge "Fix so that given config_functest.yaml is copied to functest repo dir"Morgan Richomme1-0/+13
2015-10-29Fix so that given config_functest.yaml is copied to functest repo dirjose.lausuch1-0/+13
Change-Id: I985d7d7c1d1cba17e5ebc76514a82a15f682b26f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-29Add vIMS test-case in run_tests scriptboucherv1-5/+9
JIRA: FUNCTEST-38 Change-Id: I3e4b640f094286a9b4b8debbbae4700c12c0fdc6 Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-29Small correction of the --test flag in run_test.shjose.lausuch1-1/+1
Add the option to allow -t|--test|--tests Change-Id: I2ad63f2b23235fe28596fef908a1c9d6991201a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28Reversed: Added reset to rally commit ID in prepare_env.shjose.lausuch1-4/+3
I did not realized it was correct, however there was a small bug. The rally repo git reset command is done after the if-else clause. Change-Id: Ia6f61ae3a3d09a5148cfbea7c47cf317fd949c11 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28Added reset to rally commit ID in prepare_env.shjose.lausuch1-0/+8
Change-Id: I0d662409bfde353c8efd2fa3fd8cacf9c849428b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28PGP network problems Fixjose.lausuch1-3/+2
Change-Id: Ib4ab60ef8305f74eeb63454461d7587751598680 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-28vIMS test integration and move "push_results_to_db" methodboucherv3-0/+29
Move "push_results_to_db" method to functest_util Updated some files for clearwater vIMS functional testing Change-Id: I21628b063470963e4e4425a0f89fefa33494e40d Signed-off-by: boucherv <valentin.boucher@orange.com>
2015-10-27Merge "Move git clone of ODL tests repo to Dockefile"jose.lausuch1-1/+2
2015-10-26Merge "Include cirros image in the docker container"Morgan Richomme1-0/+2
2015-10-23Move git clone of ODL tests repo to Dockefilejose.lausuch1-0/+1
JIRA: FUNCTEST-80 Change-Id: I39a0928f7a8c74d1cbb6db47b30e2cf2f9ae4ca1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-22Include cirros image in the docker containerjose.lausuch1-0/+2
JIRA: FUNCTEST-73 Change-Id: Ie2ddaac3dbdbdad09832094fe31264abe4ba8118 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-22Add possibility to run specific set of testsjose.lausuch2-80/+166
JIRA: FUNCTEST-29 Change-Id: I20f1556911866cc7922cff9923ef7d01a95355ad Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-21Merge "Refactor Functest docker container"jose.lausuch5-289/+292
2015-10-21Refactor Functest docker containerjose.lausuch5-289/+292
1. start.sh has been splitted into 2 scripts: - prepare_env.sh : installs functest environment without running any test - run_tests.sh : run the Functest tests 2. Add possibility to give the config_functest.yaml in the docker run command. So far, it has always been used the default in the repo. 3. Possible to give the repos the branch and commit ID to be checkout/reset to. This allows versioning control for the repos 4. Added -x permissions to shell scripts JIRA: FUNCTEST-29 Change-Id: If4b779f5baa37531603955db3681e24a5e08251a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-21Remove start.sh in the dockerfile since it is splitted by 2 scriptsjose.lausuch1-3/+7
See https://gerrit.opnfv.org/gerrit/#/c/2685/ for details: The files to be executed will be: prepare_env.sh run_tests.sh JIRA: FUNCTEST-29 Change-Id: Idca630ff6bc2716e47cca66450dba7b8cb6d5dcf Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-19Merge "ODL test suite requirements.pip moved to general requirements"Morgan Richomme1-1/+5
2015-10-19ODL test suite requirements.pip moved to general requirementsjose.lausuch1-1/+5
create_env script removed. Modules already installed in the docker image Change-Id: Ied166532b47f0f3b6189251776c984df9cf3570d Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-08Create demo.sh cloned from start.sh to run Functest demosjose.lausuch1-0/+143
without executing the full Rally bench suites. Change-Id: I309fde7bb8ffea6bdb80164059ab40275ca7a8ff Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-08Add small checks to avoid possible 'No such file or directory'jose.lausuch1-4/+8
errors in the Docker automation procedure JIRA: FUNCTEST-29 Change-Id: Ib8629d9c0f64a046cdbec27cb1bdced3e49c72bb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-07Add 2 libraries for Rally to the Functest Dockerfilejose.lausuch1-0/+2
JIRA: FUNCTEST-29 Change-Id: Ie610d982c79bb115edd0d33c75ab3de27d607422 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-07Dockerfile for Functestjose.lausuch3-0/+201
Includes also: - script to trigger Functest automatically within the container - common requirements file to install python modules - added new parameters in the config_functest.yaml - other small adjustements JIRA: FUNCTEST-29 Change-Id: I230631e43e5f7e14938b35903ecec1b17db0f88a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>