Adapt jobs to integrate yardstick
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-test.sh
index d12c943bd769ada519a5531841325009fae5fa43..2b85f0ddbd81f93dd55de6d73d0a3d88657fe678 100644 (file)
@@ -26,14 +26,10 @@ set -o pipefail
 # executed when the job that uses this script gets triggered due to Gerrit change.
 #
 # Logic in this script should be kept at minimum and the changes should be pushed into
-# the cloud infra engine and/or test repo.
+# the cloud infra test test.sh script.
 
-# The verify job will verify changes coming to other repositories as well such as
-# infra/swconfig so it needs to be handled here in order to ensure $WORKSPACE contains
-# the actual engine repo clone. This will be added later on.
-
-# we currently only do Hello World here and this will be adapted to do test instead
+# execute cloud engine test.sh script with arguments
 cd $WORKSPACE
-echo "Hello World!"
+./test/test.sh -c -f $TEST_FW -t $TEST_SUITE -s $DEPLOY_SCENARIO
 
 # vim: set ts=2 sw=2 expandtab: