summaryrefslogtreecommitdiffstats
path: root/ui-ci/sdc-ui-tests/startup.sh
blob: 907898066639302b9a3e719c7167cef23feaab2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

/dockerstartup/vnc_startup.sh &

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