Some improvements and changed from Docker container to Pod
- Improved Sanity tests (timeouts, assertion details)
- Changed the YAML of the toolset pod to run the tests
from instead of the Docker container approach
- Deleted some obsolete scripts from the MOS testing
Related-PROD: K0RQA-15
Change-Id: I9d6482324c75db8e667c6d17ab948bdba4a05bcc
diff --git a/k8s/workspace/run-k0rdent-sanity-for-child.sh b/k8s/workspace/run-k0rdent-sanity-for-child.sh
index becfdf9..b163521 100644
--- a/k8s/workspace/run-k0rdent-sanity-for-child.sh
+++ b/k8s/workspace/run-k0rdent-sanity-for-child.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+if [ -z "$MY_PROJFOLDER" ]; then
+ echo "The /artifacts/env.sh script is not sourced. Please do 'source env.sh' before running the Sanity tests"
+ exit 1
+fi
+
. "$(dirname "$0")/functions.sh"
cd $MY_PROJFOLDER/tmp
source $MY_PROJFOLDER/env.sh
@@ -73,4 +78,6 @@
cp $sanity_reports_dir/sanity-checks-results-$TARGET_CLD.html ${fname}
update_latest_report_to "${fname}"
+echo "The test report can be found at ${fname}"
+
deactivate
\ No newline at end of file