Add parameter of external network for yardstick testing
[releng.git] / jjb / yardstick / yardstick-ci-jobs.yml
index 470bf68..484f1a2 100644 (file)
                 -e "INSTALLER_TYPE=${INSTALLER_TYPE}" \
                 -e "INSTALLER_IP=${INSTALLER_IP}" \
                 -e "POD_NAME=${NODE_NAME}" \
-                -e "EXTERNAL_NETWORK=net04_ext" \
+                -e "EXTERNAL_NETWORK=${EXTERNAL_NETWORK}" \
                 opnfv/yardstick \
-                run_tests.sh \
+                run_tests.sh $YARDSTICK_DB_BACKEND \
                 $YARDSTICK_SUITE_NAME
 
             echo "Yardstick: done!"
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'none'
+            default: ''
             description: 'Arguments to use in order to choose the backend DB'
 
 - parameter:
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'none'
+            default: ''
             description: 'Arguments to use in order to choose the backend DB'
 
 - parameter:
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'db_args'
+            default: '-r 213.77.62.197'
             description: 'Arguments to use in order to choose the backend DB'
 
 - parameter:
     parameters:
         - string:
             name: YARDSTICK_DB_BACKEND
-            default: 'none'
+            default: ''
             description: 'Arguments to use in order to choose the backend DB'