summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/exec_test.sh13
-rw-r--r--ci/testcases.yaml8
2 files changed, 19 insertions, 2 deletions
diff --git a/ci/exec_test.sh b/ci/exec_test.sh
index 0bb8389d5..8c87160ea 100755
--- a/ci/exec_test.sh
+++ b/ci/exec_test.sh
@@ -83,7 +83,10 @@ function run_test(){
${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/start_tests.sh
# push results to the DB in case of CI
- if [[ -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" ]]; then
+ if [[ "$report" == "-r" &&
+ -n "$DEPLOY_SCENARIO" && "$DEPLOY_SCENARIO" != "none" &&
+ -n "$INSTALLER_TYPE" && "$INSTALLER_TYPE" != "none" ]] &&
+ env | grep NODE_NAME > /dev/null; then
odl_logs="/home/opnfv/functest/results/odl/logs/2"
odl_path="${FUNCTEST_REPO_DIR}/testcases/Controllers/ODL/"
node_name=$(env | grep NODE_NAME | cut -f2 -d'=')
@@ -126,7 +129,13 @@ function run_test(){
python ${FUNCTEST_REPO_DIR}/testcases/features/doctor.py
;;
"ovno")
- ${repos_dir}/ovno/Testcases/RunTests.sh
+ # suite under rewritting for colorado
+ # no need to run anything until refactoring done
+ # ${repos_dir}/ovno/Testcases/RunTests.sh
+ ;;
+ "security_scan")
+ # TODO
+ # call you script here....
;;
*)
echo "The test case '${test_name}' does not exist."
diff --git a/ci/testcases.yaml b/ci/testcases.yaml
index 962d963b5..4cbc00add 100644
--- a/ci/testcases.yaml
+++ b/ci/testcases.yaml
@@ -132,6 +132,14 @@ tiers:
installer: '(fuel)|(apex)'
scenario: 'bgpvpn'
+ -
+ name: security_scan
+ description: >-
+ Simple security Scan
+ dependencies:
+ installer: 'apex'
+ scenario: ''
+
-
name: openstack
order: 4