summaryrefslogtreecommitdiffstats
path: root/ui-ci/sdc-ui-tests/startup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ui-ci/sdc-ui-tests/startup.sh')
-rw-r--r--ui-ci/sdc-ui-tests/startup.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/ui-ci/sdc-ui-tests/startup.sh b/ui-ci/sdc-ui-tests/startup.sh
deleted file mode 100644
index 6455c17e58..0000000000
--- a/ui-ci/sdc-ui-tests/startup.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-/dockerstartup/vnc_startup.sh &
-
-# prepare env for HTTPS if used
-
-is_https=$(cat /root/chef-solo/environments/${ENVNAME}.json | \
- jq -cr '.default_attributes.disableHttp' | \
- tr '[:upper:]' '[:lower:]')
-
-if [ "$is_https" = true ] ; then
- # setup /etc/hosts
- SDC_FE_IP=$(cat /root/chef-solo/environments/${ENVNAME}.json | \
- jq -cr '.default_attributes.Nodes.FE')
- SDC_FE_HOSTNAME=$(cat /root/chef-solo/environments/${ENVNAME}.json | \
- jq -cr '.override_attributes.FE.domain_name')
- if ! grep -q "^[[:space:]]*${SDC_FE_IP}[[:space:]]" ; then
- echo "${SDC_FE_IP}" "${SDC_FE_HOSTNAME}" >> /etc/hosts
- fi
-fi
-
-# run tests
-
-cd /root/chef-solo
-chef-solo -c solo.rb -E ${ENVNAME}
-
-rc=$?
-
-if [[ $rc != 0 ]]; then
- echo "Startup failed !!!"
- exit $rc
-else
-# Note that the output below is monitored in CSIT by
-# sdc/sdc-os-chef/scripts/docker_run.sh
-# If this text is changed, docker_run.sh check for sdc-ui-tests docker
-# startup must be adjusted accordingly!
- echo "Startup completed successfully"
-fi