summaryrefslogtreecommitdiffstats
path: root/docker/prepare_env.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-04-19Quote missingTim Rozet1-1/+1
The missing " was causing some problems, like the REPOS_DIR variable missing Previous: Fixes unset REPOS_DIR var REPOS_DIR never gets set in the script, and it looks like it should be /home/opnfv/repos according to what is in the container. This patch defaults it to that location. Change-Id: I739f7df52f4a0f3506fd77d72dfb09a4658f06c0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-18Remove all the repo handling in prepare_envjose.lausuch1-134/+1
JIRA: FUNCTEST-203 Since almost all the repos always pull from master and latest, this is about saving some time and to avoid needing internet to pull or checkout the repos. The needed repos content has to be present in the docker image. Change-Id: Ia6e1ed2b5d5b2aff8661a38eb64a081cc8016019 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-03-18Fix support for CACERT and set OS_INSECURE=truejose.lausuch1-3/+12
JIRA: FUNCTEST-145 Change-Id: If8fce037117d7c7d16d08a558d0675cbfe5f9836 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-22Add git support for Doctor repo in config_functest.yamljose.lausuch1-0/+12
Change-Id: I10ad0dc6cd6697a2a93f5e11edcdd69f70f86c5f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-01Use 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>
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>
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>
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>
2016-01-13Change 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>
2016-01-13Merge "Place config_functest.yaml outside the functest repo"Morgan Richomme1-13/+0
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>
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>
2016-01-12Change MTU size in the containerjose.lausuch1-0/+2
Change-Id: I605e8e59f95b243710fdb514ef4460fbd40d590f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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>
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>
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>