summaryrefslogtreecommitdiffstats
path: root/docker/prepare_env.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-02-02Use generate_defaults instead of os_defaults fixed parametersjose.lausuch1-1/+7
JIRA: FUNCTEST-131 Running generate_defaults.py in prepare_env.sh (before running any test) will create a file with the CURRENT OpenStack objects in the deployment. After each test, the cleanup script will take into consideration those parameters instead of the specified in os_defaults.yaml Keep os_defaults.yaml for the moment Change-Id: I5f38fef47f0a6d79407d1d582b1e7d3713503e07 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 47635924e6def36be3c44a047d91018e47a439eb)
2016-01-21Temp solution to workaround the problem with pip when installing tempestjose.lausuch1-0/+5
Change-Id: If9c44fedd3e21a77d7ba434f794db24e16fc4ff1 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit b9ef32116182fbe7f5f0d75422fa440c78c962fc)
2016-01-19Add mention to apache 2 license in Functest files and remove unused filesMorgan Richomme1-0/+19
Change-Id: Iaf67792ad61351d0573c8d92e5d78f5f7a6e86ff Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit cc27777f84ea018cc2c0487a4fc3ff0c3b6d358f)
2016-01-15Added more consistency when getting the config_functest.yamljose.lausuch1-10/+0
Change-Id: Ie48e16adee25f7a00d6b9d4a45e804a066064eee Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 6a865b115f7533d70ca622172665c0da6ddac89d)
2016-01-14Change functest branch to stable/brahmaputrajose.lausuch1-4/+0
JIRA: FUNCTEST-123 Although this is master, the idea is to run the tests using brahmaputra branch. After brahmaputra, we will change this back to master. Change-Id: Ib67f090724ce733b05c37a69a746b879b1143776 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 48af5a794b5bbe9d6cb84f02c1e314dd83adf912)
2016-01-13Place config_functest.yaml outside the functest repojose.lausuch1-13/+0
If config_functest.yaml is given it will be placed in: /home/opnfv/functest/conf/config_functest.yaml If not given: copy default from repo to that location Change-Id: I816bf5ccf8e0a5b8ebde2a0ab924657533f49127 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 00b51ffe114702ce207aa7ba2e40f01984c0c57c)
2016-01-13Remove references to foreman installer.jose.lausuch1-1/+1
Foreman is not longer supported, the only INSTALLER_TYPE values are: fuel|apex|joid|compass Change-Id: I3c86335d16cdcab4796892a769189fcc4e7457db Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 0f9250f654be1e2ced4b6d640ec13e7e78db39ee)
2016-01-13Change MTU size in the containerjose.lausuch1-0/+2
Change-Id: I605e8e59f95b243710fdb514ef4460fbd40d590f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 3c9dcd85e3c40a66d58c0a0c0c4d61d87144ce4d)
2016-01-12Prepare Promise integration in FunctestMorgan Richomme1-0/+13
JIRA: FUNCTEST-68 Change-Id: I9dd3e49cf7cbcec932fb08af359c6e4784818155 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 3d064f457576fe87cce5813af7d33cf45e898e3d)
2016-01-11Prepare onos integration in FunctestMorgan Richomme1-0/+14
JIRA: FUNCTEST-50 Change-Id: I50c7db5a05dd5aa78321ba77fab3902232ea4f36 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com> (cherry picked from commit 2140461198cdb8dea2f60a66a0ddf90bb1ef54da)
2015-12-22Fix bug 'unrecognized arguments: start'jose.lausuch1-1/+1
Change-Id: Ie29f1cdcfc84a0f3c2e2cf9e386d3ca0b36c45c3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-22Move check_os call to prepare_env.shjose.lausuch1-0/+7
Change-Id: Ifcc9ef24975f83f6c0ee021c76cc056f383f3f5e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-18Fix the call to the ODL test.jose.lausuch1-0/+1
TODO: specific parameters for each installer Change-Id: I5c0a88261c70319f7bf89c2ff28d55f740e443d2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-14Adding BGPVPN repository to the Docker image and scriptsjose.lausuch1-0/+12
JIRA: FUNCTEST-99 Change-Id: Iaf97241291ba233e1c9597b2274adad81e3ffb01 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-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-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-28vIMS test integration and move "push_results_to_db" methodboucherv1-0/+14
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-22Add possibility to run specific set of testsjose.lausuch1-9/+39
JIRA: FUNCTEST-29 Change-Id: I20f1556911866cc7922cff9923ef7d01a95355ad Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-10-21Refactor Functest docker containerjose.lausuch1-0/+116
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>