summaryrefslogtreecommitdiffstats
path: root/test-apis-ci/sdc-api-tests/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test-apis-ci/sdc-api-tests/startup.sh')
-rw-r--r--test-apis-ci/sdc-api-tests/startup.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-apis-ci/sdc-api-tests/startup.sh b/test-apis-ci/sdc-api-tests/startup.sh
new file mode 100644
index 0000000000..349741c353
--- /dev/null
+++ b/test-apis-ci/sdc-api-tests/startup.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+cd /root/chef-solo
+chef-solo -c solo.rb -E ${ENVNAME}
+
+rc=$?
+
+if [[ $rc != 0 ]]; then
+ echo "Sanity failed !!!"
+ exit $rc
+else
+ echo "completed successfully :-)"
+ exit 0
+fi \ No newline at end of file