5 Usage: run.sh Command [-y] [-?]
10 Skips creation or retrieve image process.
12 Skips installation service process.
14 Test suite to use in testing mode.
16 Test case to use in testing mode.
18 all_in_one Deploy in all-in-one mode.
19 dns|mr|sdc|aai|mso|robot|vid|sdnc|portal|dcae|policy|appc|vfc|vnfsdk|multicloud|ccsdk|vvp|openstack|msb|oom Deploy chosen service.
20 testing Deploy in testing mode.
30 while getopts "ygis:c:" OPTION "${@:2}"; do
36 export SKIP_GET_IMAGES="True"
39 export SKIP_INSTALL="True"
42 if [ "$COMMAND" != "testing" ] ; then
43 echo "Test suite should only be specified in testing mode."
44 echo "./tools/run.sh -? for usage."
50 if [ "$COMMAND" != "testing" ] ; then
51 echo "Test case should only be specified in testing mode."
52 echo "./tools/run.sh -? for usage."
66 export DEPLOY_MODE='all-in-one'
68 "dns" | "mr" | "sdc" | "aai" | "mso" | "robot" | "vid" | "sdnc" | "portal" | "dcae" | "policy" | "appc" | "vfc" | "vnfsdk"| "multicloud" | "ccsdk" | "vvp" | "openstack" | "msb" | "oom" )
69 export DEPLOY_MODE='individual'
72 export DEPLOY_MODE='testing'
73 if [ "$run" == false ] ; then
75 echo "Warning: This test script will delete the contents of ../opt/ and ~/.m2."
76 read -p "Would you like to continue? [y]es/[n]o: " yn
89 export TEST_SUITE=$test_suite
90 export TEST_CASE=$test_case
99 vagrant destroy -f $COMMAND